I want to hide or delete the menu item "Apps" in odoo.
I follow this steps:make sure Technical Features is checked Then go under Settings/Technical/User Interface/Menu Items and search for the item you want to delete (Apps/apps).
I have succeeded .
But my issue is to do it for all databases by developing not by web interface!
Can any one help me please
Here is the way.
1. Follow these steps to hide menu.
- Create new user group which you will not assign to any user, you can call it dummy group let say and assign it to your menu item.
if you want to assign group to menu than, there are 2 ways.
i) <menuitem id="id_of_your_menu" groups="existing_groups,yourdummygroup" action="action_id"/>
ii) Go to Setting>>Technical>>User Interface>>Menu Item, Make sure you have activated developer mode
These above two option will hide the menu, it will not delete from database, you want to make this menu appear for specific user, you can assign that newly created group(dummy group) to that user.
2. Follow these stops to delete menu item.
i) <delete model="ir.ui.menu" id="your_menu_id"/>
ii) Go to setting>>Technical>>User Interface>>Menu Items, this will delete the menu from database permanent
This will list all the menu item, search your menu by name and just delete it, this will delete the menu from database permanent
For more reference : click here these question is already asked in another thread, you can refer this as well.
Hope this will help.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 7/14/16, 6:47 PM|
|Seen: 420 times|
|Last updated: 7/15/16, 2:14 AM|