From ae3d3bd4d4611c4f0a2aae5ba30b8c68b6b715aa Mon Sep 17 00:00:00 2001 From: "Richard Mathot (OpenERP)" Date: Mon, 21 Oct 2013 16:56:33 +0200 Subject: [PATCH] [FIX] compatibility with survey bzr revid: rim@openerp.com-20131021145633-f61radfexcgcynw5 --- .../board_hr_evaluation_view.xml | 2 +- addons/hr_evaluation/hr_evaluation.py | 2 +- addons/hr_evaluation/hr_evaluation_view.xml | 26 +++++++++---------- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/addons/hr_evaluation/board_hr_evaluation_view.xml b/addons/hr_evaluation/board_hr_evaluation_view.xml index 3ad39d3805b..02ebcce1016 100644 --- a/addons/hr_evaluation/board_hr_evaluation_view.xml +++ b/addons/hr_evaluation/board_hr_evaluation_view.xml @@ -7,7 +7,7 @@ hr.evaluation.interview form - [('is_evaluation' ,'=', True), ('user_id', '=', uid),('state','=','waiting_answer')] + [('is_evaluation' ,'=', True), ('state','=','wait')] diff --git a/addons/hr_evaluation/hr_evaluation.py b/addons/hr_evaluation/hr_evaluation.py index f50295cf791..a6aea70be0c 100644 --- a/addons/hr_evaluation/hr_evaluation.py +++ b/addons/hr_evaluation/hr_evaluation.py @@ -304,7 +304,7 @@ class hr_evaluation_interview(osv.osv): return res def survey_req_waiting_answer(self, cr, uid, ids, context=None): - self.write(cr, uid, ids, { 'state': 'waiting_answer'}, context=context) + self.write(cr, uid, ids, { 'state': 'wait'}, context=context) return True def survey_req_done(self, cr, uid, ids, context=None): diff --git a/addons/hr_evaluation/hr_evaluation_view.xml b/addons/hr_evaluation/hr_evaluation_view.xml index 90dc0021bb4..76d1e1ed778 100644 --- a/addons/hr_evaluation/hr_evaluation_view.xml +++ b/addons/hr_evaluation/hr_evaluation_view.xml @@ -183,7 +183,7 @@
-
@@ -200,7 +200,7 @@
-
@@ -288,24 +288,24 @@
@@ -336,12 +336,12 @@ -