19.0 vanilla

This commit is contained in:
Ernad Husremovic 2026-03-09 09:31:00 +01:00
parent a1137a1456
commit e1d89e11e3
2789 changed files with 1093187 additions and 605897 deletions

View file

@ -1,28 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<templates id="template" xml:space="preserve">
<t t-inherit="hr_skills.ResumeListRenderer.RecordRow" t-inherit-mode="extension">
<xpath expr="//t[@id='row']" position='after'>
<t t-if="data.display_type === 'course'">
<td t-on-click="(ev) => this.onCellClicked(record, null, ev)"
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-out="formatDate(data.date_end)"/></span>
</div>
<div class="o_resume_line_desc col-lg-8">
<h3>
<t t-esc="data.name"/>
<a t-attf-href="#{data.course_url}" t-if="data.course_url"
style="font-size: 1rem;"
class="ms-2 fa fa-external-link btn-secondary"/>
</h3>
<t t-if="data.description" class="o_resume_line_desc" t-out="data.description"/>
</div>
</div>
</td>
</t>
<odoo>
<t t-inherit="hr_skills.ResumeListRenderer.RecordRow" t-inherit-mode="extension">
<xpath expr="//a[@id='external_link']" position="attributes">
<attribute name="t-if">data.external_url &amp;&amp; !data.course_url</attribute>
</xpath>
<xpath expr="//a[@id='external_link']" position="after">
<a id="course_link" t-attf-href="#{data.course_url}" target="_blank" t-if="data.course_url"
style="font-size: 1rem;" class="ms-2 fa fa-external-link btn-secondary"/>
</xpath>
</t>
</t>
</templates>
</odoo>

View file

@ -1,6 +1,6 @@
.o_resume_line {
.o_resume_line_icon.icon_circle {
color: $o-enterprise-primary-color;
color: $o-enterprise-action-color;
vertical-align: middle;
}
}

View file

@ -1,26 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">
<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" 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_end"/></span>
</div>
<div class="o_resume_line_desc col-lg-8">
<h3>
<t t-esc="data.name"/>
<a t-attf-href="#{data.course_url}" t-if="data.course_url"
style="font-size: 1rem;"
class="ms-2 fa fa-external-link btn-secondary"/>
</h3>
<t t-if="data.description" t-esc="data.description"/>
</div>
</div>
</td>
</t>
</t>
</t>
</templates>