[14.0][MIG] report_layout_config

This commit is contained in:
Iryna Vyshnevska
2021-12-30 10:58:06 +02:00
parent c591573301
commit 1468fb3237
6 changed files with 11 additions and 43 deletions

View File

@@ -3,7 +3,7 @@
<record id="base_document_layout" model="ir.ui.view">
<field name="name">base.document.layout</field>
<field name="model">base.document.layout</field>
<field name="inherit_id" ref="base.view_base_document_layout" />
<field name="inherit_id" ref="web.view_base_document_layout" />
<field name="arch" type="xml">
<xpath expr="//field[@name='logo']" position="attributes">
<attribute
@@ -25,11 +25,6 @@
name='attrs'
>{'invisible': [('need_images_layout', '=', True)]}</attribute>
</xpath>
<xpath expr="//field[@name='preview_logo']" position="attributes">
<attribute
name='attrs'
>{'invisible': [('need_images_layout', '=', True)]}</attribute>
</xpath>
<xpath expr="//field[@name='logo']" position="after">
<field name="need_images_layout" invisible="True" />
<field