Skip to content

Commit 1589956

Browse files
committed
[CLN] hr_skills: cleanup cerification reporting
> > Due to LMS (Learning Management System) and Skills refactor we ended up having two reports about certifications. This PR cleans it. > Reference: https://tinyurl.com/2cf2ogoq > > Task: 5246246
1 parent 3a7160b commit 1589956

File tree

3 files changed

+2
-31
lines changed

3 files changed

+2
-31
lines changed

addons/hr_skills/report/hr_employee_certification_report_views.xml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -45,27 +45,4 @@
4545
</field>
4646
</record>
4747

48-
<record id="hr_employee_certification_report_action" model="ir.actions.act_window">
49-
<field name="name">Certification</field>
50-
<field name="res_model">hr.employee.certification.report</field>
51-
<field name="search_view_id" ref="hr_employee_certification_report_view_search"/>
52-
<field name="view_mode">list,pivot</field>
53-
<field name="context">{
54-
'search_default_employee': 1,
55-
}</field>
56-
<field name="help" type="html">
57-
<p class="o_view_nocontent_empty_folder">
58-
</p><p>
59-
This report will give you an overview of the certification per Employee.
60-
Create them in configuration and add them on the Employee.
61-
</p>
62-
</field>
63-
</record>
64-
65-
<menuitem
66-
id="hr_employee_certification_report_menu"
67-
name="Certifications"
68-
action="hr_employee_certification_report_action"
69-
parent="hr_skills.hr_employee_skill_report_menu"
70-
sequence="25"/>
7148
</odoo>

addons/hr_skills/report/hr_employee_skill_report_views.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,6 @@
8989
id="hr_employee_skill_inventory_report_menu"
9090
name="Skills Inventory"
9191
action="hr_employee_skill_report_action"
92-
parent="hr_skills.hr_employee_skill_report_menu"
92+
parent="hr.hr_menu_hr_reports"
9393
sequence="15"/>
9494
</odoo>

addons/hr_skills/views/hr_views.xml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@
593593
<field name="res_model">hr.employee.skill</field>
594594
<field name="path">certifications</field>
595595
<field name="domain">[('is_certification', '=', True)]</field>
596-
<field name="context">{'show_employee': True, 'search_default_group_by_type': 1}</field>
596+
<field name="context">{'show_employee': True}</field>
597597
<field name="view_mode">list,form</field>
598598
<field name="view_ids" eval="[(5, 0, 0),
599599
(0, 0, {'view_mode': 'list', 'view_id': False}),
@@ -608,12 +608,6 @@
608608
sequence="7"
609609
groups="hr.group_hr_user"/>
610610

611-
<menuitem
612-
id="hr_employee_skill_report_menu"
613-
name="Skills"
614-
parent="hr.hr_menu_hr_reports"
615-
sequence="15"/>
616-
617611
<menuitem
618612
id="hr_skill_learning_menu"
619613
name="Learning"

0 commit comments

Comments
 (0)