2014-10-22 03:45:23 +00:00
<form model= "clinic.setting" title= "Clinic Settings" >
2015-03-24 02:51:02 +00:00
<head >
<button string= "Options" dropdown= "1" >
2015-04-03 08:04:49 +00:00
<item string= "Run Script" type= "default" method= "run_script" perm= "clinic_setting_test" />
2015-03-24 03:56:24 +00:00
<item string= "Manual Generate Visit" perm= "clinic_gen_visit" method= "manual_generate_visit" confirm= "This action will remove all pending visit of this month and generate new one. Are you sure?" />
2015-03-24 02:51:02 +00:00
</button>
</head>
2015-03-23 07:11:09 +00:00
<separator string= "Visit" />
2015-03-24 02:51:02 +00:00
<group form_layout= "stacked" >
<field name= "find_dlz" />
<newline />
<field name= "auto_gen_visit" string= "Next Gen" />
<field name= "next_date" span= "3" />
</group>
2015-03-23 07:11:09 +00:00
<separator string= "HD Case" />
<group form_layout= "stacked" >
2015-03-24 02:51:02 +00:00
<!-- <field name="waiting_approval" span="3"/> -->
<!-- <field name="real_time" span="3"/> -->
2015-03-23 07:11:09 +00:00
<field name= "auto_gen" invisible= "1" span= "3" />
<field name= "products" nolabel= "1" >
<list >
<field name= "patient_type_id" onchange= "onchange_ptype" />
<field name= "product_categ_id" />
<field name= "product_id" domain= '[["categ_id.id","=",product_categ_id],["patient_types.id","=",patient_type_id]]' onchange= "onchange_product" />
<field name= "description" />
<field name= "reimbursable" />
<field name= "uom_id" />
<field name= "price" onchange= "onchange_setting_line" />
<field name= "qty" onchange= "onchange_setting_line" />
<field name= "amount" />
</list>
</field>
</group>
<separator string= "RD Shop" />
<field name= "shop_type_id" />
<field name= "signature" />
2014-09-11 03:21:52 +00:00
</form>