تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
5 الردود
41792 أدوات العرض

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

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
ديسمبر 24
1015
4
أكتوبر 19
33555
1
أبريل 17
3770
2
مارس 15
7149
2
يناير 24
13727