Generic Security Restrictionby Center of Research and Development
Generic Security Restriction
The module allows you to hide (restrict) user menus, hide (or make readonly) specific fields on the views, hide stat buttons:
- Hide menus by security groups
- Restrict menus from specific users
- Hide specific fields of the selected model from certain security groups
- Make fields readonly for certain security groups
- Hide stat buttons (oe_stat_button) on the view from certain security groups
Simple and fast configuration. Very easy to use!
You can not grant access to the restricted menu items using Odoo access rights. Restrict menus for the Employee security group with caution.
User with superadmin rights gets full access regardless of restriction. This is done to avoid accidental permanent restrictions.
Hide menu by security groups
Hide menu from a specific user (Menu Items settings)
Restrict menu from a specific user (User settings)
Hide specific fields of the selected model from certain security groups
For this, you need to activate the Developer Mode. Then, click Database Structure -> Models and select the desired model. On the Fields Security tab, specify the fields to hide or make readonly, and user security groups to hide from.
Make a field readonly
Hide stat buttons on the view
This module is part of the Bureaucrat ITSM project. You can try it by the links below.
Launch your own ITSM system in 60 seconds:
Create your own Bureaucrat ITSM database
This module is maintained by the Center of Research & Development company.
We can provide you further Odoo Support, Odoo implementation, Odoo customization, Odoo 3rd Party development and integration software, consulting services. Our main goal is to provide the best quality product for you.
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.