2015-01-09 05:19:52 +00:00
|
|
|
<form model="clinic.staff" show_company="1">
|
2014-10-29 09:10:19 +00:00
|
|
|
<head>
|
2015-02-08 08:48:08 +00:00
|
|
|
<field name="type"/>
|
2014-10-29 09:10:19 +00:00
|
|
|
<button string="Options" dropdown="1">
|
2015-03-20 09:00:51 +00:00
|
|
|
<!--<item string="Copy" method="copy"/>-->
|
|
|
|
<item string="New Staff Rotation" action="clinic_staff_rotate" action_options="form"/>
|
2014-10-29 09:10:19 +00:00
|
|
|
</button>
|
|
|
|
</head>
|
2014-11-27 06:04:20 +00:00
|
|
|
<field name="number"/>
|
|
|
|
<field name="type" required="1"/>
|
2015-02-24 14:59:49 +00:00
|
|
|
<field name="title_id" required="1"/>
|
2015-02-22 09:04:35 +00:00
|
|
|
<field name="nick_name"/>
|
2015-02-24 14:59:49 +00:00
|
|
|
<field name="first_name" required="1"/>
|
|
|
|
<field name="last_name" required="1"/>
|
2015-02-22 09:04:35 +00:00
|
|
|
<field name="name_eng"/>
|
2015-02-25 09:47:20 +00:00
|
|
|
<!--<field name="name"/>-->
|
2015-01-14 11:00:14 +00:00
|
|
|
<field name="company_id" invisible="1"/>
|
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-10-29 09:10:19 +00:00
|
|
|
</group>
|
|
|
|
<group span="6" columns="1">
|
2015-01-09 05:19:52 +00:00
|
|
|
<field name="image"/>
|
2014-10-29 09:10:19 +00:00
|
|
|
<field name="user_id"/>
|
2014-11-25 11:39:53 +00:00
|
|
|
<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>
|
2015-03-20 11:16:17 +00:00
|
|
|
<tab string="Departments">
|
|
|
|
<field name="departments" nolabel="1"/>
|
2015-02-24 14:59:49 +00:00
|
|
|
</tab>
|
2014-10-29 09:10:19 +00:00
|
|
|
<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"]]]}'/>
|
|
|
|
<field name="prof_license_expiry" attrs='{"invisible":[["type","in",["staff"]]]}'/>
|
2015-02-27 08:54:11 +00:00
|
|
|
</tab>
|
|
|
|
<tab string="Accounting" perm="staff_tab_account">
|
|
|
|
<field name="partner_id" domain='[["is_staff","=","true"]]'/>
|
2015-02-27 16:10:50 +00:00
|
|
|
<field name="categ_id" domain="[['type','=',type]]"/>
|
2015-02-27 08:54:11 +00:00
|
|
|
<field name="level_id" domain="[['type','=',type]]"/>
|
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"/>
|
2015-02-18 08:50:35 +00:00
|
|
|
<field name="ot_per_cycle"/>
|
2015-02-22 09:04:35 +00:00
|
|
|
</tab>
|
2014-10-29 09:10:19 +00:00
|
|
|
<tab string="Note">
|
|
|
|
<field name="note" nolabel="1"/>
|
|
|
|
</tab>
|
|
|
|
</tabs>
|
|
|
|
<related>
|
2014-11-21 02:39:26 +00:00
|
|
|
<field name="addresses"/>
|
2015-01-14 05:30:22 +00:00
|
|
|
<field name="documents"/>
|
2015-01-23 09:41:12 +00:00
|
|
|
<field name="hd_case_staffs" readonly="1" attrs='{"invisible":[["type","=","nurse"]]}'>
|
2015-01-14 05:30:22 +00:00
|
|
|
<list colors='{"#cfc":[["state","=","completed"]],"#f9e37d":[["state","=","in_progress"]],"#bcbbb9":[["state","=","cancelled"]],"#ACD1E9":[["state","=","waiting_payment"]],"#70DB93":[["state","=","paid"]]}'>
|
|
|
|
<field name="hd_case_id"/>
|
|
|
|
<field name="date"/>
|
|
|
|
<field name="patient_id"/>
|
|
|
|
<field name="patient_type_id"/>
|
|
|
|
<field name="sickbed_id"/>
|
|
|
|
<field name="cycle_id"/>
|
|
|
|
<field name="department_id"/>
|
|
|
|
<field name="state"/>
|
|
|
|
</list>
|
|
|
|
<form>
|
|
|
|
<field name="hd_case_id"/>
|
|
|
|
</form>
|
|
|
|
</field>
|
2015-04-27 10:53:47 +00:00
|
|
|
<field name="cycle_item_lines" readonly="1" attrs='{"invisible":[["type","=","doctor"]]}'>
|
|
|
|
<list colors='{"#9f9":[["cstate","=","validated"]]}'>
|
2014-12-04 02:52:49 +00:00
|
|
|
<field name="cycle_item_id"/>
|
2015-04-27 10:53:47 +00:00
|
|
|
<field name="pt_total"/>
|
|
|
|
<field name="cstate"/>
|
2014-12-04 02:52:49 +00:00
|
|
|
</list>
|
|
|
|
<form>
|
2015-04-27 10:53:47 +00:00
|
|
|
<field name="cycle_item_id" readonly="1"/>
|
|
|
|
<field name="cstate"/>
|
2014-12-04 02:52:49 +00:00
|
|
|
</form>
|
|
|
|
</field>
|
2014-10-29 09:10:19 +00:00
|
|
|
<field name="comments"/>
|
|
|
|
</related>
|
|
|
|
</form>
|