From afb75eef0f29f12c88ef7340192f952ec8574ce7 Mon Sep 17 00:00:00 2001 From: "Xavier Luyckx (xlu)" Date: Wed, 3 Sep 2025 11:35:18 +0200 Subject: [PATCH] [IMP] theme_monglia: 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_monglia/__manifest__.py | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/theme_monglia/__manifest__.py b/theme_monglia/__manifest__.py index 41d8b8776..bbe78fd19 100644 --- a/theme_monglia/__manifest__.py +++ b/theme_monglia/__manifest__.py @@ -37,6 +37,34 @@ 'configurator_snippets': { 'homepage': ['s_cover', 's_numbers_grid', 's_company_team_shapes', 's_text_block', 's_freegrid', 's_cta_box', 's_shape_image', 's_title', 's_images_wall', 's_faq_collapse', 's_references'], }, + 'configurator_snippets_addons': { + 'website_sale': { + 'homepage': [ + ('website_sale.s_dynamic_snippet_category_list', 'after', 's_shape_image'), + ], + }, + }, + 'theme_customizations': { + 'website_sale.s_dynamic_snippet_category_list': { + 'data_attributes': { + 'columns': '2', + 'rounded': '4', + 'gap': '4', + }, + 'background': { + 'color': 'o_cc4', + }, + 'add_classes': [ + 'pb88', + { + 's_dynamic_snippet_title': 'd-none' + }, + ], + 'remove_classes': [ + 'pt64', 'pb64', + ], + }, + }, 'new_page_templates': { 'about': { 'personal': ['s_text_cover', 's_image_text', 's_text_block_h2', 's_numbers', 's_features', 's_call_to_action'],