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