From 6be2f70759b48cbccfc666ed08e141f04c6fdc2c Mon Sep 17 00:00:00 2001 From: "Lucas Vermeulen (luve)" Date: Mon, 12 Dec 2022 11:10:41 +0000 Subject: [PATCH] [FIX] e-commerce : pricefilter activated only when needed In the website edition mode, the pricefilter option was displayed even if the attributes were not (top and left). The pricefilter was also depended on the fact that the user was displaying categories or not. After improvement, the pricefilter only depends on the attributes display (top or/and left). Also, if the attributes are activated and only displayed on the top part of the website, then the pricefilter (if activated) should also be displayed only on the top part, and not on the left anymore. task-3092992 closes odoo/odoo#108934 X-original-commit: b4c3548736f6c19d10a3fc4f358e7303f02d8a81 Signed-off-by: William Braeckman (wbr) --- addons/website_sale/views/snippets/snippets.xml | 2 +- addons/website_sale/views/templates.xml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/addons/website_sale/views/snippets/snippets.xml b/addons/website_sale/views/snippets/snippets.xml index 9252f0d23e0..8ac3e453b38 100644 --- a/addons/website_sale/views/snippets/snippets.xml +++ b/addons/website_sale/views/snippets/snippets.xml @@ -113,7 +113,7 @@ diff --git a/addons/website_sale/views/templates.xml b/addons/website_sale/views/templates.xml index 9f3f80a6963..6a6efd3ab6c 100644 --- a/addons/website_sale/views/templates.xml +++ b/addons/website_sale/views/templates.xml @@ -298,7 +298,7 @@
-
@@ -841,7 +841,6 @@
-