From a67da4bf87291b699d7b7f089b6531e52bf56ede Mon Sep 17 00:00:00 2001 From: "Julien (jdeh)" Date: Wed, 3 Sep 2025 13:26:47 +0200 Subject: [PATCH] [IMP] theme_treehouse: 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_treehouse/__manifest__.py | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/theme_treehouse/__manifest__.py b/theme_treehouse/__manifest__.py index 94c01546c..882cabecf 100644 --- a/theme_treehouse/__manifest__.py +++ b/theme_treehouse/__manifest__.py @@ -80,6 +80,35 @@ 'configurator_snippets': { 'homepage': ['s_sidegrid', 's_numbers_list', 's_color_blocks_2', 's_references', 's_freegrid'], }, + 'configurator_snippets_addons': { + 'website_sale': { + 'homepage': [ + ('website_sale.s_dynamic_snippet_category_list', 'after', 's_color_blocks_2'), + ], + }, + }, + 'theme_customizations': { + 'website_sale.s_dynamic_snippet_category_list': { + 'data_attributes': { + 'gap': '3', + 'size': 'small', + 'alignment': 'left', + }, + 'background': { + 'color': 'o_cc2', + 'shape': { + 'data-oe-shape-data': '{"shape":"web_editor/Connections/09", "colors":{"c5":"o-color-4"}, "flip":["x"]}', + 'element': """