From a072096913fcda9d06b7fb371afe0407fb8cd1a3 Mon Sep 17 00:00:00 2001 From: svs-odoo Date: Mon, 8 May 2023 13:39:58 +0000 Subject: [PATCH] [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 --- addons/mrp/views/mrp_production_views.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/mrp/views/mrp_production_views.xml b/addons/mrp/views/mrp_production_views.xml index edc05f46ae5..2da1ccb8f20 100644 --- a/addons/mrp/views/mrp_production_views.xml +++ b/addons/mrp/views/mrp_production_views.xml @@ -419,6 +419,7 @@ +