From a669cad446544591cb870a61a17aed6c70345add Mon Sep 17 00:00:00 2001 From: Hardik Domadiya Date: Mon, 10 Jul 2023 05:54:45 +0000 Subject: [PATCH] [FIX] mrp: persist expected duration when generating BoM Before this commit ================== When creating a BOM through a MO (form view), the WO expected duration is reset to the default value on the source MO as well as the corresponding Operations in the BOM. Steps to Produce ================= - Create a MO with 1+ WOs and set an expected duration for the WOs. - Generate a BOM through the MO and observe the changed duration after saving the BOM After this commit ================= After this commit the operation/WO duration doesn't reset to default values. task - 3414446 closes odoo/odoo#129390 X-original-commit: 05d0dc26e24f24107a5e443dc9ccafd0ff7a1af9 Signed-off-by: Tiffany Chang --- addons/mrp/views/mrp_routing_views.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/mrp/views/mrp_routing_views.xml b/addons/mrp/views/mrp_routing_views.xml index 9d5b57102fb..590ae57b576 100644 --- a/addons/mrp/views/mrp_routing_views.xml +++ b/addons/mrp/views/mrp_routing_views.xml @@ -9,6 +9,7 @@ +