From 54bf4c29413ed6956e5b7e47c3bbe08272edfec4 Mon Sep 17 00:00:00 2001 From: mano-odoo Date: Wed, 3 Sep 2025 11:35:55 +0200 Subject: [PATCH] [IMP] theme_notes: 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 closes odoo/design-themes#1137 Related: odoo/odoo#225310 Signed-off-by: Antoine Sougné (anso) --- theme_notes/__manifest__.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/theme_notes/__manifest__.py b/theme_notes/__manifest__.py index ae80a1ff7..d33edb9a7 100644 --- a/theme_notes/__manifest__.py +++ b/theme_notes/__manifest__.py @@ -101,6 +101,26 @@ '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_company_team_shapes'), + ], + }, + }, + 'theme_customizations': { + 'website_sale.s_dynamic_snippet_category_list': { + 'data_attributes': { + 'gap': '4', + }, + 'add_classes': [ + 'pb48', + ], + 'remove_classes': [ + 'pt64', 'pb64', + ], + }, + }, 'author': 'Odoo S.A.', 'license': 'LGPL-3', 'live_test_url': 'https://theme-notes.odoo.com',