diff options
| author | Odoo's Mergebot <robodoo@odoo.com> | 2020-08-04 08:44:36 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-04 08:44:36 +0200 |
| commit | ee623f1f260873c5717ccc04a53f1c67fc9b78f4 (patch) | |
| tree | f3ea972d664a32ce96e8b4b3fef5be2888de4a07 /addons/mail/static/src/models/thread_cache | |
| parent | 12f035db8b0d6257bc4820e49f0681628506d645 (diff) | |
| parent | 0941f784ef325fdafe0cfc3400a4f519cb44f0aa (diff) | |
[FW][MERGE][FIX] survey: apply multiple fix on conditional configuration and free text section
PURPOSE
Purpose of this merge is to provide several fixes to survey application
notably on conditional configuration and free text sections.
SPECIFICATIONS
This merge fixes multiple issues :
- Free text section display depending of conditional configuration and user input :
For page_per_question and page_per_section layout :
- If the section has a description:
- If the section is empty: show the section
- If the section has questions,
- If any of the section's questions is active: show the section
- Else: hide the section
- Do not compute last question based on conditional questions in session manager
- Do not show leaderboards if no nickname question in survey (if attendees cannot identify themselves).
- Block shortcut key selection after question answered (or time limit ran out) in session mode.
- Only display section if contains questions or description, even on non conditional survey ( + in breadcrumb, in print mode)
- Display only answered question in survey review mode
- Avoid auto Submit when selecting other option
- Restore mistakenly removed back buttons
- Fix is_last_page_or_question
The current question is the last one only if:
- There are no active questions that follows
- AND the current question is not conditionning the display of other questions
See sub-commits for more details.
Task ID-2225393
closes odoo/odoo#55026
Forward-port-of: odoo/odoo#48978
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/mail/static/src/models/thread_cache')
0 files changed, 0 insertions, 0 deletions
