conv_bal
watcha.h 2015-02-10 15:30:21 +07:00
parent 116868c022
commit c438771dea
2 changed files with 2 additions and 2 deletions

View File

@ -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': [],

View File

@ -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):