From 1c0c638a608a5fb17f349eee47ec76607791dce6 Mon Sep 17 00:00:00 2001 From: "Antoine (anso)" Date: Tue, 2 Sep 2025 09:45:22 +0200 Subject: [PATCH] [IMP] theme_artists: 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_artists/__manifest__.py | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/theme_artists/__manifest__.py b/theme_artists/__manifest__.py index dddb32ea5..73e22966c 100644 --- a/theme_artists/__manifest__.py +++ b/theme_artists/__manifest__.py @@ -133,6 +133,32 @@ 'configurator_snippets': { 'homepage': ['s_sidegrid', 's_product_catalog', 's_cta_box', 's_title', 's_image_frame', 's_images_wall', 's_shape_image'], }, + 'configurator_snippets_addons': { + 'website_sale': { + 'homepage': [ + ('website_sale.s_dynamic_snippet_category_list', 'after', 's_sidegrid'), + ], + }, + }, + 'theme_customizations': { + 'website_sale.s_dynamic_snippet_category_list': { + 'template_key': ( + 'website_sale.dynamic_filter_template_product_public_category_default' + ), + 'data_attributes': { + 'rounded': '0', + }, + 'background': { + 'color': 'o_cc5', + }, + 'add_classes': [ + 'pb104', + ], + 'remove_classes': [ + 's_dynamic_category_clickable_items', 'pb64', + ], + }, + }, 'author': 'Odoo S.A.', 'license': 'LGPL-3', 'live_test_url': 'https://theme-artists.odoo.com',