Files
design-themes/theme_paptic/__manifest__.py
T
Julien (jdeh) 0f8ece7277 [IMP] theme_paptic: 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>
2025-09-09 07:11:27 +00:00

60 lines
1.9 KiB
Python

{
'name': 'Paptic Theme',
'description': 'Clean and sharp design.',
'category': 'Theme/Corporate',
'summary': 'Consultancy, Design, Tech, Computers, IT, Blogs',
'sequence': 110,
'version': '2.1.0',
'depends': ['website'],
'data': [
'data/generate_primary_template.xml',
'data/ir_asset.xml',
'views/images.xml',
'views/customizations.xml',
'views/new_page_template.xml',
],
'images': [
'static/description/paptic_poster.webp',
'static/description/paptic_screenshot.webp',
],
'configurator_snippets': {
'homepage': ['s_cover', 's_references', 's_image_text', 's_text_image', 's_masonry_block_images_template', 's_faq_list', 's_cta_box'],
},
'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': {
'template_key': (
'website_sale.dynamic_filter_template_product_public_category_default'
),
'data_attributes': {
'rounded': '3',
'gap': '3',
'size': 'small',
'alignment': 'left',
},
'remove_classes': [
's_dynamic_category_clickable_items',
],
},
},
'new_page_templates': {
'about': {
'personal': ['s_text_cover', 's_image_text', 's_text_block_h2', 's_numbers', 's_features', 's_call_to_action'],
},
},
'author': 'Odoo S.A.',
'license': 'LGPL-3',
'live_test_url': 'https://theme-paptic.odoo.com',
'assets': {
'website.assets_editor': [
'theme_paptic/static/src/js/tour.js',
],
}
}