-
- Downloads
[IMP] mrp : Crash when products of type service in BoM
Before Commit:
If a product type service in a bom, create a manufacturing order
of product's bom they returns empty recordset because if product
type is not storable and consumable is returns empty object of
stock move else they returns the data dictionary.
After Commit:
If product type service in a bom, create a manufacturing order
we returns the empty dictionary rather than empty object of stock move
Add a testcases
1) to check manufacturing order is generated of product
type of service in bom or not.
2) to check manufacturing order is generate from sale
order of product type sevice in bom or not.
Task ID - 1981790
closes odoo/odoo#33337
Signed-off-by:
Simon Lejeune (sle) <sle@openerp.com>
Showing
- addons/mrp/models/mrp_production.py 3 additions, 4 deletionsaddons/mrp/models/mrp_production.py
- addons/mrp/tests/test_order.py 33 additions, 0 deletionsaddons/mrp/tests/test_order.py
- addons/mrp/wizard/change_production_qty.py 3 additions, 0 deletionsaddons/mrp/wizard/change_production_qty.py
- addons/sale_mrp/tests/test_sale_mrp_flow.py 45 additions, 0 deletionsaddons/sale_mrp/tests/test_sale_mrp_flow.py
Loading
Please register or sign in to comment