diff options
| author | David Beguin <dbe@odoo.com> | 2019-03-12 16:04:40 +0000 |
|---|---|---|
| committer | David Beguin <dbe@odoo.com> | 2019-03-13 08:20:54 +0000 |
| commit | 85b0b37dccda2852503417434cb3a3a9f87d7a9b (patch) | |
| tree | bfd07fe722bbe104c6cae2e4aafea7a5b3ac62ee /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 20fa4e7ba1baa5ab869788c9ad4272279e3825a5 (diff) | |
[IMP] survey : add retry survey button if no scoring or nbr of attempts left > 0
In order to allow the user to ealisy retake the survey he just either passed
or failed (in case of scoring activated), a retry button is added not only
in case of failed scoring survey (like it was already the case)
but also for non scoring survey.
This button is also added in the review survey page, to get direct access to
retry the survey.
The rule is the following and apply to all survey types :
If not quizz passed (this will be always true for non scoring survey):
if is_attempts_limited
if attempts left
Add retry button
else
Add retry button
Task ID : 1950429
PR #31802
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
