This addon disables the Edit button on the form views if the user cannot edit the current record according to the record access rules.
auto_awesome What this module does
AI-generated from the code · Odoo 14.0This module disables the Edit button on form views when the current user is not allowed to modify the record according to Odoo's record access rules, so users cannot start editing a record they cannot save.
When a user opens a record in a form view, Odoo normally shows an Edit button. This module checks the record access rules for the current user and, if writing is not allowed, the Edit button is shown as disabled (greyed out) instead of clickable.
The check is done through a new method available on all models, check_access_rule_all, which returns whether the user can read, create, write or delete the record. The form view only uses the write result to decide whether to enable the Edit button.
- The behaviour applies to all models because the method is added to the base model inherited by every model.
- For temporary records (for example, unsaved wizards) or records without an ID, access is considered allowed.
- The button state is refreshed each time the form view is updated, so it stays in line with the current record and user.
There are no new menus, reports, scheduled actions or emails. The change is purely in the web client interface: it prevents users from entering edit mode on records they are not allowed to modify, avoiding a confusing error when they try to save.
Depends on
Models and fields (1)
- base · extends an existing model
Text generated by AI (DeepSeek) from reading the Odoo 14.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 14.0
Confirmed on 2026-11-03 in branch 14.0 of OCA/web.
terminal Installation and usage
OCA documentation · Odoo 14.0Usage
Source · Odoo 14.0When using Odoo, even if a user has no rights to edit a record, the Edit button is shown. The user can edit the record but won't be able to save his changes. Now, the user won't be able to click on the Edit button.
No verified information in OCA: Installation, Configuration.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.