Files
design-themes/theme_notes/data/generate_primary_template.xml
T
Benoit Socias 9c0707ceac [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
2024-02-03 06:07:04 +00:00

10 lines
268 B
XML

<?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_notes')]"/>
</function>
</odoo>