42 lines
1.8 KiB
XML
42 lines
1.8 KiB
XML
<form model="clinic.setting" title="Clinic Settings">
|
|
<head>
|
|
<button string="Options" dropdown="1">
|
|
<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?"/>
|
|
</button>
|
|
</head>
|
|
<separator string="Visit"/>
|
|
<group form_layout="stacked">
|
|
<field name="find_dlz"/>
|
|
<newline/>
|
|
<field name="auto_gen_visit" string="Next Gen"/>
|
|
<field name="next_date" span="3"/>
|
|
</group>
|
|
<separator string="HD Case"/>
|
|
<group form_layout="stacked">
|
|
<!--<field name="waiting_approval" span="3"/>-->
|
|
<!--<field name="real_time" span="3"/>-->
|
|
<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"/>
|
|
<tabs>
|
|
<tab string="Development">
|
|
<button string="Click Me" type="default" method="run_script" perm="clinic_setting_test"/>
|
|
</tab>
|
|
</tabs>
|
|
</form>
|