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

Hello.

I have been looking for a way to create a menu item, and some sub-menus relative to that menu.

I want this to be the menu the users see when they log in, instead of the "Messaging" Menu.

On the left bar, i want a few links to some external websites. And the body of that menu would just be a simple text.

 

How do i do this? Do i need to create a new module? Or is it much simpler?

Thanks in advance :)

อวตาร
ละทิ้ง
ผู้เขียน

I tried Dhinesh Solution. but after i created the menu, nothing appeared on the top menu...

New module create and check the already xml file.You can get guide in xml file.

คำตอบที่ดีที่สุด

If you want to create a menu and sub menu means, you can do it by 2 ways. Either by code or by web client.

For web client go to settings -> User interface -> Menu items and then create your menu. If it is a base menu means leave blank for parent menu and change the sequence for order. If it is submenu means choose parent menu.

Note: If you create menu by this way means, you cannot reuse it in another db's as well as when you upgrade your base, there is a chance to lose your changes.

By code means, learn inheriting a view and creating custom module. Link1 Link2

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi

Refer this link may help you 

https://doc.openerp.com/trunk/server/03_module_dev_04/

https://www.odoo.com/forum/Help-1/question/How-to-create-menu-item-in-xml-file-in-OpenERP-7-9889

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

In that last link, where do i need to create that code? in the base.xml file?

อวตาร
ละทิ้ง

No, always make a new (small) module and use the menuitems by inheriting. For example:

คำตอบที่ดีที่สุด

Nice post and please provide more information. Thanks for sharing.


อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

Try refer the following blog.

https://www.cybrosys.com/blog/menu-submenu-and-action-in-odoo

Regards

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ธ.ค. 24
1091
4
ต.ค. 19
33745
1
เม.ย. 17
3881
2
มี.ค. 15
7274
2
ม.ค. 24
13829