fix
parent
116868c022
commit
c438771dea
|
@ -984,7 +984,7 @@ class HDCase(Model):
|
|||
|
||||
dlz_id=get_model('clinic.dialyzer').create(dlz_vals)
|
||||
dialyzer=get_model("clinic.dialyzer").browse(dlz_id)
|
||||
dialyzer.confirm()
|
||||
dialyzer.validate()
|
||||
vals={
|
||||
'dlz_id': dlz_id,
|
||||
'dialyzers': [],
|
||||
|
|
|
@ -112,7 +112,7 @@ class Visit(Model):
|
|||
dlz_vals['department_id']=department_id
|
||||
dlz_id=get_model('clinic.dialyzer').create(dlz_vals)
|
||||
dialyzer=get_model("clinic.dialyzer").browse(dlz_id)
|
||||
dialyzer.confirm()
|
||||
dialyzer.validate()
|
||||
return dlz_id
|
||||
|
||||
def get_dlz(self,visit_id):
|
||||
|
|
Loading…
Reference in New Issue