mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[MIG] report_xml: Migration to 17.0
This commit is contained in:
committed by
Atte Isopuro
parent
6dd4fd321a
commit
cefc885e07
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user