Files
design-themes/theme_cobalt/__manifest__.py
T
Morgane (morm) 80cbee66f6 [IMP] theme_*: adapt New Page template designs for themes
This commit customizes all New Page template designs for every single
theme.

The changes are organized as follow:

When the used blocks are not the default ones:
- the new sequence of block is listed in the `new_page_templates`
manifest entry.
- the blocks are updated in the `new_page_template_sections_..._...`
XML templates accordingly.

After the potential block sequence updates, the `new_page_template.xml`
then first contains the general customization of blocks (those that
apply across all new page templates) then the customization for each
category of page.

Customizations for a specific page are directly below category-wide
customizations of the given block when both exist.

task-3381714

closes odoo/design-themes#692

Related: odoo/odoo#126719
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
Co-authored-by: Benoit Socias <bso@odoo.com>
Co-authored-by: Arthur Detroux (ard) <ard@odoo.com>
2023-10-14 03:27:02 +00:00

38 lines
1.4 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/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',
],
}
}