콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
6708 화면

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?

아바타
취소
베스트 답변

I think you must define  

action="travel_request_action"

after

sequence = "10"



아바타
취소
작성자

Thank you. You're awesome :D

관련 게시물 답글 화면 활동
1
11월 22
2931
1
2월 21
7232
1
11월 21
11190
4
8월 20
11796
6
1월 19
25978