mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[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:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user