Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 0 additions & 23 deletions addons/hr_skills/report/hr_employee_certification_report_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,27 +45,4 @@
</field>
</record>

<record id="hr_employee_certification_report_action" model="ir.actions.act_window">
<field name="name">Certification</field>
<field name="res_model">hr.employee.certification.report</field>
<field name="search_view_id" ref="hr_employee_certification_report_view_search"/>
<field name="view_mode">list,pivot</field>
<field name="context">{
'search_default_employee': 1,
}</field>
<field name="help" type="html">
<p class="o_view_nocontent_empty_folder">
</p><p>
This report will give you an overview of the certification per Employee.
Create them in configuration and add them on the Employee.
</p>
</field>
</record>

<menuitem
id="hr_employee_certification_report_menu"
name="Certifications"
action="hr_employee_certification_report_action"
parent="hr_skills.hr_employee_skill_report_menu"
sequence="25"/>
</odoo>
2 changes: 1 addition & 1 deletion addons/hr_skills/report/hr_employee_skill_report_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,6 @@
id="hr_employee_skill_inventory_report_menu"
name="Skills Inventory"
action="hr_employee_skill_report_action"
parent="hr_skills.hr_employee_skill_report_menu"
parent="hr.hr_menu_hr_reports"
sequence="15"/>
</odoo>
8 changes: 1 addition & 7 deletions addons/hr_skills/views/hr_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@
<field name="res_model">hr.employee.skill</field>
<field name="path">certifications</field>
<field name="domain">[('is_certification', '=', True)]</field>
<field name="context">{'show_employee': True, 'search_default_group_by_type': 1}</field>
<field name="context">{'show_employee': True}</field>
<field name="view_mode">list,form</field>
<field name="view_ids" eval="[(5, 0, 0),
(0, 0, {'view_mode': 'list', 'view_id': False}),
Expand All @@ -608,12 +608,6 @@
sequence="7"
groups="hr.group_hr_user"/>

<menuitem
id="hr_employee_skill_report_menu"
name="Skills"
parent="hr.hr_menu_hr_reports"
sequence="15"/>

<menuitem
id="hr_skill_learning_menu"
name="Learning"
Expand Down