From 937b0bee9cf3cc7892ce2805696431b4c3add03d Mon Sep 17 00:00:00 2001 From: "Antoine (anso)" Date: Tue, 2 Sep 2025 13:25:20 +0200 Subject: [PATCH] [IMP] theme_bewise: 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_bewise/__manifest__.py | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/theme_bewise/__manifest__.py b/theme_bewise/__manifest__.py index 36e5f5cf9..3b1651a56 100644 --- a/theme_bewise/__manifest__.py +++ b/theme_bewise/__manifest__.py @@ -26,6 +26,30 @@ 'configurator_snippets': { 'homepage': ['s_striped_center_top', 's_title', 's_color_blocks_2', 's_faq_collapse', 's_masonry_block_default_template', 's_company_team_shapes'], }, + 'configurator_snippets_addons': { + 'website_sale': { + 'homepage': [ + ('website_sale.s_dynamic_snippet_category_list', 'after', 's_striped_center_top'), + ], + }, + }, + 'theme_customizations': { + 'website_sale.s_dynamic_snippet_category_list': { + 'data_attributes': { + 'rounded': '3', + 'size': 'small', + }, + 'add_classes': [ + 'pb128', + { + 's_dynamic_snippet_title': 'd-none' + }, + ], + 'remove_classes': [ + 'pt64', 'pb64', + ], + }, + }, 'author': 'Odoo S.A.', 'license': 'LGPL-3', 'live_test_url': 'https://theme-bewise.odoo.com',