-
- Downloads
[FIX] mrp, mrp_byproduct: updating the quantity of production orders fixes
When updating quantity, it should take use a similar method as for generating the moves, but with the quantity already produced (and posted) deduced. The parameters for these method needed to be changed. When all the moves are posted, we should create the necessary extra moves. If the quantity is put back to the quantity posted, it might also need to delete moves. In byproduct, it should take into account the subproduct factor. When the quantity produced on the work orders has reached the quantity to do, it should not allow anymore to use the "Done" button on work orders, but rather use the Finish button instead. With the Update button on the manufacturing order it is possible to do more.
Showing
- addons/mrp/models/mrp_bom.py 4 additions, 0 deletionsaddons/mrp/models/mrp_bom.py
- addons/mrp/models/mrp_production.py 12 additions, 7 deletionsaddons/mrp/models/mrp_production.py
- addons/mrp/views/mrp_workorder_views.xml 1 addition, 1 deletionaddons/mrp/views/mrp_workorder_views.xml
- addons/mrp/wizard/change_production_qty.py 27 additions, 18 deletionsaddons/mrp/wizard/change_production_qty.py
- addons/mrp_byproduct/models/mrp_production.py 26 additions, 24 deletionsaddons/mrp_byproduct/models/mrp_production.py
- addons/mrp_byproduct/models/stock_move.py 1 addition, 1 deletionaddons/mrp_byproduct/models/stock_move.py
- addons/mrp_byproduct/wizard/change_production_qty.py 11 additions, 10 deletionsaddons/mrp_byproduct/wizard/change_production_qty.py
- addons/stock/models/stock_move.py 1 addition, 0 deletionsaddons/stock/models/stock_move.py
Loading
Please register or sign in to comment