summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/models/thread_cache
diff options
context:
space:
mode:
authorDavid Beguin <dbe@odoo.com>2020-04-03 09:56:19 +0000
committerThibault Delavallée <tde@odoo.com>2020-07-28 08:03:30 +0000
commitcb67ff261f6f4fbd103d20dfbbe8535d6098d545 (patch)
tree6537103d2b515fc8984f244b936d9f5c08d82708 /addons/mail/static/src/models/thread_cache
parent12f035db8b0d6257bc4820e49f0681628506d645 (diff)
[FIX] survey: apply conditional configuration to free text section
As section with description are now considered as potential questions to display, the method to get the next question to display needs to check if the next section should be displayed or not, depending on conditional configuration and user inputs. For page_per_question and page_per_section layout, the following rule now applies: If the section is empty (has no sub-questions): Show it if section has description, else skip it. (in both layout) If the section has sub-questions: If a least one sub-question is active: In page per section: show it. In page per question: show if section has description, else skip it. If no active sub-question: Hide it. Apply also empty section rules to non conditional survey : If a section is empty (no description and no active questions inside), the section should not be displayed. Task ID: 2230980 X-original-commit: f0ce3623e3cfc2451e3f7359ec09399e6e474c10
Diffstat (limited to 'addons/mail/static/src/models/thread_cache')
0 files changed, 0 insertions, 0 deletions