Skip to content
Snippets Groups Projects
Commit 85a4e3ce authored by Yannick Tivisse's avatar Yannick Tivisse
Browse files

[FIX] hr_skills: Display correctly certification/course lines

Purpose
=======

Since https://github.com/odoo/odoo/commit/ee8106bd7aff56aa1897b18e1a967466c6937045


the resume lines generated from the eLearning/Certfication courses are
not rendered properly.

closes odoo/odoo#42478

Taskid: 2149477
Signed-off-by: default avatarYannick Tivisse (yti) <yti@odoo.com>
parent 91123532
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
<templates id="template" xml:space="preserve">
<t t-name="hr_resume_data_row">
<tr t-attf-class="o_data_row #{is_last? 'o_data_row_last' : ''}" t-att-data-id="id">
<tr class="o_data_row" t-attf-class="o_data_row #{is_last? 'o_data_row_last' : ''}" t-att-data-id="id">
<t t-if="data.display_type === 'classic'">
<td class="o_resume_timeline_cell position-relative pr-lg-2">
<div class="rounded-circle bg-info position-relative"/>
......
......@@ -49,7 +49,7 @@
<group>
<group>
<field name="line_type_id"/>
<field name="display_type" invisible="1"/>
<field name="display_type" required="1"/>
</group>
<group>
<field name="date_start" required="True"/>
......
......@@ -4,7 +4,7 @@
<t t-extend="hr_resume_data_row">
<t t-jquery="tr.o_data_row" t-operation="append">
<t t-if="data.display_type === 'course'">
<td class="o_data_cell container">
<td class="o_data_cell container" colspan="2">
<div class="o_resume_line row" t-att-data-id="id">
<div class="o_resume_line_dates col-lg-3">
<span><t t-esc="data.date_start"/></span>
......
......@@ -4,7 +4,7 @@
<t t-extend="hr_resume_data_row">
<t t-jquery="tr.o_data_row" t-operation="append">
<t t-if="data.display_type === 'certification'">
<td class="o_data_cell container">
<td class="o_data_cell container" colspan="2">
<div class="o_resume_line row" t-att-data-id="id">
<div class="o_resume_line_dates col-lg-3">
<span><t t-esc="data.date_start"/></span>
......
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