2015-08-21 08:15:53 +00:00
|
|
|
<form model="clinic.payment.matching">
|
|
|
|
<!--<field name="date" span="2" mode="month"/>-->
|
|
|
|
<group form_layout="stacked">
|
|
|
|
<separator string="Invoice Filter"/>
|
|
|
|
<field name="period_id" onchange="onchange_period" domain='[["state","=","open"]]' span="2"/>
|
|
|
|
<field name="date_from" span="2"/>
|
|
|
|
<field name="date_to" span="2"/>
|
|
|
|
<field name="inv_state" span="2"/>
|
|
|
|
<field name="branch_id" span="2"/>
|
|
|
|
<field name="department_id" domain='[["branch_id","=",branch_id]]' span="2"/>
|
|
|
|
</group>
|
|
|
|
<separator string="Document Mathing"/>
|
|
|
|
<field name="view_type" span="2"/>
|
2015-08-24 09:45:12 +00:00
|
|
|
<button string="Copy Invoice To Payment" icon="arrow-right"/>
|
|
|
|
<group form_layout="stacked" attrs='{"invisible":[["view_type","=","invoice"]]}'>
|
|
|
|
<field name="file_id" span="2"/>
|
|
|
|
<field name="patient_type_id" onchange="onchange_ptype" span="2" attrs='{"required":[["view_type","=","matching"]]}'/>
|
|
|
|
<field name="pcode" span="2" attrs='{"required":[["view_type","=","matching"]]}'/>
|
|
|
|
<field name="hcode_id" span="2" attrs='{"required":[["pcode","=","SSO"]],"invisible":[["pcode","!=","SSO"]]}'/>
|
|
|
|
</group>
|
2015-08-21 08:15:53 +00:00
|
|
|
</form>
|