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.

23 lines
878 B

  1. <?xml version="1.0"?>
  2. <odoo>
  3. <!-- Copyright 2019 Open Source Integrators
  4. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
  5. <!-- Agreement Form View -->
  6. <record id="sale_order_agreement_form_view" model="ir.ui.view">
  7. <field name="name">sale.order.agreement.form.view</field>
  8. <field name="model">sale.order</field>
  9. <field name="inherit_id" ref="sale.view_order_form"/>
  10. <field name="arch" type="xml">
  11. <field name="client_order_ref" position="after">
  12. <field name="agreement_id"
  13. readonly="1"
  14. attrs="{'invisible': [('agreement_id', '=', False)]}"/>
  15. </field>
  16. <field name="partner_id" position="after">
  17. <field name="agreement_template_id"/>
  18. </field>
  19. </field>
  20. </record>
  21. </odoo>