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

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 :)

Avatar
Zrušit
Autor

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.

Nejlepší odpověď

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

Avatar
Zrušit
Nejlepší odpověď

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

Avatar
Zrušit
Autor Nejlepší odpověď

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

Avatar
Zrušit

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

Nejlepší odpověď

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


Avatar
Zrušit
Nejlepší odpověď

Hi,

Try refer the following blog.

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

Regards

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
pro 24
466
4
říj 19
32675
1
dub 17
3265
2
bře 15
6615
2
led 24
13207