From 7f34f86768e09d88eea65db144c23755b9c7672f Mon Sep 17 00:00:00 2001 From: "Julien (jdeh)" Date: Wed, 3 Sep 2025 11:22:38 +0200 Subject: [PATCH] [IMP] theme_real_estate: 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_real_estate/__manifest__.py | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/theme_real_estate/__manifest__.py b/theme_real_estate/__manifest__.py index e928e7aa4..4040b2c18 100644 --- a/theme_real_estate/__manifest__.py +++ b/theme_real_estate/__manifest__.py @@ -71,6 +71,35 @@ 'configurator_snippets': { 'homepage': ['s_cover', 's_text_image', 's_image_text', 's_three_columns', 's_title', 's_references', 's_numbers_showcase', 's_quotes_carousel', 's_call_to_action'], }, + 'configurator_snippets_addons': { + 'website_sale': { + 'homepage': [ + ('website_sale.s_dynamic_snippet_category_list', 'after', 's_cover'), + ], + }, + }, + 'theme_customizations': { + 'website_sale.s_dynamic_snippet_category_list': { + 'data_attributes': { + 'gap': '4', + 'rounded': '0', + 'size': 'small', + 'alignment': 'left', + }, + 'background': { + 'color': 'o_cc2', + }, + 'add_classes': [ + 'pt96', 'pb96', + { + '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'],