From f3d86a153c5361dc074e48af249d2f3a6f44b06b Mon Sep 17 00:00:00 2001 From: mano-odoo Date: Tue, 2 Sep 2025 17:27:53 +0200 Subject: [PATCH] [IMP] theme_kea: 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_kea/__manifest__.py | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/theme_kea/__manifest__.py b/theme_kea/__manifest__.py index 9219f6d1d..ef2bdb6ff 100644 --- a/theme_kea/__manifest__.py +++ b/theme_kea/__manifest__.py @@ -80,6 +80,40 @@ 'personal': ['s_text_cover', 's_image_text', 's_text_block_h2', 's_numbers', 's_features', 's_call_to_action'], }, }, + 'configurator_snippets_addons': { + 'website_sale': { + 'homepage': [ + ('website_sale.s_dynamic_snippet_category_list', 'after', 's_cover'), + ], + }, + }, + 'theme_customizations': { + 'website_sale.s_dynamic_snippet_category_list': { + 'data_attributes': { + 'size': 'small', + 'columns': '2', + 'rounded': '5', + 'gap': '4', + }, + 'background': { + 'color': 'o_cc2', + 'shape': { + 'data-oe-shape-data': '{"shape":"web_editor/Grids/04", "colors":{"c5":"o-color-1"}}', + 'element': """