Skip to content

Commit

Permalink
[IMP] hr(_presence): Merge reporting menu
Browse files Browse the repository at this point in the history
hr_prensence add a menu 'reports' in employee app and

hr_contract_dashboard add a 'Reporting' menu.

Merge both together.
  • Loading branch information
jbm-odoo authored and tivisse committed Apr 18, 2019
1 parent bd7679d commit 16d8683
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 6 additions & 0 deletions addons/hr/views/hr_views.xml
Expand Up @@ -16,6 +16,12 @@
parent="menu_hr_root"
sequence="0"/>

<menuitem
id="hr_menu_hr_reports"
name="Reporting"
parent="menu_hr_root"
sequence="95"/>

<menuitem
id="menu_hr_reporting_timesheet"
name="Reporting"
Expand Down
4 changes: 1 addition & 3 deletions addons/hr_presence/data/ir_actions_server.xml
Expand Up @@ -9,8 +9,6 @@ action = env['hr.employee']._action_open_presence_view()
</field>
</record>

<menuitem id="menu_hr_presence_reports" name="Reports" parent="hr.menu_hr_root" sequence="95" groups="hr.group_hr_manager"/>

<menuitem id="menu_hr_presence_view" name="Employee Presence" action="ir_actions_server_action_open_presence_view" parent="menu_hr_presence_reports" groups="hr.group_hr_manager"/>
<menuitem id="menu_hr_presence_view" name="Employee Presence" action="ir_actions_server_action_open_presence_view" parent="hr.hr_menu_hr_reports" groups="hr.group_hr_manager"/>

</odoo>

0 comments on commit 16d8683

Please sign in to comment.