Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 73 |
Technical Name |
hide_menu_user |
License | LGPL-3 |
Website | https://www.cybrosys.com |
Versions | 17.0 14.0 15.0 16.0 |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 73 |
Technical Name |
hide_menu_user |
License | LGPL-3 |
Website | https://www.cybrosys.com |
Versions | 17.0 14.0 15.0 16.0 |
Hide Any Menu User Wise
Hide any Menu items user wise
Explore This Module
Overview
Features
Available in Odoo 15.0 Community and Enterprise.
Screenshots
Specific Menus in the User view
before adding the hide menu option you can see the Specific Menu
Hide Specific Menus from the User form view
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.
Add menu to the list goes here
Click on 'Add a line' and select the menus that needs to be hidden for this user.
Menus are Hidden goes here
As you can see the menus and corresponding views are now hidden for the user.
Related Products
Our Services
Odoo Customization
Odoo Implementation
Odoo Support
Hire Odoo Developer
Odoo Integration
Odoo Migration
Odoo Consultancy
Odoo Implementation
Odoo Licensing Consultancy
Our Industries
Trading
Easily procure and sell your products
POS
Easy configuration and convivial experience
Education
A platform for educational management
Manufacturing
Plan, track and schedule your operations
E-commerce & Website
Mobile friendly, awe-inspiring product pages
Service Management
Keep track of services and invoice
Restaurant
Run your bar or restaurant methodically
Hotel Management
An all-inclusive hotel management application
Support
Say hi to us on WhatsApp!
+91 86068 27707
Please log in to comment on this module
Report comment
Any abuse of this reporting system will be penalizedGreat addon
A great module to hide any menu from specific users
This is really a good module to hide any menu from specific users. But I suggest for improvement, please remove the printed vals and res in the HideMenuUser class that is inherited from res.users, especially in the:
in line 35 inside the create method.
When we create a new res.users record it will be logging out in the log, including the email or login field, and it will also show the password if we filled the password directly when we create res.users.
So, I think it will be risky for our Odoo security.
Thanks,
Tri
Re: A great module to hide any menu from specific users
Hi Tri, Thanks for reporting.
We have updated the module.
(V16) Minor bug to report
When installing a new app with this module installed, the Odoo returns a singleton error. It comes from the write function on the res_user python script. I modified the function to the code below.
https://res_user.py/I
Re: (V16) Minor bug to report
Thanks for reporting.
We have updated the module.
There seems to be an issue with this module, at least for Odoo 14, in terms of this addon's interaction with the Operating Units modules. If you try to add users to a Sales Team within a specific operating Unit, and you are also trying to restrict those users' lists of available menu, you will get an error. " ValueError: Expected singleton: res.users .... " If you're not using operating units, there seems to be no problem. If you do not restrict menu items you can add users (in specific operating unit) to the sales team without issues.