mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
aed6d0585b
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>
28 lines
870 B
XML
28 lines
870 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<template id="s_picture" inherit_id="website.s_picture">
|
|
<!-- Section -->
|
|
<xpath expr="//section" position="attributes">
|
|
<attribute name="class" add="o_colored_level o_cc4 pt96" remove="o_cc2 pt48" separator=" "/>
|
|
</xpath>
|
|
|
|
<!-- Heading -->
|
|
<xpath expr="//h2" position="replace" mode="inner">
|
|
Letting each child explore and grow at their own pace
|
|
</xpath>
|
|
|
|
<!-- Paragraph -->
|
|
<xpath expr="//p" position="replace" mode="inner">
|
|
Through stimulating and fun activities, our aim<br/>
|
|
is to promote all areas of a childs' development.
|
|
</xpath>
|
|
|
|
<!-- Caption -->
|
|
<xpath expr="//figcaption" position="replace" mode="inner">
|
|
Our qualified staff ensure that each childs' needs are always recognised and fulfilled.
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|