From 1a49db046fdc87c6fb2e1aff8b2c92bd8f99f099 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Theys?= Date: Tue, 16 Jul 2019 10:25:58 +0000 Subject: [PATCH] [FIX] website_sale: hide expand category if children are hidden Before this commit, in collapse category list, if the children of a category are currently hidden due a search not including them, the parent category would still be displayed as having expandable children, but clicking on the expand button would have no effect. After this commit, the expand button will not be shown if the children are not shown. PR: #34249 Signed-off-by: Romain Derie (rde) --- addons/website_sale/views/templates.xml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/addons/website_sale/views/templates.xml b/addons/website_sale/views/templates.xml index 9e7743b9fc3..457758900a4 100644 --- a/addons/website_sale/views/templates.xml +++ b/addons/website_sale/views/templates.xml @@ -370,15 +370,14 @@