[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
This commit is contained in:
Benoit Socias
2024-01-08 14:57:17 +01:00
parent 51c310c785
commit 9c0707ceac
54 changed files with 270 additions and 0 deletions
+1
View File
@@ -7,6 +7,7 @@
'version': '2.1.0',
'depends': ['theme_common'],
'data': [
'data/generate_primary_template.xml',
'data/ir_asset.xml',
'views/images_library.xml',