OpenERP hide top menu items - odoo

Is there a way to hide the top menu items on specific groups without restricting objects permissions in security files?
I created a module which uses functionalities from multiple modules and I put the corresponding menus in my module, so I don't need all the top menus anymore.

If you want to hide top menu of all modules, then you have to overwrite the exiting menu of all modules in you modules and assign an another group to these menus, so when you give this group to user in access rigths then only he can see the other top menu
hope this will help

Related

Hide/Unhide custom menu item under standard menu item based on transactions

I have a custom menu item created under system menu in the menu bar. I want the menu item to be displayed only in case of certain transactions.
The transactions are configured for my business scenario.
I tried the following:
1) Assigning a switch to the custom menu item under system menu in menu painter would hide/unhide it across all the transactions depending on whether the switch is active or not.
Also checked whether switch can be assigned set of transactions rather than a package. No luck.
2) Checked whether the code is hitting the statement set pf status. It's just hitting the set pf status for the other menu items like Goto and Edit. So don't know how exactly the system and help menu options are being populated. If I know exactly the working that is the common logic executed here, then I can possibly populate the custom menu item by reading the configuration of transactions.
3) Transaction variants is another option. But here too we do not have access to system and help menu options. Plus if it works, it would be not a generic solution as I will have to create transaction variant for all the transactions.

Modify menus shown to Portal users Odoo/Openerp

What I want to do is this:
When a new user is given access to the Portal, I want her only to be able to see a single Sales menu with a submenu Sales/Customers and nothing else.
I was able to do that by adding the menu to the Portal group, but I need to hide the other menus (Website,Mail,Projects). I removed all the other views from Portal group and made sure that my customer does not belong to any other group than Portal but the menus are still there.
From what I can understand the menus are shown only to certain groups of users. My user only belongs to the Portal group these menus are not referenced there. I only have my Sales/Customer there
How can I remove them?
Out-of-box odoo is designed to show all those menu as portal menu, so what you want todo here is create new group with portal check-box true and assigned all menu you wnat him to see and assign needed security. Designing this group be bit lazy as you will have todo lot of trails.
Bests

How do I add a global button (for all entities) on the CRM 2013 Command Bar

I want to create a global button for all the entities.
I tried the following:
Created a sample solution with entity Application Ribbon
Opened the Application Ribbon Entity in Ribbon Workbench
Under Command Bar -> Home . Placed a button besides New Record
However after publish I am not able to view the button.
How do I resolve this?
The answer is from Mithilesh Kumar, and can be found on this page:
https://community.dynamics.com/crm/f/117/t/155542
You need to find the Group where you want to show the Button.
If you want to show on the Home Page for all Entity, find the Group as below and place the Button in this Group.
If you want to show in the Forms of all Entity, you need to place in the Group in the Form Area, shown below
Hope that clarifies
Modifying the XML you need to rely on the {!EntityLogicalName} keyword inside the location.
You can find a tutorial here:
http://blog.webfortis.com/adding-global-ribbon-buttons-for-all-entities-in-dynamics-crm

Hide menu item "warehouse" in openerp6.1

In openerp6.1 I am working on warehouse(stock)
I am trying to customize stock and create new warehouse_management module now I want to hide original warehouse menu,sub menu and put my own WMS menu internally I use many functionality of stock, so if I delete menu item i can't access existing functionality
I just want to hide warehouse menu and its sub menu
Requirement is when I am install my wms module it automatically hide warehouse menu
if you not want to delete menu then you can done one thing, create a new group and overwrite the same menu again in your module
<menuitem name="Project" id="base.menu_main_pm" groups="group_new_hide" sequence="40"/>
So until you give this new group any user the menu remain hidden
Hope this help

Custom Menu in SharePoint 2010

I am working with SharePoint 2010. I am looking for creating a custom menu that could be placed on Master page of my site collection. Could you please give me a start on this. I don't want to use existing menus on default master page. I would rather like to have my own master page with my custom menu links with sub menus.
A basic idea would be that I will have a XML file with menu items defined I want to give liberty to the user to make changes to XML file somehow that add/edit or remove the links. Also I want the menu to be user role based (Items could be disabled for unauthorized users).