diff --git a/addons/hr_evaluation/hr_evaluation.py b/addons/hr_evaluation/hr_evaluation.py index 6e1983d7a11..27b36341284 100644 --- a/addons/hr_evaluation/hr_evaluation.py +++ b/addons/hr_evaluation/hr_evaluation.py @@ -167,7 +167,6 @@ class hr_evaluation(osv.osv): ('cancel','Cancelled'), ], 'State', required=True, readonly=True), 'date_close': fields.date('Ending Date', select=True), - 'progress': fields.float("Progress"), } _defaults = { 'date': lambda *a: (parser.parse(datetime.now().strftime('%Y-%m-%d')) + relativedelta(months =+ 1)).strftime('%Y-%m-%d'), @@ -245,7 +244,6 @@ class hr_evaluation(osv.osv): return True def button_done(self,cr, uid, ids, context=None): - self.write(cr, uid, ids,{'progress': 1 * 100}, context=context) self.write(cr, uid, ids,{'state':'done', 'date_close': time.strftime('%Y-%m-%d')}, context=context) return True @@ -312,7 +310,6 @@ class hr_evaluation_interview(osv.osv): for id in self.browse(cr, uid, ids, context=context): flag = False wating_id = 0 - tot_done_req = 1 if not id.evaluation_id.id: raise osv.except_osv(_('Warning !'),_("You cannot start evaluation without Appraisal.")) records = hr_eval_obj.browse(cr, uid, [id.evaluation_id.id], context=context)[0].survey_request_ids @@ -322,11 +319,8 @@ class hr_evaluation_interview(osv.osv): continue if child.state != "done": flag = True - else: - tot_done_req += 1 if not flag and wating_id: self.survey_req_waiting_answer(cr, uid, [wating_id], context=context) - hr_eval_obj.write(cr, uid, [id.evaluation_id.id], {'progress': tot_done_req * 100 / len(records)}, context=context) self.write(cr, uid, ids, { 'state': 'done'}, context=context) return True diff --git a/addons/hr_evaluation/hr_evaluation_data.xml b/addons/hr_evaluation/hr_evaluation_data.xml index ec4b46f8a62..bf482d2fcd7 100644 --- a/addons/hr_evaluation/hr_evaluation_data.xml +++ b/addons/hr_evaluation/hr_evaluation_data.xml @@ -2,7 +2,7 @@ - Employee Appraisal + Self Appraisal 20 @@ -1157,37 +1157,11 @@ Once the form had been filled, the employee send it to his supervisor. - - - Send to Subordinates - - - - bottom-up - - - - - - - - - Send to Managers - - - - top-down - - - - - - Send to Employee - + self @@ -1196,19 +1170,6 @@ Once the form had been filled, the employee send it to his supervisor. - - - Final Interview With Manager - - - - final - - - - - - diff --git a/addons/hr_evaluation/hr_evaluation_view.xml b/addons/hr_evaluation/hr_evaluation_view.xml index 8a2aebcacdc..e1dd5e0b96f 100644 --- a/addons/hr_evaluation/hr_evaluation_view.xml +++ b/addons/hr_evaluation/hr_evaluation_view.xml @@ -160,15 +160,14 @@ - - + - +
@@ -190,11 +189,11 @@
- + - +
@@ -303,7 +302,6 @@