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
1.0 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- © 2016 Carlos Dauden <carlos.dauden@tecnativa.com>
  3. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl-3). -->
  4. <openerp>
  5. <data>
  6. <record id="res_partner_view_risk" model="ir.ui.view">
  7. <field name="name">res.partner.view.risk</field>
  8. <field name="model">res.partner</field>
  9. <field name="inherit_id" ref="partner_financial_risk.res_partner_view_risk"/>
  10. <field name="arch" type="xml">
  11. <field name="risk_invoice_draft_include" position="before">
  12. <field name="risk_sale_order_include"
  13. attrs="{'readonly': [('risk_allow_edit', '=', False)]}"/>
  14. <field name="risk_sale_order" nolabel="1"/>
  15. </field>
  16. <field name="risk_invoice_draft_limit" position="before">
  17. <field name="risk_sale_order_limit"
  18. attrs="{'readonly': [('risk_allow_edit', '=', False)]}"/>
  19. </field>
  20. </field>
  21. </record>
  22. </data>
  23. </openerp>