Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Extra Tools
  3. Hide Any Menu User Wise v 18.0
  4. Sales Conditions FAQ

Hide Any Menu User Wise

by Cybrosys Techno Solutions https://www.cybrosys.com
Odoo 11
v 18.0 Third Party 17235
Download for v 18.0 Deploy on Odoo.sh
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 90
Technical Name hide_menu_user
LicenseLGPL-3
Websitehttps://www.cybrosys.com
Versions 14.0 15.0 16.0 17.0 18.0 19.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 90
Technical Name hide_menu_user
LicenseLGPL-3
Websitehttps://www.cybrosys.com
Versions 14.0 15.0 16.0 17.0 18.0 19.0
Supports:
Community
Enterprise
Availability:
On Premise
Odoo.sh
Odoo Online

This Module Helps To Hide any Menu items user wise.

Hide Any Menu User Wise

Email Us +91 9074270811

Blog and Video Details

Read Blog

Read Our Detailed Blog

https://www.cybrosys.com/blog/how-to-hide-specific-menus-for-individual-users-in-odoo-18

Video Tutorial

Watch Detailed Demo on Youtube

Watch Demo
Hide Any Menu User Wise

Are you ready to make your business more organized?
Improve now!

odoo@cybrosys.com +91 9074270811

Key Highlights

Compatible

Available in Odoo 18.0 Community and Enterprise.

Easiness

Easily hide any menu/submenu items user-wise.

  • Screenshots
  • Features
  • FAQs
  • Releases
acc_bg

Sale Order Menu

Before adding the hide menu option you can see the Specific Menu.

Create New Hide Specific Menu

Go to Settings > Users and there you can see the 'Hide Specific Menu' tab where you can select any Menu/Submenu that needs to be hidden to the selected user.

Select Menu

Click on 'Add a line' and select the menus that needs to be hidden for this user.

As you can see the menus and corresponding views are now hidden for the user.

Available in Odoo 17.0 Community and Enterprise

Easily hide any menu/submenu items user-wise.

Can I restrict multiple users from seeing a menu item at the same time?

Yes, you can. When you hide a menu for a user, the system automatically updates the restricted user list for that menu. You can hide the same menu for multiple users by selecting it in each user's form.

Does this module also work for admin users?

No, by default, admin users will still have access to all menus. There is a feature that checks if a user is an admin, and the "Hidden Menu" field will not be available for admins.

Can I hide submenus and their parent menus?

Yes, you can hide both submenus and parent menus. However, you need to manually select each menu (parent or child) that you want to hide.

Latest Release 18.0.1.0.0

01st October, 2024
Add
  • Initial Commit

Related Modules

User Login Alert

Barcode Scanning Support For Sale and Purchase

Amount In Words In Invoice, Sale Order And Purchase Order

Password protection in PDF Reports

Product Removal Authorisation

Timesheet PDF Report

Our Services

Odoo Customization
Odoo Implementation
Odoo Support
Odoo Migration
Odoo integration
Odoo Consultancy
Odoo Licensing
Hire Odoo Developer
....

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
  • Ratings
  • Discuss
Use CLI install successfully
by
Helsing
on 7/22/25, 2:48 AM

move the addon folder to you custom addon path, restart the odoo service , active debug mode with assets, update app list, in the Apps search bar, remove the "Apps" filter, then search "hide", you can find it!

Re: Use CLI install successfully
by
Cybrosys Technologies
on 7/22/25, 3:28 AM Author

You got it!


LogIn error with portal user.
by
Pratik Devmurari
on 5/28/25, 3:09 AM

Bellow error faced while log-in with portal user:
Error message:

You are not allowed to access 'Menu' (ir.ui.menu) records.

This operation is allowed for the following groups:
	- Administration/Settings
	- User types/Internal User

Contact your administrator to request access if necessary.


Re: LogIn error with portal user.
by
Cybrosys Technologies
on 6/12/25, 4:59 AM Author

Thanks for reporting, we have updated the app. Please get the latest version


Simple and works well
by
Andrew Rogers
on 3/19/25, 3:58 AM

Thank you!


Unable to install
by
Helsing
on 7/22/25, 2:19 AM

Invalid Operation

Error while importing module 'hide_menu_user'. while parsing /tmp/tmpat5uc6a6/hide_menu_user/views/res_users_views.xml:4 Error while validating view near: <sheet> <div class="oe_button_box" name="button_box"> <button name="action_show_groups" type="object" groups="base.group_no_one" class="oe_stat_button" icon="fa-users"> <field string="Groups" name="groups_count" widget="statinfo"/> </button> Field "is_admin" does not exist in model "res.users" View error context: {'file': '/tmp/tmpat5uc6a6/hide_menu_user/views/res_users_views.xml', 'line': 9, 'name': 'res.users.view.form.inherit.hide.menu.user', 'view': ir.ui.view(1429,), 'view.model': 'res.users', 'view.parent': ir.ui.view(163,), 'xmlid': 'view_users_form'}


correction in v16,v17,v18
by
dev.said.kraim@gmail.com
on 5/12/25, 4:15 AM

ir.ui.menu model and create an ir.rule for it, but there's an issue with how Odoo handles security rules for this particular model.

donc: 

1- delete rule: 

<record id="restrict_menu_user" model="ir.rule"> <field name="name">Restrict Menu from Users</field> <field ref="model_ir_ui_menu" name="model_id"/> <field name="domain_force">[('restrict_user_ids', 'not in', [user.id])]</field> 

</record>

2- you should override the _filter_visible_menus method of the menu model to implement your restriction logic

@api.model
    def _filter_visible_menus(self, menus):
        """ Override to filter out menus restricted for current user """
        menus = super(RestrictMenu, self)._filter_visible_menus(menus)
        
        if self.env.user.has_group('base.group_system'):
            return menus  # Superuser can see all menus
            
        # Filter out menus where current user is in restrict_user_ids
        menu_ids = menus.ids
        restricted_menu_ids = self.search([
            ('id', 'in', menu_ids),
            ('restrict_user_ids', 'in', [self.env.user.id])
        ]).ids
        
        return menus.filtered(lambda m: m.id not in restricted_menu_ids)

Re: correction in v16,v17,v18
by
Cybrosys Technologies
on 5/21/25, 2:19 AM Author

Thanks for reporting. We have updated the app in all three versions.


Looks like it works.
by
purejosh
on 1/13/25, 5:59 PM

Haven't tested hiding a menu, but it shows up under the user's profile, so that's a good sign. 


not working in v18
by
yodalberth peña baez
on 12/14/24, 9:09 PM

When trying to install it I get the following error:  

while parsing /tmp/tmpqd_tut2i/hide_menu_user/security/security.xml:4, somewhere inside <record id="ir_ui_menu_rule_user" model="ir.rule"> <field name="name">Restrict Menu from Users</field> <field name="model_id" ref="model_ir_ui_menu"/> <field name="domain_force">[('restrict_user_ids','not in',user.id)]</field> </record>

Re: not working in v18
by
Cybrosys Technologies
on 2/6/25, 5:19 AM Author

Sorry, We were not able to reproduce the issue you mentioned.


Following ur guide but does't working in v17!!
by
storm
on 12/5/24, 10:42 PM


Re: Following ur guide but does't working in v17!!
by
Cybrosys Technologies
on 12/6/24, 1:29 AM Author

Are you using v18 or v17?


Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with