Merge branch 'production' into fix_acc
commit
9227cb7237
|
@ -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 {
|
||||||
|
|
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue