コンテンツへスキップ
メニュー
この質問にフラグが付けられました
5 返信
41871 ビュー

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
12月 24
1073
4
10月 19
33689
1
4月 17
3840
2
3月 15
7253
2
1月 24
13780