From 4903fb6290822bacad2d64328aa4b29747b25432 Mon Sep 17 00:00:00 2001 From: Arnaud Baes Date: Thu, 5 Sep 2019 12:23:03 +0000 Subject: [PATCH] [FIX] mrp_plm: Wrong product template written on BoM lines When trying to update a BoM from an ECO, `default_product_tmpl_id` is set in the context. This was mismatching whith the product template of any new BoM lines writen on the new BoM. To fix this we simply add the field `product_tmpl_id` in the view of the BoM lines with `force_save` set, to prevent using the product template defined in the context. closes odoo/odoo#36469 Taskid: BugsLogistics Signed-off-by: Simon Lejeune (sle) --- addons/mrp/views/mrp_bom_views.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/mrp/views/mrp_bom_views.xml b/addons/mrp/views/mrp_bom_views.xml index 52fa8da8040..69a568cb046 100644 --- a/addons/mrp/views/mrp_bom_views.xml +++ b/addons/mrp/views/mrp_bom_views.xml @@ -77,6 +77,7 @@ +