[FIX] mrp: link by-product moves to the BoM
Before this commit, when the MO's BoM is updated, the MO's by-products are created. These moves have a field, `byproduct_id`, who is supposed to link the move to the BoM's by-product's line, but this field is let empty when the move is created. It's because the field is missing in the MO's form view. This commit had it (invisible) so moves' `byproduct_id` will be correctly filled. closes odoo/odoo#110227 Related: odoo/enterprise#35969 Related: odoo/upgrade#4428 Signed-off-by: Steve Van Essche <svs@odoo.com>
This commit is contained in:
@@ -419,6 +419,7 @@
|
||||
<field name="operation_id" invisible="1"/>
|
||||
<field name="is_done" invisible="1"/>
|
||||
<field name="bom_line_id" invisible="1"/>
|
||||
<field name="byproduct_id" invisible="1"/>
|
||||
<field name="sequence" invisible="1"/>
|
||||
<field name="location_id" invisible="1"/>
|
||||
<field name="warehouse_id" invisible="1"/>
|
||||
|
||||
Reference in New Issue
Block a user