Files
design-themes/theme_cobalt/__manifest__.py
T
Benoit Socias 9c0707ceac [FIX] theme_*: call _generate_primary_templates before importing data
To make sure the required primary templates have been generated from
the theme's manifest when inherited views are imported/updated, this
commit triggers their generation from a first imported XML file.

This has been added to all themes for consistency, even the ones that
do not require it currently.

Related to https://github.com/odoo/odoo/pull/148443

task-3670496

X-original-commit: 22abe61eaf
Part-of: odoo/design-themes#761
2024-02-03 06:07:04 +00:00

39 lines
1.5 KiB
Python

{
'name': 'Cobalt Theme',
'description': 'Clean and sharp design.',
'category': 'Theme/Corporate',
'summary': 'Development, IT development, Design, Tech, Computers, IT, Blogs',
'sequence': 110,
'version': '2.0.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/cobalt_poster.jpg',
'static/description/cobalt_screenshot.jpg',
],
'images_preview_theme': {
'website.library_image_03': '/theme_cobalt/static/src/img/pictures/s_image_1.jpg',
'website.library_image_14': '/theme_cobalt/static/src/img/pictures/s_image_6.jpg',
'website.library_image_10': '/theme_cobalt/static/src/img/pictures/s_image_4.jpg',
'website.library_image_13': '/theme_cobalt/static/src/img/pictures/s_image_2.jpg',
'website.library_image_16': '/theme_cobalt/static/src/img/pictures/s_image_3.jpg',
'website.library_image_05': '/theme_cobalt/static/src/img/pictures/s_image_5.jpg',
},
'configurator_snippets': {
'homepage': ['s_banner', 's_references', 's_text_image', 's_color_blocks_2', 's_images_wall'],
},
'license': 'LGPL-3',
'live_test_url': 'https://theme-cobalt.odoo.com',
'assets': {
'website.assets_editor': [
'theme_cobalt/static/src/js/tour.js',
],
}
}