Files
odoo_source/addons/hr/views/hr_views.xml
T
dht-odoo 12469ef4d3 [IMP] various: improve the sequence of menu items
- Currently all menus are out of order in app switcher.
- For example, Sales app is 16 menu away from Accounting,
  Social Marketing app is 25 menu away from Email Marketing, etc.
  So, all menus should be reordered.

- This commit will reorder the menus of the app switcher in order to reduce
  the distance between correlated applications,
  and bring the most common apps upward.
- And in this commit we have left gap of 5 subsequent sequence for further new menus.

PR: #69984
TASK ID: 2513082

Related: odoo/enterprise#17989
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2021-05-07 05:54:18 +00:00

132 lines
4.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<menuitem
id="menu_hr_root"
name="Employees"
groups="group_hr_manager,group_hr_user,base.group_user"
web_icon="hr,static/description/icon.png"
sequence="185"/>
<menuitem
id="menu_hr_main"
name="Human Resources"
parent="menu_hr_root"
sequence="0"/>
<menuitem
id="menu_hr_employee_payroll"
name="Employees"
parent="menu_hr_root"
groups="group_hr_user"
sequence="3"/>
<menuitem
id="menu_hr_employee_user"
name="Employees"
action="open_view_employee_list_my"
parent="menu_hr_employee_payroll"
sequence="1"/>
<menuitem
id="menu_hr_employee"
name="Directory"
action="hr_employee_public_action"
parent="menu_hr_root"
sequence="4"/>
<menuitem
id="hr_menu_hr_reports"
name="Reporting"
parent="menu_hr_root"
sequence="95"/>
<menuitem
id="menu_hr_reporting_timesheet"
name="Reporting"
parent="menu_hr_root"
groups="group_hr_manager,group_hr_user"
sequence="99"/>
<menuitem
id="menu_human_resources_configuration"
name="Configuration"
parent="menu_hr_root"
groups="hr.group_hr_user"
sequence="100"/>
<menuitem
id="menu_view_hr_job"
action="action_hr_job"
parent="menu_human_resources_configuration"
sequence="1"/>
<menuitem
id="menu_human_resources_configuration_employee"
name="Employee"
parent="menu_human_resources_configuration"
groups="base.group_no_one"
sequence="1"/>
<menuitem
id="menu_view_employee_category_form"
name="Tags"
action="open_view_categ_form"
parent="menu_human_resources_configuration_employee"
groups="base.group_no_one"
sequence="1"/>
<menuitem
id="menu_hr_department_tree"
action="hr_department_tree_action"
parent="menu_human_resources_configuration"
sequence="2"
groups="group_hr_user"/>
<menuitem
id="menu_hr_department_kanban"
action="hr_department_kanban_action"
parent="menu_hr_root"
groups="group_hr_user"/>
<menuitem
id="menu_hr_work_location_tree"
action="hr_work_location_action"
parent="menu_human_resources_configuration"
sequence="5"
groups="group_hr_user"/>
<menuitem
id="menu_hr_departure_reason_tree"
action="hr_departure_reason_action"
parent="menu_human_resources_configuration"
sequence="5"
groups="group_hr_user"/>
<menuitem
id="menu_config_plan"
name="Activity Planning"
parent="menu_human_resources_configuration"
groups="group_hr_manager"
sequence="100"/>
<menuitem
id="menu_config_plan_types"
name="Planning Types"
action="hr_plan_activity_type_action"
parent="menu_config_plan"
groups="base.group_no_one"
sequence="99"/>
<menuitem
id="menu_config_plan_plan"
name="Plans"
action="hr_plan_action"
parent="menu_config_plan"
groups="group_hr_manager"
sequence="100"/>
</data>
</odoo>