Merge branch 'production' into fix_acc

fix_acc
watcha.h 2015-08-18 13:51:00 +07:00
commit 9227cb7237
2 changed files with 3 additions and 3 deletions

View File

@ -1083,7 +1083,7 @@ class HDCase(Model):
def request_fee(self,ids,context={}): def request_fee(self,ids,context={}):
obj=self.browse(ids)[0] obj=self.browse(ids)[0]
#obj.update_usetime() obj.update_usetime()
obj.complete() obj.complete()
# send some message to anyboby: patient # send some message to anyboby: patient
return { return {

View File

@ -570,8 +570,8 @@ class Patient(Model):
res=get_model('clinic.staff').search([['number','=','walkin'],['type','=','doctor']]) res=get_model('clinic.staff').search([['number','=','walkin'],['type','=','doctor']])
if res: if res:
data['doctor_id']=res[0] data['doctor_id']=res[0]
else: #else:
data['doctor_id']=None #data['doctor_id']=None
return data return data
Patient.register() Patient.register()