From cde25cd1d121e2fc619be7b19dd65d8353e02345 Mon Sep 17 00:00:00 2001 From: mano-odoo Date: Wed, 3 Sep 2025 09:40:03 +0200 Subject: [PATCH] [IMP] theme_kiddo: 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_kiddo/__manifest__.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/theme_kiddo/__manifest__.py b/theme_kiddo/__manifest__.py index 3d27e6a5f..963551dbe 100644 --- a/theme_kiddo/__manifest__.py +++ b/theme_kiddo/__manifest__.py @@ -81,6 +81,28 @@ '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_banner'), + ], + }, + }, + 'theme_customizations': { + 'website_sale.s_dynamic_snippet_category_list': { + 'data_attributes': { + 'rounded': '4', + 'gap': '3', + 'alignment': 'left', + }, + 'background': { + 'color': 'o_cc2', + }, + 'remove_classes': [ + 's_dynamic_category_no_arrows', + ], + }, + }, 'author': 'Odoo S.A.', 'license': 'LGPL-3', 'live_test_url': 'https://theme-kiddo.odoo.com',