From 9bdb2060967d8a4d05a08d586a579742bde2cab9 Mon Sep 17 00:00:00 2001 From: "Nathan Marotte (nama)" Date: Wed, 1 Sep 2021 13:41:50 +0000 Subject: [PATCH] [FIX] mrp_workorder quality: product and template desynchronized Issue : When selecting mrp_operation as picking_type, the product variant is not changed Steps to reproduce: Install Quality, MRP Disable variants Edit View: Form (debug mode) and remove groups="product.group_product_variant" to show the variants (This is done so we can see the issue in the backend) Set a product Changing product changes the variant Set the operation to manufacturing Set another product -> The variant is not updated Why is that a bug: It can lead to some problems if the variants are disabled and then enabled at a later time for the company Side-Note: The original bug related to the related commit was not present in v13 as said in the related commit opw discussion Related commit 2dc2003 opw-2515100 (related to opw-2490412) closes odoo/odoo#76707 X-original-commit: 441fb1e9ee97e2dcc1c2bd1a9fdb393d006aa1a5 Signed-off-by: William Henrotin Signed-off-by: Nathan Marotte --- addons/stock/views/stock_scrap_views.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/stock/views/stock_scrap_views.xml b/addons/stock/views/stock_scrap_views.xml index d5cd3f938b8..98a2499da5c 100644 --- a/addons/stock/views/stock_scrap_views.xml +++ b/addons/stock/views/stock_scrap_views.xml @@ -55,7 +55,7 @@ - +