From 19bc75bcb39028ea65381a50edc121e167960e3f Mon Sep 17 00:00:00 2001
From: "Richard Mathot (OpenERP)"
Date: Tue, 4 Mar 2014 16:44:12 +0100
Subject: [PATCH] [FIX] demo data [FIX] tests [REM] outdated demo data
bzr revid: rim@openerp.com-20140304154412-2iwf8v5xoxed3yeg
---
addons/hr_evaluation/__openerp__.py | 6 +-
addons/hr_evaluation/hr_evaluation_data.xml | 592 +-----------------
.../hr_evaluation/survey_data_appraisal.xml | 1 +
.../hr_evaluation/test/test_hr_evaluation.yml | 2 +-
4 files changed, 8 insertions(+), 593 deletions(-)
diff --git a/addons/hr_evaluation/__openerp__.py b/addons/hr_evaluation/__openerp__.py
index 9d7ca256ad2..76476443e7c 100644
--- a/addons/hr_evaluation/__openerp__.py
+++ b/addons/hr_evaluation/__openerp__.py
@@ -56,10 +56,10 @@ Key Features
'report/hr_evaluation_report_view.xml',
'board_hr_evaluation_view.xml',
'survey_data_appraisal.xml',
- # 'hr_evaluation_data.xml',
- # 'hr_evaluation_installer.xml',
+ 'hr_evaluation_data.xml',
+ 'hr_evaluation_installer.xml',
],
- # "demo": ["hr_evaluation_demo.xml"],
+ "demo": ["hr_evaluation_demo.xml"],
'test': [
'test/test_hr_evaluation.yml',
'test/hr_evalution_demo.yml',
diff --git a/addons/hr_evaluation/hr_evaluation_data.xml b/addons/hr_evaluation/hr_evaluation_data.xml
index 74a8373b7e5..8fddeb6fea7 100644
--- a/addons/hr_evaluation/hr_evaluation_data.xml
+++ b/addons/hr_evaluation/hr_evaluation_data.xml
@@ -16,593 +16,7 @@
Manage employee reviews: you can define an appraisal campaign with several steps, with specific evaluation surveys according to hierarchy levels. Evaluations filled by employees may be exported as pdf files.
]]>
-
+
+
diff --git a/addons/hr_evaluation/survey_data_appraisal.xml b/addons/hr_evaluation/survey_data_appraisal.xml
index 063c70bab66..f002773d875 100644
--- a/addons/hr_evaluation/survey_data_appraisal.xml
+++ b/addons/hr_evaluation/survey_data_appraisal.xml
@@ -5,6 +5,7 @@
Employee Appraisal Form
open
+ hr_evaluation
diff --git a/addons/hr_evaluation/test/test_hr_evaluation.yml b/addons/hr_evaluation/test/test_hr_evaluation.yml
index d41250a043b..88ee3098469 100644
--- a/addons/hr_evaluation/test/test_hr_evaluation.yml
+++ b/addons/hr_evaluation/test/test_hr_evaluation.yml
@@ -2,7 +2,7 @@
I set the "Employee Evaluation" survey in open state.
-
!python {model: survey.survey}: |
- self.write(cr, uid, [ref("survey_2")], {'state': 'open'}, context)
+ self.write(cr, uid, [ref("appraisal_form")], {'state': 'open'}, context)
-
I check that state of "Employee Evaluation" survey is Open.
-