OCA reporting engine fork for dev and update.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
1.3 KiB

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <odoo>
  3. <record id="ir_actions_report_view_form_report_xml" model="ir.ui.view">
  4. <field name="name">ir.actions.report.view.form.report.xml</field>
  5. <field name="model">ir.actions.report</field>
  6. <field name="inherit_id" ref="base.act_report_xml_view" />
  7. <field name="arch" type="xml">
  8. <button name="associated_view" position="attributes">
  9. <attribute name="attrs">{
  10. 'invisible': [
  11. ('report_type', 'not in', ('qweb-pdf', 'qweb-html', 'qweb-text', 'qweb-xml')),
  12. ],
  13. }</attribute>
  14. </button>
  15. <xpath expr="//page[@name='advanced']/group" position="after">
  16. <group
  17. name="xml_reports"
  18. string="XML Rreport Settings"
  19. attrs="{
  20. 'invisible': [
  21. ('report_type', '!=', 'qweb-xml')
  22. ],
  23. }"
  24. >
  25. <field name="xsd_schema" />
  26. <field name="xml_encoding" />
  27. <field name="xml_declaration" />
  28. </group>
  29. </xpath>
  30. </field>
  31. </record>
  32. </odoo>