102 lines
3.3 KiB
XML
102 lines
3.3 KiB
XML
<form model="clinic.staff" show_company="1">
|
|
<head>
|
|
<field name="state"/>
|
|
<button string="Options" dropdown="1">
|
|
<item string="Copy"/>
|
|
</button>
|
|
</head>
|
|
<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"/>
|
|
<field name="company_id" invisible="1"/>
|
|
<tabs>
|
|
<tab string="General">
|
|
<group span="6" columns="1">
|
|
<field name="identification"/>
|
|
<field name="expiry_card"/>
|
|
<field name="gender"/>
|
|
<field name="birthday"/>
|
|
<field name="nation_id"/>
|
|
<field name="categ_id" domain="[['type','=',type]]"/>
|
|
<field name="state"/>
|
|
</group>
|
|
<group span="6" columns="1">
|
|
<field name="image"/>
|
|
<field name="user_id"/>
|
|
<field name="employee_id"/>
|
|
<field name="email"/>
|
|
<field name="mobile"/>
|
|
<field name="phone"/>
|
|
<field name="age"/>
|
|
<field name="active"/>
|
|
</group>
|
|
</tab>
|
|
<tab string="Professional Information">
|
|
<field name="prof_license" attrs='{"invisible":[["type","in",["staff"]]]}'/>
|
|
<field name="prof_license_date" attrs='{"invisible":[["type","in",["staff"]]]}'/>
|
|
<field name="level_id" domain="[['type','=',type]]"/>
|
|
<field name="prof_license_expiry" attrs='{"invisible":[["type","in",["staff"]]]}'/>
|
|
<field name="cycle_id"/>
|
|
<field name="wage"/>
|
|
<field name="max_cycle"/>
|
|
<field name="check_max_cycle"/>
|
|
</tab>
|
|
<tab string="Note">
|
|
<field name="note" nolabel="1"/>
|
|
</tab>
|
|
</tabs>
|
|
<related>
|
|
<field name="documents"/>
|
|
<field name="addresses"/>
|
|
<!--
|
|
<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="rotations" 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="max_cycle"/>
|
|
<field name="wage"/>
|
|
<field name="note"/>
|
|
</list>
|
|
</field>
|
|
<field name="hd_case_staffs">
|
|
<list>
|
|
<field name="hd_case_id"/>
|
|
</list>
|
|
<form>
|
|
<field name="hd_case_id"/>
|
|
</form>
|
|
</field>
|
|
<field name="cycle_item_nurses">
|
|
<list>
|
|
<field name="cycle_item_id"/>
|
|
</list>
|
|
<form>
|
|
<field name="cycle_item_id"/>
|
|
</form>
|
|
</field>
|
|
<field name="patients"/>
|
|
<field name="comments"/>
|
|
</related>
|
|
</form>
|