From b0ef287c18575b460f48dc9c7147191d75e97bc4 Mon Sep 17 00:00:00 2001 From: "Antoine (anso)" Date: Tue, 2 Sep 2025 17:11:52 +0200 Subject: [PATCH] [IMP] theme_bistro: add and customize wsale categories snippet MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit includes and customize the `website_sale.s_dynamic_snippet_category_list` snippet in the default snippet sequence of the theme's homepage. task-5009694 Part-of: odoo/design-themes#1137 Related: odoo/odoo#225310 Signed-off-by: Antoine Sougné (anso) --- theme_bistro/__manifest__.py | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/theme_bistro/__manifest__.py b/theme_bistro/__manifest__.py index 193131c0d..76ca6714c 100644 --- a/theme_bistro/__manifest__.py +++ b/theme_bistro/__manifest__.py @@ -81,6 +81,30 @@ 'homepage': ['s_image_title', 's_key_images', 's_pricelist_cafe', 's_quotes_carousel', 's_quadrant'], 'pricing': ["s_text_image", "s_product_catalog"], }, + 'configurator_snippets_addons': { + 'website_sale': { + 'homepage': [ + ('website_sale.s_dynamic_snippet_category_list', 'after', 's_image_title'), + ], + }, + }, + 'theme_customizations': { + 'website_sale.s_dynamic_snippet_category_list': { + 'data_attributes': { + 'gap': '3', + 'alignment': 'left', + }, + 'background': { + 'color': 'o_cc5', + }, + 'add_classes': [ + 'pt80', 'pb112', + ], + 'remove_classes': [ + 'pt64', 'pb64', + ], + }, + }, 'author': 'Odoo S.A.', 'license': 'LGPL-3', 'live_test_url': 'https://theme-bistro.odoo.com',