2014-10-29 09:10:19 +00:00
|
|
|
<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"/>
|
2014-11-05 05:06:43 +00:00
|
|
|
<field name="name_eng"/>
|
|
|
|
<field name="nick_name"/>
|
2014-10-29 09:10:19 +00:00
|
|
|
<field name="identification"/>
|
|
|
|
<field name="expiry_card"/>
|
|
|
|
<field name="birthday"/>
|
2014-11-05 05:06:43 +00:00
|
|
|
<field name="gender"/>
|
2014-10-29 09:10:19 +00:00
|
|
|
<field name="department_id"/>
|
2014-11-02 02:13:15 +00:00
|
|
|
<field name="categ_id" domain="[['type','=',type]]"/>
|
2014-11-05 05:06:43 +00:00
|
|
|
<field name="nation_id"/>
|
2014-10-29 09:10:19 +00:00
|
|
|
<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"/>
|
2014-11-05 05:06:43 +00:00
|
|
|
<field name="age"/>
|
2014-10-29 09:10:19 +00:00
|
|
|
<field name="active"/>
|
|
|
|
</group>
|
|
|
|
<separator string="Address Information"/>
|
|
|
|
<field name="addresses" view="form_list"/>
|
|
|
|
</tab>
|
|
|
|
<tab string="Professional Information">
|
|
|
|
<field name="prof_license"/>
|
|
|
|
<field name="prof_license_date"/>
|
2014-11-05 05:06:43 +00:00
|
|
|
<field name="level_id" domain="[['type','=',type]]"/>
|
|
|
|
<field name="prof_license_expiry"/>
|
|
|
|
<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>
|
2014-10-29 09:10:19 +00:00
|
|
|
</tab>
|
|
|
|
<tab string="Note">
|
|
|
|
<field name="note" nolabel="1"/>
|
|
|
|
</tab>
|
|
|
|
</tabs>
|
|
|
|
<related>
|
2014-11-05 05:06:43 +00:00
|
|
|
<field name="documents"/>
|
2014-11-02 03:38:17 +00:00
|
|
|
<field name="patients" attrs='{"invisible":[["type","in",["nurse","other"]]]}'/>
|
|
|
|
<field name="nurse_visits" attrs='{"invisible":[["type","in",["doctor","other"]]]}'/>
|
|
|
|
<field name="doctor_visits" attrs='{"invisible":[["type","in",["nurse","other"]]]}'/>
|
2014-10-29 09:10:19 +00:00
|
|
|
<field name="hd_cases"/>
|
|
|
|
<field name="comments"/>
|
|
|
|
</related>
|
|
|
|
</form>
|