From b48635ee0060f6575592c18d7d85d41ea6763f05 Mon Sep 17 00:00:00 2001 From: "Antoine (anso)" Date: Tue, 2 Sep 2025 09:46:43 +0200 Subject: [PATCH] [IMP] theme_beauty: 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_beauty/__manifest__.py | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/theme_beauty/__manifest__.py b/theme_beauty/__manifest__.py index 259d941fe..df664e75e 100644 --- a/theme_beauty/__manifest__.py +++ b/theme_beauty/__manifest__.py @@ -83,6 +83,33 @@ 'configurator_snippets': { 'homepage': ['s_intro_pill', 's_masonry_block_mosaic_template', 's_pricelist_boxed', 's_features_wall', 's_image_frame', 's_call_to_action'], }, + 'configurator_snippets_addons': { + 'website_sale': { + 'homepage': [ + ('website_sale.s_dynamic_snippet_category_list', 'after', 's_masonry_block_mosaic_template'), + ], + }, + }, + 'theme_customizations': { + 'website_sale.s_dynamic_snippet_category_list': { + 'data_attributes': { + 'gap': '3', + }, + 'background': { + 'color': 'o_cc2', + 'shape': { + 'data-oe-shape-data': '{"shape":"web_editor/Bold/13", "colors":{"c5":"o-color-4"}}', + 'element': """