Files
design-themes/test_themes/__manifest__.py
T
Arthur Detroux (ard) fb23f19c1b [IMP] test_themes: (re)add preview to website (themes) switcher
Commit [1] moved the website switcher from the frontend to the backend
and in doing so re-factored it into an OWL component.

Initially, this refactoring broke the theme preview from the previous
widget. This commit re-introduces those previews.

[1]: https://github.com/odoo/design-themes/commit/163a8b6fae0d6709d61af81550d1ad77dfe311c9

task-2687506

closes odoo/design-themes#573

Signed-off-by: Romain Derie (rde) <rde@odoo.com>
Co-authored-by: Younn Olivier <yol@odoo.com>
Co-authored-by: Romain Derie <rde@odoo.com>
2022-07-08 19:52:25 +02:00

57 lines
1.6 KiB
Python

{
'name': 'Themes Testing Module',
'version': '1.0',
'category': 'Hidden',
'sequence': 9877,
'summary': 'Create a new website for each Odoo theme for an easy preview.',
'description': """This module will help you to quickly test all the Odoo
themes without having to switch from one theme to another on your website.
It will simply create a new website for each Odoo theme and install every
theme on one website.""",
'depends': [
# CE themes
'theme_default',
# design-themes themes
'theme_anelusia',
'theme_artists',
'theme_avantgarde',
'theme_aviato',
'theme_beauty',
'theme_bewise',
'theme_bistro',
'theme_bookstore',
'theme_buzzy',
'theme_clean',
'theme_cobalt',
'theme_enark',
'theme_graphene',
'theme_kea',
'theme_kiddo',
'theme_loftspace',
'theme_monglia',
'theme_nano',
'theme_notes',
'theme_odoo_experts',
'theme_orchid',
'theme_paptic',
'theme_real_estate',
'theme_treehouse',
'theme_vehicle',
'theme_yes',
'theme_zap',
],
'installable': True,
'application': False,
'post_init_hook': 'post_init_hook',
'assets': {
'web.assets_backend': [
'test_themes/static/src/js/systray_items/website_switcher.js',
],
'web.assets_qweb': [
'test_themes/static/src/js/systray_items/website_switcher.xml',
],
},
'license': 'LGPL-3',
}