I want to add a new module to the top bar menu at openerp.
I don't know what exactly the name is, but it placed at the top of the openerp (next to the people who login). By default, the top bar menu contains Messaging, Sales, Project, Knowledge, Reporting, Settings.
I want to add my new module to that menu bar. Can I? And how can?
Yoas Loing
You have to do nothing to define new menu on top, just define your menu item and do not give any parent of this menu, and define at least on child below this menu,
Hope this help
Related
When I click on a file in the project view, it shows me a dropdown listing all the methods in the file.
I don't want that - I just want it to display the file on the main window.
How do I accomplish this?
Right click on the Project title bar or click Show Options Menu cog, and deselect Show Members:
If this option is on, the files in the tree that contain classes turn
into nodes. When such node is unfolded, the contained classes with
their fields, methods, and other members of the selected item are
shown.
In my eclipse plugin I have specified my custom navigator using the CNF (Common Navigator Framework). I got everything working except the context menu.
I have created a new viewer-extension for it in which I define a popup-Menu with the respective groups (I overtook all of the groups from the project explorer) and it does get displayed and everything I want to appear in it, does appear.
However there are a bunch of things that appear in it that I don't want to appear.
As an example there is the Run As... option in the context menu which I don't want as I have nothing to run anyway. I tried using the Plugin-Menu-Spy in order to find where this menuItem is being contributed but it won't give me any information about it.
I found out that when setting allowsPlatformContributions = false in my popUp-Extension the unwanted menuItems disappear but so do the Import and Export menus which I do want to have.
So how can I remove the Run As... menuItem from my navigator's context menu? Is there some kind of filter I can apply to it?
Odoo v10.0
Is it possible to add custom menu item on left sidebar in top-level "Settings" section?
For example here, in "Settings" section in navbar I have "Dashboard", "Users" and others. I have my custom module (addon) that's installed in system. I want to control some settings of my addon from UI as admin.
Ideally, such as UI should be in "Settings -> on left-side bar MyAddon -> and its sub-items". Otherwise, it should be in top-level navbar as the separate section.
Please advise where I can see (link to code) such as example.
Thanks
CC #Emipro Technologies Pvt. Ltd
if you want to put your menu under Settings -> Users
use parent id of any menu to put your menu under that menu.
<menuitem id="your_ui_menu_id" name="UI" parent="base.menu_administration" />
I am new to OpenERP. I need to disable some menus without uninstalling the modules that added the menus. I tried did a search for the module I wanted to disable its menu and then deleted all the search results only to get a very disorganized menu as a result. Please how do I achieve this? I just need to hide the link to two modules on the menu bar and on the home page
Create a new security group called 'Nobody' with no users in it.
Change the permission of the menus you want to hide to this group.
This is easy and you can get the menu back easily too if you change your mind.
If you delete a parent menu, then all its children appear at the top level. You can either delete all the children as well, or just remove security access from the parent menus for all but the administrator group. You might also be able to inactivate the parent menu instead of deleting it if you don't want to mess around with security.
check the below link.In this link is example of hide the UOM into the Product.
if We don’t want to display Unit Of Measure in Product Configuration.
http://pilgrimonerp.wordpress.com/2010/08/25/openerp-hide-menu-item/
Easiest way is to edit the group:
Settings > Users > Groups, select a group, select second tab (Security), add/remove menu items on Access Menu.
To disable menus it right to go with ir.menu model.
Setting -> technical -> views -> menu
or
some easy example
http://snippetbucket.com/2014/02/openerp-disable-apps-menu-remove-openerp-app/
I'm building a plugin, and adding an entry to the context menu (right-click on a folder in the project tree).
So far it works, following this tutorial:
http://www.eclipse.org/articles/article.php?file=Article-JFaceWizards/index.html
The problem is that it's adding my entry in the root of the context menu. Since my entry refers to a "New XXX" wizard, I want it to go to the "New" submenu.
It seems like I would have to set the correct locationURI or menuPath in my plugin.xml. However I can't find the locationURI or menuPath corresponding to that submenu. How can I find that?
The new contributions are menu ID based, not menu path based. So it should be something like:
<menuContribution
locationURI="menu:file?after=additions" />
See this SO answer for an example of locationUri.
See Menu Extension for more. The exact id is either:
found in the existing plugin.xml from the menu or
determined with plugin Spy
See "How to add items in popup menu?" (from justinmreina) for more on adding an entry to a menu.
If you've created a plugin for a 'New XXX' wizard, you can add it inside the 'New' menu that you see when you right-click inside the Navigator by customizing the perspective.
Go to Window -> Customize Perspective and click on the Shortcuts tab. You should see 'New XXX'. Select it and you're good to go.