From efa4e69746de656e846d965f8f825ebcdca06748 Mon Sep 17 00:00:00 2001 From: "Antoine (anso)" Date: Tue, 2 Sep 2025 09:45:09 +0200 Subject: [PATCH] [IMP] theme_anelusia: 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_anelusia/__manifest__.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/theme_anelusia/__manifest__.py b/theme_anelusia/__manifest__.py index 5d9934e9e..60fcd7318 100644 --- a/theme_anelusia/__manifest__.py +++ b/theme_anelusia/__manifest__.py @@ -86,6 +86,28 @@ 'configurator_snippets': { 'homepage': ['s_text_cover', 's_images_wall', 's_color_blocks_2', 's_references', 's_media_list','s_key_images', 's_call_to_action'], }, + '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': { + 'rounded': '0', + 'gap': '1', + 'size': 'large', + }, + 'add_classes': [ + 'pt88', + ], + 'remove_classes': [ + 'pt64', + ], + }, + }, 'author': 'Odoo S.A.', 'license': 'LGPL-3', 'live_test_url': 'https://theme-anelusia.odoo.com',