Openerp changes the action of the top menu Human Resources

I need to change the action for the default Human Resources menu.

when I click on the "Personal Resources Menu", this will be the Employee menu on the left, but I need to leave requests immediately. How can i do this?

someone suggested I change the serial number, but I did not know how to do this, please help me do this.

See the following figure to see it in detail.

enter image description here

+4
source share
3 answers

You need to change in two files and replace them below.

  • addons / hr / hr_view.xml

    <menuitem id="menu_hr_main" parent="menu_hr_root" name="Human Resources" sequence="20"/>
    
  • add-ons / hr _holidays / hr_holidays_view.xml

    <menuitem name="Leaves" parent="hr.menu_hr_root" id="menu_open_ask_holidays" sequence="0"/>
    

Hope this will give you as your request.

+2
source

, " ", openerp enter image description here

0

You need to change the number menuitem sequence="1"and then update the module. Here

<menuitem id="menu_hr_main" parent="menu_hr_root" name="Human Resources" sequence="3"/>
0
source

Source: https://habr.com/ru/post/1523998/


All Articles