[FIX] theme_avantgarde: fix masonry block

The customization of that block was removing the parent container by
mistake, making the editor crash.

Related to task-4246355

X-original-commit: c97e39eee5
Part-of: odoo/design-themes#1023
Related: odoo/odoo#189669
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
qsm-odoo
2024-12-04 15:58:24 +00:00
parent 54c7977709
commit 26fbde782f
+4 -1
View File
@@ -761,9 +761,12 @@
<attribute name="class" remove="pt48 pb48" separator=" "/>
<attribute name="data-masonry-template">alternate_text_image_text</attribute>
</xpath>
<xpath expr="//section/div" position="replace">
<xpath expr="//section/div" position="replace" mode="inner">
<t t-call="website.s_masonry_block_alternation_text_image_text_template"/>
</xpath>
<xpath expr="//section/div" position="attributes">
<attribute name="class" remove="container" add="container-fluid" separator=" "/>
</xpath>
</template>
<template id="s_masonry_block_alternation_text_image_text_template" inherit_id="website.s_masonry_block_alternation_text_image_text_template">