clinic/netforce_clinic/layouts/clinic_staff_form.xml

84 lines
2.9 KiB
XML
Raw Normal View History

<form model="clinic.staff">
2014-10-29 09:10:19 +00:00
<head>
<field name="state"/>
<button string="Options" dropdown="1">
<item string="Copy"/>
</button>
</head>
2014-11-27 06:04:20 +00:00
<field name="number"/>
<field name="type" required="1"/>
<field name="name"/>
<field name="name_eng"/>
<field name="nick_name"/>
<field name="department_id"/>
<field name="branch_id"/>
2014-10-29 09:10:19 +00:00
<tabs>
<tab string="General">
<group span="6" columns="1">
<field name="identification"/>
<field name="expiry_card"/>
2014-11-05 05:06:43 +00:00
<field name="gender"/>
2014-11-14 01:58:12 +00:00
<field name="birthday"/>
<field name="nation_id"/>
2014-11-02 02:13:15 +00:00
<field name="categ_id" domain="[['type','=',type]]"/>
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="employee_id"/>
2014-10-29 09:10:19 +00:00
<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>
</tab>
<tab string="Professional Information">
2014-11-25 16:31:29 +00:00
<field name="prof_license" attrs='{"invisible":[["type","in",["staff"]]]}'/>
<field name="prof_license_date" attrs='{"invisible":[["type","in",["staff"]]]}'/>
2014-11-05 05:06:43 +00:00
<field name="level_id" domain="[['type','=',type]]"/>
2014-11-25 16:31:29 +00:00
<field name="prof_license_expiry" attrs='{"invisible":[["type","in",["staff"]]]}'/>
2014-11-14 01:58:12 +00:00
<field name="cycle_id"/>
2014-11-25 16:31:29 +00:00
<field name="wage"/>
2014-11-23 13:44:25 +00:00
<field name="max_cycle"/>
2014-11-27 15:14:31 +00:00
<field name="check_max_cycle"/>
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-21 02:39:26 +00:00
<field name="addresses"/>
2014-11-14 01:58:12 +00:00
<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>
2014-11-25 16:31:29 +00:00
<field name="rotations" nolabel="1">
2014-11-14 01:58:12 +00:00
<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"/>
2014-11-23 13:44:25 +00:00
<field name="max_cycle"/>
<field name="wage"/>
2014-11-14 01:58:12 +00:00
<field name="note"/>
</list>
</field>
2014-11-25 16:31:29 +00:00
<field name="patients"/>
2014-10-29 09:10:19 +00:00
<field name="hd_cases"/>
<field name="comments"/>
</related>
</form>