-
- Downloads
[FIX] mrp: confirm production order at the end
This commit removes the action_confirm from the run_manufacture to do it
only after all the orderpoints have been processed.
In case a production, created in run_manufacture, triggers procurements
for one of its component. And those procurements have the same
parameters than another one still not run because after the manufacture
one in the queue. This new procurement will replenish its quantity plus
the other procurement's one.
That means too much quantity will be replenished.
closes odoo/odoo#76549
Signed-off-by:
Arnold Moyaux <amoyaux@users.noreply.github.com>
Showing
- addons/mrp/models/stock_orderpoint.py 10 additions, 0 deletionsaddons/mrp/models/stock_orderpoint.py
- addons/mrp/models/stock_rule.py 1 addition, 1 deletionaddons/mrp/models/stock_rule.py
- addons/purchase_mrp/tests/test_purchase_mrp_flow.py 76 additions, 0 deletionsaddons/purchase_mrp/tests/test_purchase_mrp_flow.py
Loading
Please register or sign in to comment