improve visit

conv_bal
watcha.h@almacom.co.th 2015-05-12 15:48:46 +07:00
parent 685f477675
commit 00b276cc62
1 changed files with 0 additions and 2 deletions

View File

@ -213,8 +213,6 @@ class VisitBoard(Model):
dom+=[['state', 'in',[state]]] dom+=[['state', 'in',[state]]]
print('dom ', dom) print('dom ', dom)
for visit in get_model("clinic.visit").search_browse(dom): for visit in get_model("clinic.visit").search_browse(dom):
if visit.patient_id.id==1282:
print("OK ", visit.patient_id.name)
if visit.state in ('draft','pending'): if visit.state in ('draft','pending'):
total_wait+=1 total_wait+=1
elif visit.state in ('confirmed'): elif visit.state in ('confirmed'):