Odoo
Implementation
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 67 |
| Technical Name |
users_restriction |
| License | OPL-1 |
| Website | https://lucidbrainz.com/ |
| Versions | 17.0 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 67 |
| Technical Name |
users_restriction |
| License | OPL-1 |
| Website | https://lucidbrainz.com/ |
| Versions | 17.0 18.0 19.0 |
User Restriction
Restrict Users from Create, Update & Delete Operations | Group-Based Access Control | Works on All Odoo Models
Overview
User Restriction by
LucidBrainz is a lightweight and powerful Odoo 18
module that enables administrators to control what operations specific users can perform
across the entire system. Using Odoo's native group-based access mechanism, the module
provides three dedicated restriction groups —
No Create, No Update, and No Delete.
Once a user is assigned to any of these groups, they are immediately restricted from
performing that operation on any model in Odoo — no additional configuration required.
The restriction works system-wide by inheriting Odoo's base AbstractModel,
which means the control applies universally without needing to configure it separately
for each module. This is ideal for businesses that require read-only users, auditors,
or junior staff who should only view data without any modification rights. The module
follows standard Odoo development practices, uses clean model inheritance, and is
production-ready with minimal performance overhead. Simply install, assign the group to
the user, and the restriction goes into effect immediately.
Key Features
- No Create Restriction: Users assigned to the "No Create" group cannot create any new record across any Odoo model — enforced system-wide automatically.
- No Update Restriction: Users assigned to the "No Update" group cannot edit or modify any existing record — all write operations are blocked immediately.
- No Delete Restriction: Users assigned to the "No Delete" group cannot delete any record from the system — unlink operations are blocked for that user.
- System-Wide Enforcement: Restrictions apply across all Odoo models universally — no need to configure individually for Sales, Purchase, Inventory, or any other module.
-
Group-Based Control: Works on Odoo's native
res.groupsmechanism — easy to assign via Settings > Users & Companies > Users. -
Base Model Inheritance: Uses Odoo's
AbstractModelbase inheritance — clean implementation with no conflicts with other installed modules. -
Clear Error Message: When a restricted user attempts a blocked
operation, a clear and descriptive
UserErrormessage is shown immediately. - Instant Activation: No setup wizard, no additional configuration — install the module, assign the group to the user, and restriction is active immediately.
-
Odoo 18 Compatible: Fully tested on Odoo 18 with proper use of
@api.model_create_multiand current ORM best practices. -
Lightweight & Minimal: Only depends on the
basemodule — no heavy dependencies, minimal memory footprint, suitable for any Odoo setup.
How It Works
Step 1: Install the Module
Install the module from Odoo Apps. Upon installation, three security groups are automatically created under the User Restriction category — No Create, No Update, and No Delete. No manual configuration is required after installation.
Step 2: Open the User Settings
Navigate to Settings > Users & Companies > Users and open the user you want to restrict. Scroll down to find the User Restriction section visible in the user's permission form.
Step 3: Assign the Restriction Group
Check one or more restriction options — No Create, No Update, or No Delete — depending on what operations you want to block for that user. Save the user record.
Step 4: Restriction is Active
From this point, whenever the restricted user tries to perform the blocked operation anywhere in Odoo — whether in Sales, Purchase, Inventory, Accounting, or any other module — they will see a clear error message: "You are not allowed to create/update/delete records."
Step 5: Read-Only Access Remains
The user retains full read/view access to all records. They can browse, search, and view all data normally — only the restricted write operations are blocked. This makes the module ideal for creating auditor or read-only user roles in your Odoo system.
Module Screenshots
Our Services
Odoo
Customization
Odoo
Migration
Support &
Maintenance
Contact Us
WhatsApp:
Email:
Address: |
Follow UsFacebook Instagram LinkedIn YouTube |
© 2026 LucidBrainz | All Rights Reserved | License: LGPL-3 | Version: 18.0.0.1
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.
Please log in to comment on this module