From 9f579f64001736af33e4c54f9208df48678ed71e Mon Sep 17 00:00:00 2001 From: Benoit Socias Date: Mon, 26 Sep 2022 12:23:54 +0000 Subject: [PATCH] [FIX] test_themes: patch website switcher template In [1] when all modules were migrated to the new assets system, the modules in design themes were forgotten. This commit puts the owl templates into the correct asset. [1]: https://github.com/odoo/odoo/commit/5410b7c238f211ced2519e53afc99c8468e1f527 closes odoo/design-themes#595 Signed-off-by: Romain Derie (rde) --- test_themes/__manifest__.py | 7 ++----- .../static/src/{js => }/systray_items/website_switcher.js | 0 .../static/src/{js => }/systray_items/website_switcher.xml | 0 3 files changed, 2 insertions(+), 5 deletions(-) rename test_themes/static/src/{js => }/systray_items/website_switcher.js (100%) rename test_themes/static/src/{js => }/systray_items/website_switcher.xml (100%) diff --git a/test_themes/__manifest__.py b/test_themes/__manifest__.py index 097769147..96990f6ee 100644 --- a/test_themes/__manifest__.py +++ b/test_themes/__manifest__.py @@ -45,11 +45,8 @@ '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', + 'website.assets_editor': [ + 'test_themes/static/src/systray_items/*', ], }, 'license': 'LGPL-3', diff --git a/test_themes/static/src/js/systray_items/website_switcher.js b/test_themes/static/src/systray_items/website_switcher.js similarity index 100% rename from test_themes/static/src/js/systray_items/website_switcher.js rename to test_themes/static/src/systray_items/website_switcher.js diff --git a/test_themes/static/src/js/systray_items/website_switcher.xml b/test_themes/static/src/systray_items/website_switcher.xml similarity index 100% rename from test_themes/static/src/js/systray_items/website_switcher.xml rename to test_themes/static/src/systray_items/website_switcher.xml