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.

36 lines
1.3 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Copyright 2017 LasLabs Inc.
  4. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
  5. -->
  6. <odoo>
  7. <record id="contract_template_form_view" model="ir.ui.view">
  8. <field name="name">Contract Template Auto Pay</field>
  9. <field name="model">contract.template</field>
  10. <field name="inherit_id" ref="contract.contract_template_form_view"/>
  11. <field name="arch" type="xml">
  12. <xpath expr="//group[@name='group_main_left']" position="inside">
  13. <field name="is_auto_pay" />
  14. </xpath>
  15. <xpath expr="//group[@name='group_main']" position="after">
  16. <group name="group_auto_pay"
  17. attrs="{'invisible': [('is_auto_pay', '=', False)]}"
  18. >
  19. <group>
  20. <field name="invoice_mail_template_id" />
  21. <field name="pay_retry_mail_template_id" />
  22. <field name="auto_pay_retry_hours" />
  23. </group>
  24. <group>
  25. <field name="pay_fail_mail_template_id" />
  26. <field name="auto_pay_retries" />
  27. </group>
  28. </group>
  29. </xpath>
  30. </field>
  31. </record>
  32. </odoo>