diff options
| author | David Beguin <dbe@odoo.com> | 2019-04-08 09:30:15 +0000 |
|---|---|---|
| committer | David Beguin <dbe@odoo.com> | 2019-11-19 12:52:22 +0000 |
| commit | 3bb4ac8dc6ec1271c789bb36253cb880e596806a (patch) | |
| tree | 02837a859ec066935b73a8b191a8e9ed1880f1f0 /addons/project/data/project_mail_template_data.xml | |
| parent | b1e32976a6297daf2fd5200230c45fe823d26f15 (diff) | |
[IMP-REF] survey : refactor questions naming, validation and save flow
This commit simplifies the answer_tag and question name
by removing the survey_id (uses now only question id) for the most simple cases
Factorise the save and validate survey answers to avoid duplicate code
Review posted submit data :
- process all questions by question type (instead of using form data
(key,value) that needed key parsing and was un-typed)
- regroup answers by questions and adapt all validation and save flow
- remove post data in save and validate question methods
and uses directly the answer(s)
- remove useless input names
The tests have been adapted consequently
Task ID : 1930132
PR #32419
Diffstat (limited to 'addons/project/data/project_mail_template_data.xml')
0 files changed, 0 insertions, 0 deletions
