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.

25 lines
1.1 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright 2020 Creu Blanca
  3. Copyright 2020 Ecosoft Co., LTd.
  4. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
  5. <odoo>
  6. <record model="ir.ui.view" id="ir_actions_report_form_view">
  7. <field name="name">ir.actions.report.form (in report_qweb_encrypt)</field>
  8. <field name="model">ir.actions.report</field>
  9. <field name="inherit_id" ref="base.act_report_xml_view"/>
  10. <field name="arch" type="xml">
  11. <field name="paperformat_id" position="after">
  12. <label for="encrypt" attrs="{'invisible': [('report_type', 'not in', ('qweb-pdf', 'qweb-html'))]}"/>
  13. <div name="encrypt" attrs="{'invisible': [('report_type', 'not in', ('qweb-pdf', 'qweb-html'))]}">
  14. <field name="encrypt"/>
  15. <field name="encrypt_password"
  16. attrs="{'invisible': [('encrypt', '!=', 'auto')]}"
  17. placeholder="python syntax, i.e., (object.default_code or 'secretcode')"/>
  18. </div>
  19. </field>
  20. </field>
  21. </record>
  22. </odoo>