Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
7090 มุมมอง

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

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
พ.ย. 22
3418
1
ก.พ. 21
7682
1
พ.ย. 21
11711
Foreach in qweb report xml Odoo 8 แก้ไขแล้ว
4
ส.ค. 20
12300
Call Python function from JavaScript แก้ไขแล้ว
6
ม.ค. 19
26511