From: apa-tiny Date: Thu, 21 Jan 2010 06:00:41 +0000 (+0530) Subject: [IMP]:hr_evaluation:Set domain in Phase for particular plan and also improved the... X-Git-Tag: 6.0.0-rc1-addons~1676^2~3 X-Git-Url: http://git.inspyration.org/?a=commitdiff_plain;h=e1fa59e1e24b12b33b250138b9389c8c068f6af6;p=odoo%2Fodoo.git [IMP]:hr_evaluation:Set domain in Phase for particular plan and also improved the view of hr_evaluation. bzr revid: apa@tinyerp.com-20100121060041-k7131au9ve6l6ocp --- diff --git a/addons/hr_evaluation/hr_evaluation.py b/addons/hr_evaluation/hr_evaluation.py index df24164..41056d7 100644 --- a/addons/hr_evaluation/hr_evaluation.py +++ b/addons/hr_evaluation/hr_evaluation.py @@ -52,7 +52,7 @@ class hr_evaluation_plan_phase(osv.osv): ('bottom-up','Bottom-Up Appraisal Requests'), ('self','Self Appraisal Requests'), ('final','Final Interview')], 'Action', required=True), - 'survey_id': fields.many2one('survey','Appraisal Form'), + 'survey_id': fields.many2one('survey','Appraisal Form',required=True), 'send_answer_manager': fields.boolean('All Answers', help="Send all answers to the manager"), 'send_answer_employee': fields.boolean('All Answers', diff --git a/addons/hr_evaluation/hr_evaluation_view.xml b/addons/hr_evaluation/hr_evaluation_view.xml index 451763f..58aa5f4 100644 --- a/addons/hr_evaluation/hr_evaluation_view.xml +++ b/addons/hr_evaluation/hr_evaluation_view.xml @@ -54,6 +54,7 @@ form
+ @@ -124,7 +125,7 @@ - +