2017-11-03 11:17:21 +01:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<odoo>
|
|
|
|
<record id="view_form_coworker" model="ir.ui.view">
|
|
|
|
<field name="name">coworker Form</field>
|
|
|
|
<field name="model">coworker</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<form string="Coworker">
|
|
|
|
<sheet>
|
|
|
|
<group name="group_top">
|
|
|
|
<group name="group_left">
|
|
|
|
<field name="create_date" readonly="1"/>
|
|
|
|
<field name="name"/>
|
|
|
|
<field name="firstname"/>
|
|
|
|
<field name="coworkertype"/>
|
2017-11-03 11:30:30 +01:00
|
|
|
<field name="companyname"/>
|
|
|
|
<field name="job" attrs="{'invisible': [('companyname', '=', False)], 'required': [('companyname', '!=', True)]}" />
|
2017-11-03 11:17:21 +01:00
|
|
|
</group>
|
|
|
|
<group name="group_right">
|
|
|
|
<field name="street"/>
|
|
|
|
<field name="postalcode"/>
|
|
|
|
<field name="city"/>
|
|
|
|
<field name="gsm"/>
|
|
|
|
<field name="phonenumber"/>
|
|
|
|
<field name="email"/>
|
|
|
|
<field name="url"/>
|
|
|
|
</group>
|
|
|
|
<field name="note"/>
|
|
|
|
<field name="is_done"/>
|
|
|
|
<field name="active" readonly="1"/>
|
|
|
|
</group>
|
|
|
|
</sheet>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
</odoo>
|