summaryrefslogtreecommitdiff
path: root/addons/hr_recruitment_survey
diff options
context:
space:
mode:
authorVictor Feyens <vfe@odoo.com>2019-03-28 16:46:44 +0000
committerVictor Feyens <vfe@odoo.com>2019-04-25 14:17:45 +0000
commit50caae5bc02bc6eaa1b4a4dfd965c84c940bb84b (patch)
tree15b80bf599dc2bf615e2621566370d41d28f99b9 /addons/hr_recruitment_survey
parent28e1686bc5c862802162606527a190e344014591 (diff)
[REF] survey: replace dynamic survey.stage by a static state on survey.survey
Stages modification through the clickable statusbar wasn't very intuitive. By fixing default behavior through states (and corresponding buttons), default user experience is simplified. 3 static states available : draft, open, closed Form view: navigation through states with buttons Kanban view: disabled modification of survey state Task ID : 1949110 closes odoo/odoo#32325 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/hr_recruitment_survey')
-rw-r--r--addons/hr_recruitment_survey/data/survey_demo.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/hr_recruitment_survey/data/survey_demo.xml b/addons/hr_recruitment_survey/data/survey_demo.xml
index 08b93472297..71678f56c3c 100644
--- a/addons/hr_recruitment_survey/data/survey_demo.xml
+++ b/addons/hr_recruitment_survey/data/survey_demo.xml
@@ -2,7 +2,7 @@
<odoo><data noupdate="1">
<record id="survey_recruitment_form" model="survey.survey">
<field name="title">Recruitment Form</field>
- <field name="stage_id" ref="survey.stage_in_progress"/>
+ <field name="state">open</field>
<field name="access_mode">token</field>
<field name="category">hr_recruitment</field>
<field name="users_can_go_back" eval="True"/>