From 4f508676c204e54fb85e5c260828df59542b41cd Mon Sep 17 00:00:00 2001 From: Sapan Zaveri Date: Mon, 30 Sep 2019 10:11:41 +0000 Subject: [PATCH] [IMP] website_sale(_product_configurator): disable quantity everywhere. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Purpose of the commit is too make the customize option "Select Quantity" works everywhere. When we disable it, it's only disabled from the product page. it's still active on the cart and on the product config modal. So if the user decide to disable the "Select Quantity", disable it everywhere (cart, product config modal, product itself) Task-2008472 closes odoo/odoo#37951 Closes: #37951 Signed-off-by: Jérémy Kersten (jke) --- .../views/templates.xml | 68 +++++++------------ addons/website_sale/views/templates.xml | 36 ++++++---- .../__manifest__.py | 1 + ...te_sale_product_configurator_templates.xml | 16 +++++ .../views/product_configurator_templates.xml | 2 +- 5 files changed, 66 insertions(+), 57 deletions(-) create mode 100644 addons/website_sale_product_configurator/views/website_sale_product_configurator_templates.xml diff --git a/addons/sale_product_configurator/views/templates.xml b/addons/sale_product_configurator/views/templates.xml index 11ad527cd18..f4e7dd0e962 100644 --- a/addons/sale_product_configurator/views/templates.xml +++ b/addons/sale_product_configurator/views/templates.xml @@ -6,6 +6,22 @@ + +