Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REM] mrp: remove unused fields + Dead code #54996

Closed

Conversation

ryv-odoo
Copy link
Contributor

@ryv-odoo ryv-odoo commented Jul 27, 2020

  • Refactor order_finished_lot_ids compute, to be linked to the lot_producing_id
    the the related production (less boiler plate). We can't remove it because
    it is used in mrp_subcontracting, and keep the Many2Many, for the tag widget.
    Remove the second field compute by this method, finished_lots_exist (never used).
  • Remove unused field needs_lots (also it is a duplication
    with has_tracking info) from stock.move (mrp)
  • Remove unused field done_move from stock.move.line (mrp).
  • Remove unused methods _strict_consumption_check and _update_raw_move.
  • Remove unused variables.

odoo/upgrade#1594

@C3POdoo C3POdoo added the RD research & development, internal work label Jul 27, 2020
@ryv-odoo ryv-odoo force-pushed the master-mrp-v14-remove-dead-code-ryv branch from b04e3cb to 7fb96b6 Compare July 30, 2020 15:47
@ryv-odoo ryv-odoo force-pushed the master-mrp-v14-remove-dead-code-ryv branch from 7fb96b6 to 4a99569 Compare August 11, 2020 07:46
@ryv-odoo ryv-odoo force-pushed the master-mrp-v14-remove-dead-code-ryv branch from 4a99569 to 868c086 Compare August 11, 2020 07:50
@robodoo robodoo added ☑ ci/upgrade_odoo CI 🤖 Robodoo has seen passing statuses and removed ☐ ci/runbot labels Aug 19, 2020
- Refactor `order_finished_lot_ids` compute, to be linked to the `lot_producing_id`
the the related production (less boiler plate). We can't remove it because
it is used in mrp_subcontracting, and keep the Many2Many, for the tag widget.
Remove the second field compute by this method, `finished_lots_exist` (never used).
- Remove unused field `needs_lots` (also it is a duplication
with `has_tracking` info) from `stock.move` (mrp)
- Remove unused field `done_move` from `stock.move.line` (mrp).
- Remove unused methods `_strict_consumption_check` and `_update_raw_move`.
- Remove unused variables.

odoo/upgrade#1594
@ryv-odoo ryv-odoo force-pushed the master-mrp-v14-remove-dead-code-ryv branch from b324bdc to a28c854 Compare August 20, 2020 07:41
@robodoo robodoo added ☐ ci/runbot CI 🤖 Robodoo has seen passing statuses and removed CI 🤖 Robodoo has seen passing statuses ☑ ci/runbot labels Aug 20, 2020
@amoyaux
Copy link
Contributor

amoyaux commented Aug 20, 2020

robodoo r+

robodoo pushed a commit that referenced this pull request Aug 20, 2020
- Refactor `order_finished_lot_ids` compute, to be linked to the `lot_producing_id`
the the related production (less boiler plate). We can't remove it because
it is used in mrp_subcontracting, and keep the Many2Many, for the tag widget.
Remove the second field compute by this method, `finished_lots_exist` (never used).
- Remove unused field `needs_lots` (also it is a duplication
with `has_tracking` info) from `stock.move` (mrp)
- Remove unused field `done_move` from `stock.move.line` (mrp).
- Remove unused methods `_strict_consumption_check` and `_update_raw_move`.
- Remove unused variables.

odoo/upgrade#1594

closes #54996

Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
@robodoo robodoo closed this Aug 20, 2020
@robodoo robodoo temporarily deployed to merge August 20, 2020 10:53 Inactive
@fw-bot fw-bot deleted the master-mrp-v14-remove-dead-code-ryv branch September 3, 2020 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI 🤖 Robodoo has seen passing statuses RD research & development, internal work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants