39 lines
1.7 KiB
XML
39 lines
1.7 KiB
XML
<form model="clinic.setting" title="Clinic Settings">
|
|
<head>
|
|
<button string="Options" dropdown="1">
|
|
<item string="Run Script" type="default" method="run_script" perm="clinic_setting_test"/>
|
|
<!--
|
|
<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"/>
|
|
</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"/>
|
|
<separator string="Reporting"/>
|
|
<field name="product_categ_view"/>
|
|
</form>
|