Files
design-themes/theme_notes
Benoit Socias aed6d0585b [FIX] theme_*: remove unused configurator snippets
When shapes were extracted to configurator snippets in [1], some
configurator-specific snippets were created that do not appear on pages
of the specific theme.
Because in [2] the call to `_generate_primary_snippet_templates` is done
on a full list of themes instead of only the installed ones, the problem
was not noticed: if any theme defines a block, it's website-side
configurator-specific template is generated.
This is not the case during an upgrade: the templates are generated only
for the installed themes. Because of this some "useless" configurator
templates trigger an error when importing their XML definition because
their parent template does not exist.

This commit fixes this by removing those templates.

[1]: https://github.com/odoo/design-themes/commit/d206c119720d557c11320ebb3d7339890b8f9efa
[2]: https://github.com/odoo/odoo/commit/928eeca714a161f6bc03343e4dc8af9b050b9841#diff-f49a1e9eda23df9f1d48121ba376a5fabafe70ea18b29d4eab23d737e5d4eeb6R446

closes odoo/design-themes#752

X-original-commit: 7b27828755
Related: odoo/odoo#144666
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
2023-12-07 20:45:45 +00:00
..
2021-09-24 11:09:49 +00:00
2021-05-10 15:45:35 +02:00
2021-05-10 15:45:35 +02:00