diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2019-07-11 13:33:32 +0000 |
|---|---|---|
| committer | Lucas Perais (lpe) <lpe@odoo.com> | 2019-07-11 13:40:09 +0000 |
| commit | 458472485fee6a7186c3f6a4295c17f214d48070 (patch) | |
| tree | d20e296de5fb65145c3dd771735bb7307ad12aa0 /addons/web/static/src/js/views/basic/basic_renderer.js | |
| parent | e7828c362718b40ed74920a1ce3619766fa84ff2 (diff) | |
[FIX] website_slides: statistics recompute when toggle website published
As a portal user, complete some steps within a course
Completing all of them makes the course completion to 100 %
Now, in the backend, unpublish one of these steps
Before this commit, the completion was not taking into account
that a step did not "exist" anymore i.e. has been unpublished,
leading to a completion > 100%
After this commit, we search only for steps that are published
The completion cannot exceed 100%
OPW 2033553
closes odoo/odoo#34800
Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_renderer.js')
0 files changed, 0 insertions, 0 deletions
