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.

21 lines
1016 B

  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. <odoo>
  5. <record id="res_partner_view_risk" model="ir.ui.view">
  6. <field name="name">res.partner.view.risk</field>
  7. <field name="model">res.partner</field>
  8. <field name="inherit_id" ref="partner_financial_risk.res_partner_view_risk"/>
  9. <field name="arch" type="xml">
  10. <field name="risk_invoice_draft_include" position="before">
  11. <field name="risk_sale_order_include"
  12. attrs="{'readonly': [('risk_allow_edit', '=', False)]}"/>
  13. <field name="risk_sale_order" nolabel="1"/>
  14. </field>
  15. <field name="risk_invoice_draft_limit" position="before">
  16. <field name="risk_sale_order_limit"
  17. attrs="{'readonly': [('risk_allow_edit', '=', False)]}"/>
  18. </field>
  19. </field>
  20. </record>
  21. </odoo>