Commit Graph
3 Commits
Author SHA1 Message Date
dht-odoo 25ad0bb08c [FIX] hr_skills_slides: keep plaintext description on 'hr.resume.line'
In the `slide.channel`, description field was converted from Text type
to HTML(see commit[1]). This field is also used as a description of the
`hr.resume.line` model. However the later one expects plaintext value
but gets the HTML. This leads to displaying HTML tags to the users.

With this commit, we convert description of the `slide.channel` into
plaintext before adding it as a description of `hr.resume.line`.

commit[1] - https://github.com/odoo/odoo/commit/6d914c005183aa5ae69650e3002a5a85ca83b4a6

taskID-2711308

closes odoo/odoo#81457

X-original-commit: f8eaf7b69085a475a50c24bb732a95bf7ef0d7a9
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2021-12-15 12:07:26 +00:00
Thibault Delavallée f93064606f [FIX] website_slides{_*}: fix completion computation, notably with certifications
PURPOSE

Test frontend and UI tools of eLearning.

SPECIFICATIONS

Since 9920f20e4c 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
2019-08-28 13:27:58 +00:00
jbm-odoo 59e6611736 [IMP] hr_skills*: Add certification and course in employee profile
When a employee succeed a course or a certification, a new line
will be added in resumé of employee profile.

+ [FIX] hr_skills: remove sequence to sort resumé

Actually, sorting a resumé doesn't work because we add new line for
title in the array.

With this commit, all sequence are removed. The resumé is sorted
by date and skills are sorted by level.

closes odoo/odoo#31764

Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-04-16 14:48:25 +00:00