2017-11-24 10:05:18 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
|
|
|
<odoo>
|
|
|
|
<!-- Form -->
|
|
|
|
<record id="view_form_res_partner" model="ir.ui.view">
|
2017-11-24 18:49:25 +01:00
|
|
|
<field name="name">>res.partner.form.inherit</field>
|
2017-11-24 11:32:03 +01:00
|
|
|
<field name="model">res.partner</field>
|
2017-11-24 11:54:31 +01:00
|
|
|
<field name="inherit_id" ref ="base.view_partner_form" />
|
2017-11-24 10:05:18 +01:00
|
|
|
<field name="arch" type="xml">
|
2017-11-24 18:49:25 +01:00
|
|
|
|
2017-11-27 14:52:39 +01:00
|
|
|
<field name="is_company" position="before">
|
2017-11-27 14:24:15 +01:00
|
|
|
<field name="is_coworker" widget="radio" class="oe_edit_only" options="{'horizontal': true}"/>
|
2017-11-27 14:52:39 +01:00
|
|
|
</field>
|
2017-11-27 14:24:15 +01:00
|
|
|
|
2017-11-24 18:49:25 +01:00
|
|
|
<field name="parent_id" position="after">
|
2017-11-27 14:52:39 +01:00
|
|
|
<field name="coworker_type" attrs="{'invisible': [('is_coworker','!=', 'is_coworker')]}" />
|
|
|
|
<field name="contact_date" attrs="{'invisible': [('is_coworker','!=', 'is_coworker')]}"/>
|
2017-11-24 18:49:25 +01:00
|
|
|
</field>
|
|
|
|
|
|
|
|
<field name="email" position="after">
|
|
|
|
<field name="url" />
|
|
|
|
</field>
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-11-24 10:05:18 +01:00
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
</odoo>
|