xxx
parent
43b385797f
commit
51ba4bc86f
|
@ -59,6 +59,7 @@ class ReportVisit(Model):
|
||||||
doctor_id=obj.doctor_id.id
|
doctor_id=obj.doctor_id.id
|
||||||
# new patient of this month
|
# new patient of this month
|
||||||
dom=[]
|
dom=[]
|
||||||
|
dom.append(['state','=','pending'])
|
||||||
dom.append(['visit_date','>=',time_start])
|
dom.append(['visit_date','>=',time_start])
|
||||||
dom.append(['visit_date','<=',time_stop])
|
dom.append(['visit_date','<=',time_stop])
|
||||||
if patient_id:
|
if patient_id:
|
||||||
|
|
Loading…
Reference in New Issue