-
- Downloads
[FIX] mrp: delay_alert and manufacturing order
When a manufacturing order was created through a stock rule, the `delay_alert`
feature was broken. Indeed, we should store on the order the `delay_alert` value
similar to what we do with the `propagate_date`, `propagate_date_minimum_delta`
and `propagate_cancel` fields.
We thus add the missing field and add the values in the multiple prepare methods.
We also the missing values for `propagate_date_minimum_delta` and `propagate_date`
in `_get_move_raw_values`.
task-2154781
closes odoo/odoo#42032
Signed-off-by:
Simon Lejeune (sle) <sle@openerp.com>
Showing
- addons/mrp/models/mrp_production.py 5 additions, 0 deletionsaddons/mrp/models/mrp_production.py
- addons/mrp/models/stock_move.py 1 addition, 1 deletionaddons/mrp/models/stock_move.py
- addons/mrp/models/stock_rule.py 1 addition, 0 deletionsaddons/mrp/models/stock_rule.py
- addons/mrp/tests/test_procurement.py 58 additions, 0 deletionsaddons/mrp/tests/test_procurement.py
Loading
Please register or sign in to comment