clinic/netforce_clinic/layouts/clinic_setting.xml

38 lines
1.5 KiB
XML

<form model="clinic.setting" title="Clinic Settings">
<tabs>
<tab string="Visit">
<field name="find_dlz"/>
</tab>
<tab 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"/>
<separator string="Expenes"/>
<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>
</tab>
<tab string="RD Shop">
<field name="shop_type_id"/>
<field name="signature"/>
</tab>
<tab string="Development">
<button string="Click Me" type="default" method="run_script" perm="clinic_setting_test"/>
</tab>
</tabs>
<foot>
</foot>
</form>