Odoo Help


Hide menu items without using access rights

on 6/30/15, 4:51 AM 1,833 views

Is there a way to hide menu items for all users (admins too) without using access rights? For example I want to disable Sales Orders in Sales and enable them afterwards, but i still want to use other functions of that module.

Any help is appreciated.

Nice solution by 'Emipro Technologies', but I more prefer the one posted by 'Andre de Kock', pls convert it to an answer

Tarek Mohamed Ibrahim
on 8/6/15, 3:55 AM

Yes this is possible. 

You can hide any menu by following way.

1. Create a group like "Usability/Thrash". Don't add any user into it. ( Not admin too )

2. Add that menu which you don't want to show to anybody into that group. ( "Usability/Thrash" )

By doing so, that menu will not be visible under "Sales" to anybody. 

Note : 

1. Here, it is not necessary to create new group. You can use any of current groups but take care that no body shall be inside that group. ( Because you don't want to show that menu to anyone. )

2. By adding just group to that menu, it doesn't means that Sales order will completely hidden. Just that menu will be removed from menu list. However where there is M2O of sale.order, Orders will be still visible on that field. In order to remove order from there too, you need to manage access rights and record rules.

I Hope this helps ,

Thank you.

on 7/1/15, 3:59 AM

how can I achieve this in xml?

Tobias Wetzel
on 7/17/15, 5:39 AM

@Tobias, do you mean by how you hide menu through xml ?

Odoo Police
on 7/17/15, 7:31 AM

yes, how to hide a menuitem based on the users group with xml

Tobias Wetzel
on 7/17/15, 8:04 AM
Andre de Kock
On 8/8/15, 5:48 AM

An alternative is to use the "base.group_no_one" (Technical Features) group, because most likely only the admin user will be in this group.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 6/30/15, 4:51 AM
Seen: 1833 times
Last updated: 5/12/16, 10:06 PM