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.

25 lines
1.1 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <openerp>
  3. <data>
  4. <record model="ir.ui.view" id="ir_actions_report_xml_form_view">
  5. <field name="name">ir.actions.report.xml.form</field>
  6. <field name="model">ir.actions.report.xml</field>
  7. <field name="priority" eval="5" />
  8. <field name="inherit_id" ref="report.act_report_xml_view_inherit" />
  9. <field name="arch" type="xml">
  10. <xpath expr="//form/group" position="before">
  11. <header>
  12. <button name="%(ir_actions_report_xml_duplicate_action)d"
  13. string="Duplicate Report" class="oe_highlight" type="action"/>
  14. </header>
  15. </xpath>
  16. <button name="associated_view" position="after">
  17. <button type="object" class="oe_link" name="button_create_qweb"
  18. string="Create QWeb view"
  19. attrs="{'invisible':[('report_type', 'not in', ['qweb-pdf', 'qweb-html'])]}" />
  20. </button>
  21. </field>
  22. </record>
  23. </data>
  24. </openerp>