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.
 
 

14 lines
583 B

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Add coc_certificate_of_conduct to res partner view -->
<record id="view_partner_form" model="ir.ui.view">
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_form"/>
<field name="priority" eval="11"/>
<field name="arch" type="xml">
<field name="lang" position="after">
<field name="coc_certificate_of_conduct" attrs="{'invisible': [('company_type','=','company')]}"/>
</field>
</field>
</record>
</odoo>