From 4f2894efbbf65376a05bed1d1b08dcb848668c05 Mon Sep 17 00:00:00 2001 From: Victor Feyens Date: Tue, 31 May 2022 10:44:56 +0000 Subject: [PATCH] [FIX] sale_product_configurator: do not allow template change in wizard Since #73086, product configurator flow uses one single wizard popup for both product configuration and optional products choice. Nevertheless, the modal to only customize the product still exists, and is shown when the user clicks on the pencil icon next to the product, to edit the product configuration. It has been recently spotted that this modal behaves strangely and closes directly when another template is chosen in the dedicated field. Considering that the correct behavior when choosing another template is to either make a new line or to change the product directly on the SO line, this commit makes the field readonly. This way, when you choose another template with optional products, those optional products will still be shown correctly (which didn't happen if you chose another template in the modal to edit the configuration). closes odoo/odoo#92579 X-original-commit: 249b6444fd6238428907fc59d008bd22d480da64 Signed-off-by: Victor Feyens (vfe) --- .../wizard/sale_product_configurator_views.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/sale_product_configurator/wizard/sale_product_configurator_views.xml b/addons/sale_product_configurator/wizard/sale_product_configurator_views.xml index 53f0eec6827..7c6a4ac275e 100644 --- a/addons/sale_product_configurator/wizard/sale_product_configurator_views.xml +++ b/addons/sale_product_configurator/wizard/sale_product_configurator_views.xml @@ -6,7 +6,7 @@
- +