跳至内容
菜单
此问题已终结
5 回复
41804 查看

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.


形象
丢弃
相关帖文 回复 查看 活动
0
12月 24
1018
4
10月 19
33569
1
4月 17
3775
2
3月 15
7156
2
1月 24
13738