[MIG] report_xml: Migration to 17.0

This commit is contained in:
Viktor Anikeenko
2023-12-07 16:11:11 +02:00
committed by Atte Isopuro
parent 6dd4fd321a
commit cefc885e07
4 changed files with 9 additions and 18 deletions

View File

@@ -6,21 +6,15 @@
<field name="inherit_id" ref="base.act_report_xml_view" />
<field name="arch" type="xml">
<button name="associated_view" position="attributes">
<attribute name="attrs">{
'invisible': [
('report_type', 'not in', ('qweb-pdf', 'qweb-html', 'qweb-text', 'qweb-xml')),
],
}</attribute>
<attribute name="invisible">
report_type not in ['qweb-pdf', 'qweb-html', 'qweb-text', 'qweb-xml']
</attribute>
</button>
<xpath expr="//page[@name='advanced']/group" position="after">
<group
name="xml_reports"
string="XML Rreport Settings"
attrs="{
'invisible': [
('report_type', '!=', 'qweb-xml')
],
}"
invisible="report_type != 'qweb-xml'"
>
<field name="xsd_schema" />
<field name="xml_encoding" />