mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[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:
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<!-- Generate primary snippet templates that are not predefined -->
|
||||
<function model="ir.module.module" name="_generate_primary_snippet_templates">
|
||||
<value eval="[ref('base.module_theme_vehicle')]"/>
|
||||
</function>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user