diff options
| author | David Beguin <dbe@odoo.com> | 2020-03-27 08:33:07 +0000 |
|---|---|---|
| committer | Aurélien Warnon <awa@odoo.com> | 2020-03-27 15:03:49 +0000 |
| commit | e8f0475a38c8da2801656cfa23c21a5d8816e3b8 (patch) | |
| tree | a57ab3452fd8470658b698ccd28a6958c47afedc /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 826a25c7d1896414721f4ff8d1ce57795ad5e030 (diff) | |
[FIX] survey: skip section with no active questions (in conditional questions)
This commit applies conditional questions management on the
"_get_next_page_or_question" method in "page_per_section" questions layout.
We choose the first section that has at least one active question when
searching the next section to display.
Indeed, a whole section could contain only disabled questions based on the
previously selected answers of the attendee.
(The logic is obviously reverted when "go_back" is True).
PR #48442
Task ID 2208574
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
