From b1414d3c30f5f35f89cbde0d65ca3cb5ddf04858 Mon Sep 17 00:00:00 2001 From: "Robin Lejeune (role)" Date: Tue, 31 Oct 2023 11:15:01 +0100 Subject: [PATCH] [FIX] website, website_sale: remove forced options views in headers Since [this PR], some headers have some preselected options. For instance, by default the header_sales_one displays social icons without colors and a CTA button with rounded sides. However, if one modifies the option in the panel, it appears to be working, but upon save it goes back to no_icon_color / rounded sides. This happens because the option is forced by the header template. That behavior takes the precedence over the user's option choice. As there is no proper way to make it work without modifying the model, this commit removes the forced option on the templates for Odoo 17. It should be properly reintroduced in master. [this PR]: https://github.com/odoo/odoo/pull/119650 task-3576074 closes odoo/odoo#140669 Signed-off-by: Quentin Smetz (qsm) --- addons/website/views/website_templates.xml | 49 +++++++++------------- addons/website_sale/views/templates.xml | 4 +- 2 files changed, 21 insertions(+), 32 deletions(-) diff --git a/addons/website/views/website_templates.xml b/addons/website/views/website_templates.xml index 9e1a42867a3..db3d18c3375 100644 --- a/addons/website/views/website_templates.xml +++ b/addons/website/views/website_templates.xml @@ -355,7 +355,7 @@ - + @@ -398,7 +398,7 @@ - + @@ -416,7 +416,7 @@ - + @@ -567,7 +567,7 @@ - + @@ -616,7 +616,7 @@ - + @@ -628,7 +628,7 @@ - + @@ -671,7 +671,7 @@ - + @@ -767,7 +767,7 @@ - +
@@ -854,7 +854,7 @@ - +
@@ -921,7 +921,7 @@
@@ -1015,7 +1015,7 @@