diff options
| author | Thibault Delavallée <tde@odoo.com> | 2019-08-26 15:49:06 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2019-08-28 13:27:58 +0000 |
| commit | f93064606f4b6dd0fde0750991ff517ae2925fac (patch) | |
| tree | b6cac3f36b2fd50bea4804be27fa9187da6b05ae /addons/website/static/src/xml/website.contentMenu.xml | |
| parent | 58cf9b6754c44f9847787938b4019d8740faffda (diff) | |
[FIX] website_slides{_*}: fix completion computation, notably with certifications
PURPOSE
Test frontend and UI tools of eLearning.
SPECIFICATIONS
Since 9920f20e4c7753bc17bea71dea3a90f7de687196 course completion when finishing a certification survey
is broken. Indeed channel completion is not correctly recomputed. A
certification course can therefore never be completed and awarded. This
commit fixes that and correctly update channel completion based on survey.
In this commit we also rename some methods
* _compute_completion: renamed to _recompute_completion to avoid naming issue
with computed field convention;
* _post_completion_hook is not unnecessary as code in hr_skill can be done
after calling super of _recompute_completion;
* _completed_callback is renamed to _set_completed_callback to be coherent
with slides naming;
LINKS
Task ID 1937768
Diffstat (limited to 'addons/website/static/src/xml/website.contentMenu.xml')
0 files changed, 0 insertions, 0 deletions
