I repost this since original issue was closed and I cannot reopen it, and the issue is not fixed.
Steps to reproduce
1.- Install mrp_byproducts checking option "Produce several products from one manufacturing order" in Settings -> Configuration -> Manufacturing
2.- Create a BoM for a "Product A" that will consume "Product B" and will also produce "Product C" as subproduct.
3.- Launch a Manufacturing Order for "Product A"
Current behaviour
mrp_final_product_lot only creates one lot number in stock_production_lot, only for "Product A", but creates quants for both "Product A" and "Product C" linked to the same lot_id of "Product A".
Expected behaviour
mrp_final_product_lot should create two lots, one for Product A" and one for "Product C", since both are final products of the order. It also should create the quant of "Product A" linked to the lot_id of "Product A" and the quant of "Product C" linked to the lot_id of "Product C".
Aditional information:
If you want to see the scoop of the problem that this behaviour produces, just make a manufacturing order as described, and once produced and with lot created (say lot AAAA) try to make a picking of product C with lot AAAA. In the transfer details form you won't be able to select the lot AAAA because that lot was only created for Product A, and the drop-down lot list can't show it since it doesn't exists for Product C.
Good day
I repost this since original issue was closed and I cannot reopen it, and the issue is not fixed.
Steps to reproduce
1.- Install mrp_byproducts checking option "Produce several products from one manufacturing order" in Settings -> Configuration -> Manufacturing 2.- Create a BoM for a "Product A" that will consume "Product B" and will also produce "Product C" as subproduct. 3.- Launch a Manufacturing Order for "Product A"
Current behaviour
mrp_final_product_lot only creates one lot number in stock_production_lot, only for "Product A", but creates quants for both "Product A" and "Product C" linked to the same lot_id of "Product A".
Expected behaviour
mrp_final_product_lot should create two lots, one for Product A" and one for "Product C", since both are final products of the order. It also should create the quant of "Product A" linked to the lot_id of "Product A" and the quant of "Product C" linked to the lot_id of "Product C".
Aditional information:
If you want to see the scoop of the problem that this behaviour produces, just make a manufacturing order as described, and once produced and with lot created (say lot AAAA) try to make a picking of product C with lot AAAA. In the transfer details form you won't be able to select the lot AAAA because that lot was only created for Product A, and the drop-down lot list can't show it since it doesn't exists for Product C.
Thank you