diff options
| author | Thibault Delavallée <tde@odoo.com> | 2019-11-21 15:27:40 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2019-12-05 15:21:28 +0000 |
| commit | 1e66894042a3920179f14f19b50b692845f3a004 (patch) | |
| tree | 8330ba699ada5672f85a5cc4683a9e503694965e /addons/hr_recruitment_survey | |
| parent | 7edeb24de91ade5e21ba7542d32e97f023ec0c1b (diff) | |
[REF] survey: on survey.survey, rename some fields to ease understanding
PURPOSE
As new features are about to land in survey, notably live interactions [1]
and new survey building [2] performing a pre cleaning is necessary. In this
PR we clean survey models by: removing unnecessary fields, cleaning some code
and finally renaming models.
SPECIFICATIONS: RENAME THANKS_YOU_MESSAGE ON SURVEY.SURVEY
On survey.survey, rename thanks_you_message to description_done
In this commit we rename thanks_you_message field. Indeed for certifications
or recruitment form, "thank you" is not really the unique content you
would get in a post-survey message. We therefore rename it to description_done
to better indicate its use.
SPECIFICATIONS: RENAME CERTIFICATE ON SURVEY.SURVEY
On survey.survey, rename certificate field to certification
All certification related fields on survey model begin with certification_ .
Only the boolean one telling if a survey is a certification or not is called
certificate. In order to ease grep and ordering it is renamed to certification.
SPECIFICATIONS: RENAME PASSING_SCORE ON SURVEY.SURVEY
on survey.survey, rename passing_score field to scoring_success_min
``passing_score`` field name is not really the best name we could find.
Renaming the field using a ``scoring_`` prefix allow to know this field
is linked to the scoring mechanism.
LINKS
[0] Related to Task ID 2061901 (survey models cleaning and preparation)
[1] Task ID 1972640 (live interactions)
[2] Task ID 2119587 (new frontend for building surveys)
PR #40765
Diffstat (limited to 'addons/hr_recruitment_survey')
| -rw-r--r-- | addons/hr_recruitment_survey/data/survey_demo.xml | 2 |
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 11f02802989..485fcc98f3b 100644 --- a/addons/hr_recruitment_survey/data/survey_demo.xml +++ b/addons/hr_recruitment_survey/data/survey_demo.xml @@ -9,7 +9,7 @@ <p> Please answer those questions to help recruitment officers to preprocess your application. </p></field> - <field name="thank_you_message" type="html"> + <field name="description_done" type="html"> <p> Thank you for answering this survey. We will come back to you soon. </p></field> |
