diff options
| author | Paul Morelle <pmo@odoo.com> | 2020-03-11 10:07:22 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2020-03-31 07:33:43 +0000 |
| commit | b105240252c8e7349c7d381b79571d2436f68c15 (patch) | |
| tree | 150f517c22f7690068316ab33b2749942763b01b /addons/website_slides_survey | |
| parent | 4d352c17b991ad1dba730d5ce9b209f35241b6e5 (diff) | |
[FIX] survey: ignore extra questions of random surveys
When a random survey does not use all the questions available in a page
because of the random_questions_count field, _get_answers_correctness
was still including them in the skipped category.
This commit ensures that those questions are not included in the result,
and adds a test that checks it.
closes odoo/odoo#47362
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
X-original-commit: 4df43478979766112ae70624deae9c25f40a3349
Diffstat (limited to 'addons/website_slides_survey')
0 files changed, 0 insertions, 0 deletions
