bug report

conv_bal
watcha.h 2014-12-05 00:07:11 +07:00
parent c95e5645bb
commit 2617a06228
2 changed files with 2 additions and 3 deletions

View File

@ -7,7 +7,7 @@
</head>
<group span="6" columns="1">
<field name="date"/>
<field name="hd_case_id" domain="[['state','=','completed']]"/>
<field name="hd_case_id" domain="[['state','=','waiting_payment']]"/>
<field name="payment_id"/>
<field name="invoice_id" domain="[['state','=','waiting_payment']]"/>
<field name="pt_conflict" help="HD Case not match patient"/>

View File

@ -151,7 +151,6 @@ class ReportHDCaseSummary(Model):
dom=[]
time_start='%s-%s-01'%(year,str(crr_month).zfill(2))
time_stop='%s-%s-%s'%(year,str(crr_month).zfill(2),crr_total_day)
print(time_start, ' ', time_stop, crr_total_day, crr_month,)
dom.append(['reg_date','>=',time_start])
dom.append(['reg_date','<=',time_stop])
dom.append(['type_id','=',ptype['id']])
@ -161,7 +160,7 @@ class ReportHDCaseSummary(Model):
'month': '',
'qty': len(npatients),
'action': 'clinic_patient',
'action_options': 'mode=list&search_domain=%s&tab_no=2'%dom,
'action_options': 'mode=list&search_domain=%s'%dom,
}
count+=1