|
@ -3,14 +3,13 @@ |
|
|
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). --> |
|
|
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). --> |
|
|
|
|
|
|
|
|
<odoo> |
|
|
<odoo> |
|
|
|
|
|
|
|
|
<record id="view_partner_company_type_form" model="ir.ui.view"> |
|
|
<record id="view_partner_company_type_form" model="ir.ui.view"> |
|
|
<field name="name">res.partner.form</field> |
|
|
<field name="name">res.partner.form</field> |
|
|
<field name="model">res.partner</field> |
|
|
<field name="model">res.partner</field> |
|
|
<field name="inherit_id" ref="base.view_partner_form"/> |
|
|
<field name="inherit_id" ref="base.view_partner_form"/> |
|
|
<field name="arch" type="xml"> |
|
|
<field name="arch" type="xml"> |
|
|
<field name="title" position="after"> |
|
|
<field name="title" position="after"> |
|
|
<field name="company_type_id" options='{"no_open": True}' |
|
|
|
|
|
|
|
|
<field name="partner_company_type_id" options='{"no_open": True}' |
|
|
attrs="{'invisible': [('is_company', '=', False)]}"/> |
|
|
attrs="{'invisible': [('is_company', '=', False)]}"/> |
|
|
</field> |
|
|
</field> |
|
|
</field> |
|
|
</field> |
|
|