From 00b276cc62590b22c9f7ab570d146516d9802c53 Mon Sep 17 00:00:00 2001 From: "watcha.h@almacom.co.th" Date: Tue, 12 May 2015 15:48:46 +0700 Subject: [PATCH] improve visit --- netforce_clinic/models/visit_board.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/netforce_clinic/models/visit_board.py b/netforce_clinic/models/visit_board.py index e1f886e..7ff7aa8 100644 --- a/netforce_clinic/models/visit_board.py +++ b/netforce_clinic/models/visit_board.py @@ -213,8 +213,6 @@ class VisitBoard(Model): dom+=[['state', 'in',[state]]] print('dom ', 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'): total_wait+=1 elif visit.state in ('confirmed'):