Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
6775 Zobrazení

Hello,

I'm trying to make a module named travel_leave which inherits the "Leave Managements" module.

To create a new menuitem called "Travel leave request". It supposed to inherit and appear right after the "Leave request" menuitem under "Leaves" menu.

So how can I do it?

Here's my code in travel_leave_view.xml

<menuitem name="Travel Request"

id="hr_holidays.menu_travel_request"

parent="hr_holidays.menu_open_ask_holidays"

sequence="10"/>

By doing this it created a new menuitem under Leaves but yet it isn't listed among the other menuitems.

 

What is wrong in my code?

Avatar
Zrušit
Nejlepší odpověď

I think you must define  

action="travel_request_action"

after

sequence = "10"



Avatar
Zrušit
Autor

Thank you. You're awesome :D

Related Posts Odpovědi Zobrazení Aktivita
1
lis 22
3019
1
úno 21
7305
1
lis 21
11246
4
srp 20
11862
6
led 19
26053