Skip to content
Snippets Groups Projects
Commit f9306460 authored by Thibault Delavallée's avatar Thibault Delavallée
Browse files

[FIX] website_slides{_*}: fix completion computation, notably with certifications

PURPOSE

Test frontend and UI tools of eLearning.

SPECIFICATIONS

Since 9920f20e 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
parent 58cf9b67
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment