From 74dc9a43786b367b0c8508e2cf1c46ad50d31e4c Mon Sep 17 00:00:00 2001 From: ssi Date: Tue, 19 Oct 2010 15:08:21 +0530 Subject: [PATCH] [FIX]hr_evaluation: removed unsued variables bzr revid: ssi@tinyerp.com-20101019093821-ax5rhud1f8cna492 --- addons/hr_evaluation/hr_evaluation.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/addons/hr_evaluation/hr_evaluation.py b/addons/hr_evaluation/hr_evaluation.py index 3c5a150691e..cca922304aa 100644 --- a/addons/hr_evaluation/hr_evaluation.py +++ b/addons/hr_evaluation/hr_evaluation.py @@ -200,14 +200,12 @@ class hr_evaluation(osv.osv): for employee in employee_obj.browse(cr, uid, [employee_id], context=context): if employee and employee.evaluation_plan_id and employee.evaluation_plan_id.id: evaluation_plan_id=employee.evaluation_plan_id.id - employee_ids=employee_obj.search(cr, uid, [('parent_id','=',employee.id)], context=context) return {'value': {'plan_id':evaluation_plan_id}} def button_plan_in_progress(self, cr, uid, ids, context=None): hr_eval_inter_obj = self.pool.get('hr.evaluation.interview') if context is None: context = {} - apprai_id = [] for evaluation in self.browse(cr, uid, ids, context=context): wait = False for phase in evaluation.plan_id.phase_ids: