From cb7c953f9272b80bed85f222cb961df03c8b7e87 Mon Sep 17 00:00:00 2001 From: mano-odoo Date: Wed, 3 Sep 2025 12:06:26 +0200 Subject: [PATCH] [IMP] theme_enark: 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) Co-authored-by: Xavier Luyckx (xlu) --- theme_enark/__manifest__.py | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/theme_enark/__manifest__.py b/theme_enark/__manifest__.py index 54602323f..9b044df90 100644 --- a/theme_enark/__manifest__.py +++ b/theme_enark/__manifest__.py @@ -87,6 +87,37 @@ '2': ['s_text_cover', 's_image_text', 's_text_image', 's_image_text_2nd', 's_call_to_action'], }, }, + 'configurator_snippets_addons': { + 'website_sale': { + 'homepage': [ + ('website_sale.s_dynamic_snippet_category_list', 'after', 's_freegrid'), + ], + }, + }, + 'theme_customizations': { + 'website_sale.s_dynamic_snippet_category_list': { + 'data_attributes': { + 'gap': '3', + 'rounded': '0', + 'size': 'small', + }, + 'background': { + 'shape': { + 'data-oe-shape-data': '{"shape":"web_editor/Connections/20","flip":["y"],"colors":{"c5":"o-color-5"}}', + 'element': """