clinic/netforce_clinic/layouts/clinic_setting.xml

49 lines
2.1 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="type_code" invisible="1" readonly="1"/>
<field name="product_categ_id"/>
<field name="product_id" domain='[["categ_id.id","=",product_categ_id],["code","like",type_code]]' onchange="onchange_product"/>
<field name="description"/>
<!--<field name="account_id"/>-->
<field name="ar_credit_id"/>
<field name="ar_debit_id"/>
<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">
<group span="6" columns="1">
<separator string="Filter Product By Category Below"/>
<field name="shop_categs" noadd="1" nolabel="1">
<list>
<field name="code"/>
<field name="name"/>
</list>
</field>
</group>
</tab>
<tab string="Development">
<button string="Click Me" type="default" method="run_script" perm="clinic_setting_test"/>
</tab>
</tabs>
<foot>
</foot>
</form>