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.

20 lines
832 B

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <record id="act_report_xml_view_inherit" model="ir.ui.view">
  4. <field name="name">ir.actions.report.xml (xlsx header footer)</field>
  5. <field name="model">ir.actions.report.xml</field>
  6. <field name="inherit_id" ref="base.act_report_xml_view"/>
  7. <field name="arch" type="xml">
  8. <xpath expr="//notebook" position="inside">
  9. <page string="Header/Footer" attrs="{'invisible': [('report_type', '!=', 'xlsx')]}">
  10. <group>
  11. <field name="header_id" context="{'default_hf_type': 'header'}"/>
  12. <field name="footer_id" context="{'default_hf_type': 'footer'}"/>
  13. </group>
  14. </page>
  15. </xpath>
  16. </field>
  17. </record>
  18. </odoo>