81 lines
3.0 KiB
XML
81 lines
3.0 KiB
XML
<form model="clinic.personal">
|
|
<head>
|
|
<field name="state"/>
|
|
<button string="Options" dropdown="1">
|
|
<item string="Copy"/>
|
|
</button>
|
|
</head>
|
|
<tabs>
|
|
<tab string="General">
|
|
<group span="6" columns="1">
|
|
<field name="type" required="1"/>
|
|
<field name="number"/>
|
|
<field name="name"/>
|
|
<field name="name_eng"/>
|
|
<field name="nick_name"/>
|
|
<field name="identification"/>
|
|
<field name="expiry_card"/>
|
|
<field name="gender"/>
|
|
<field name="birthday"/>
|
|
<field name="nation_id"/>
|
|
<field name="department_id"/>
|
|
<field name="categ_id" domain="[['type','=',type]]"/>
|
|
<field name="state"/>
|
|
</group>
|
|
<group span="6" columns="1">
|
|
<field name="picture"/>
|
|
<field name="user_id"/>
|
|
<field name="email"/>
|
|
<field name="mobile"/>
|
|
<field name="phone"/>
|
|
<field name="age"/>
|
|
<field name="active"/>
|
|
</group>
|
|
<separator string="Address Information"/>
|
|
<field name="addresses" view="form_list"/>
|
|
</tab>
|
|
<tab string="Professional Information">
|
|
<field name="prof_license" attrs='{"invisible":[["type","in",["personal"]]]}'/>
|
|
<field name="prof_license_date" attrs='{"invisible":[["type","in",["personal"]]]}'/>
|
|
<field name="level_id" domain="[['type','=',type]]"/>
|
|
<field name="prof_license_expiry" attrs='{"invisible":[["type","in",["personal"]]]}'/>
|
|
<field name="cycle_id"/>
|
|
</tab>
|
|
<tab string="Note">
|
|
<field name="note" nolabel="1"/>
|
|
</tab>
|
|
</tabs>
|
|
<related>
|
|
<field name="documents"/>
|
|
<field name="cycles" nolabel="1">
|
|
<list>
|
|
<field name="cycle_id"/>
|
|
<field name="name"/>
|
|
<field name="date"/>
|
|
</list>
|
|
<form>
|
|
<field name="cycle_id"/>
|
|
<field name="name"/>
|
|
<field name="date"/>
|
|
</form>
|
|
</field>
|
|
|
|
<field name="moves" nolabel="1">
|
|
<list>
|
|
<field name="level_id" domain="[['type','=',parent.type]]"/>
|
|
<field name="from_company_id"/>
|
|
<field name="to_company_id"/>
|
|
<field name="hire_date"/>
|
|
<field name="resign_date"/>
|
|
<!--<field name="wage"/>-->
|
|
<field name="note"/>
|
|
</list>
|
|
</field>
|
|
<field name="patients" attrs='{"invisible":[["type","in",["nurse","other"]]]}'/>
|
|
<field name="nurse_visits" attrs='{"invisible":[["type","in",["doctor","personal"]]]}'/>
|
|
<field name="doctor_visits" attrs='{"invisible":[["type","in",["nurse","personal"]]]}'/>
|
|
<field name="hd_cases"/>
|
|
<field name="comments"/>
|
|
</related>
|
|
</form>
|