improve visit
							parent
							
								
									685f477675
								
							
						
					
					
						commit
						00b276cc62
					
				| 
						 | 
				
			
			@ -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'):
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue