[FIX] hr_skills: fix duplicate "skills" title

Steps to reproduice:
-go to myprofile with hr installed
-go to resume page
-> skills title is duplicated

Reason:
The no_label attribute is set to True but the widget will still display a label.

Expected behavior:
The label should only be displayed once

Fix:
Remove the effectless no_label attribute and remove the separator

closes odoo/odoo#158051

Task: 3815381
Signed-off-by: Sofie Gvaladze (sgv) <sgv@odoo.com>
This commit is contained in:
Flotchet
2024-04-17 22:47:08 +00:00
parent d29a622740
commit 040c314e91
+1 -2
View File
@@ -164,8 +164,7 @@
</field>
</div>
<div class="o_hr_skills_group o_group_skills col-lg-5 d-flex flex-column">
<separator string="Skills"/>
<field mode="tree" nolabel="1" name="employee_skill_ids" widget="skills_one2many" readonly="not can_edit">
<field mode="tree" name="employee_skill_ids" widget="skills_one2many" readonly="not can_edit">
<tree>
<field name="skill_type_id" optional="hidden"/>
<field name="skill_id"/>