bug report
parent
c95e5645bb
commit
2617a06228
|
@ -7,7 +7,7 @@
|
||||||
</head>
|
</head>
|
||||||
<group span="6" columns="1">
|
<group span="6" columns="1">
|
||||||
<field name="date"/>
|
<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="payment_id"/>
|
||||||
<field name="invoice_id" domain="[['state','=','waiting_payment']]"/>
|
<field name="invoice_id" domain="[['state','=','waiting_payment']]"/>
|
||||||
<field name="pt_conflict" help="HD Case not match patient"/>
|
<field name="pt_conflict" help="HD Case not match patient"/>
|
||||||
|
|
|
@ -151,7 +151,6 @@ class ReportHDCaseSummary(Model):
|
||||||
dom=[]
|
dom=[]
|
||||||
time_start='%s-%s-01'%(year,str(crr_month).zfill(2))
|
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)
|
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_start])
|
||||||
dom.append(['reg_date','<=',time_stop])
|
dom.append(['reg_date','<=',time_stop])
|
||||||
dom.append(['type_id','=',ptype['id']])
|
dom.append(['type_id','=',ptype['id']])
|
||||||
|
@ -161,7 +160,7 @@ class ReportHDCaseSummary(Model):
|
||||||
'month': '',
|
'month': '',
|
||||||
'qty': len(npatients),
|
'qty': len(npatients),
|
||||||
'action': 'clinic_patient',
|
'action': 'clinic_patient',
|
||||||
'action_options': 'mode=list&search_domain=%s&tab_no=2'%dom,
|
'action_options': 'mode=list&search_domain=%s'%dom,
|
||||||
}
|
}
|
||||||
count+=1
|
count+=1
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue