[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

Part-of: odoo/design-themes#1022
Related: odoo/odoo#189638
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
qsm-odoo
2024-12-04 16:58:24 +01:00
parent 429edc67ce
commit c97e39eee5
+4 -1
View File
@@ -758,9 +758,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">