[IMP] theme_aviato: add and customize wsale categories snippet

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) <anso@odoo.com>
This commit is contained in:
Antoine (anso)
2025-09-02 09:46:27 +02:00
parent 4ff92e6ecc
commit a2be955b45
+26
View File
@@ -80,6 +80,32 @@
'configurator_snippets': {
'homepage': ['s_banner', 's_text_image', 's_image_text', 's_picture', 's_title', 's_masonry_block_default_template', 's_company_team', 's_showcase', 's_quotes_carousel'],
},
'configurator_snippets_addons': {
'website_sale': {
'homepage': [
('website_sale.s_dynamic_snippet_category_list', 'after', 's_image_text'),
],
},
},
'theme_customizations': {
'website_sale.s_dynamic_snippet_category_list': {
'data_attributes': {
'gap': '3',
},
'background': {
'shape': {
'data-oe-shape-data': '{"shape":"web_editor/Connections/20", "colors":{"c5":"o-color-3"}}',
'element': """<div class="o_we_shape o_web_editor_Connections_20" style="background-image: url('/web_editor/shape/web_editor/Connections/20.svg?c5=o-color-3');""",
},
},
'add_classes': [
'pb80',
],
'remove_classes': [
'pb64',
],
},
},
'author': 'Odoo S.A.',
'license': 'LGPL-3',
'live_test_url': 'https://theme-aviato.odoo.com',