[IMP] Evaluation Progress Bar Working on Each Survey Interview Answer

bzr revid: jam@tinyerp.com-20101015072137-pguuqy64fgfxsc0f
This commit is contained in:
jam-openerp 2010-10-15 12:51:37 +05:30
parent f6e8bcff47
commit b39b68b7a5
1 changed files with 1 additions and 1 deletions

View File

@ -334,7 +334,7 @@ class hr_evaluation_interview(osv.osv):
for id in self.browse(cr, uid, ids, context=context):
flag = False
wating_id = 0
tot_done_req = 0
tot_done_req = 1
if not id.evaluation_id.id:
raise osv.except_osv(_('Warning !'),_("You cannot start evaluation without Evaluation."))
records = hr_eval_obj.browse(cr, uid, [id.evaluation_id.id], context=context)[0].survey_request_ids