mirror of
https://gitlab.com/flectra-community/partner-contact.git
synced 2024-12-25 13:51:47 +00:00
14 lines
532 B
XML
14 lines
532 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<flectra>
|
|
<record id="view_partner_form" model="ir.ui.view">
|
|
<field name="name">Make partner reference readonly when non-commercial</field>
|
|
<field name="model">res.partner</field>
|
|
<field name="inherit_id" ref="base.view_partner_form" />
|
|
<field name="arch" type="xml">
|
|
<field name="ref" position="attributes">
|
|
<attribute name="readonly">not is_company and parent_id</attribute>
|
|
</field>
|
|
</field>
|
|
</record>
|
|
</flectra>
|