Merge branch 'production' into fix_acc
commit
9227cb7237
|
@ -1083,7 +1083,7 @@ class HDCase(Model):
|
|||
|
||||
def request_fee(self,ids,context={}):
|
||||
obj=self.browse(ids)[0]
|
||||
#obj.update_usetime()
|
||||
obj.update_usetime()
|
||||
obj.complete()
|
||||
# send some message to anyboby: patient
|
||||
return {
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue