summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/models/thread_cache/thread_cache.js
diff options
context:
space:
mode:
authorDavid Beguin <dbe@odoo.com>2020-04-16 12:00:09 +0000
committerThibault Delavallée <tde@odoo.com>2020-07-28 08:03:34 +0000
commitf0f7f888d39970cc197a9627ebc0dfd1118ea540 (patch)
tree07b4def1d5618878a8b88ece455db29243ba19b6 /addons/mail/static/src/models/thread_cache/thread_cache.js
parent2efc4678bca33da5a09078e54e3c06d2f96ffa7a (diff)
[FIX] survey: display only answered question in survey review mode
Unanswered questions or sections are now hidden in the survey review mode. Only the question answered by the user will be visible. If the survey was done during a session, the users will see their own answers, even if the theme they selected was not the most voted one (in case of conditional questions). To get the questions to display : - questions that have been answered - + the ones that should have been answered = active questions In session, active questions are based on most voted answers) This commit also fixes the randomized questions handling in most voted answers, as copied predefined questions where <NewIds> and those was not usable in some templates. Task ID: 2230980 X-original-commit: 8ca79727d5a93b91746c1e63d59d08550417906c
Diffstat (limited to 'addons/mail/static/src/models/thread_cache/thread_cache.js')
0 files changed, 0 insertions, 0 deletions