diff --git a/netforce_clinic/models/patient.py b/netforce_clinic/models/patient.py index f047da4..cb1730b 100644 --- a/netforce_clinic/models/patient.py +++ b/netforce_clinic/models/patient.py @@ -570,8 +570,8 @@ class Patient(Model): res=get_model('clinic.staff').search([['number','=','walkin'],['type','=','doctor']]) if res: data['doctor_id']=res[0] - else: - data['doctor_id']=None + #else: + #data['doctor_id']=None return data Patient.register()