Update Restrict Model
base_model_restrict_update · OCA/server-tools
Health
67/100
fair
-
Security25/25No findings
-
Activity12/25Last human commit 15 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 6 Odoo series since 12.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.07 MB
Module directory on disk
Code analysis
0 migration notes
4 models
3 views
0 HTTP endpoints
Description
This module adds the following features:
- The ability to limit the update permissions for a model to certain groups
- The ability to revoke update permissions for specific users
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
res_config_settings_view_form |
res.config.settings.view.form.inherit.base.model.restrict.update | res.config.settings | form | Inherits base_setup.res_config_settings_view_form |
view_model_form |
ir.model form | ir.model | form | Inherits base.view_model_form |
view_users_form |
res.users.form | res.users | form | Inherits base.view_users_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 4
New fields (2)
-
restrict_updateBooleanhelp='When selected, the model is restricted to read-only unless the user belongs to an Update-Allowed Group.' args: 'Update Restrict Model' -
update_allowed_group_idsMany2many → res.groupsstring='Update-Allowed Groups' args: 'res.groups', 'ir_model_res_groups_update_allowed_rel'
No public methods.
New fields (0)
No new fields.
Public methods (1)-
check(self, model, mode='read', raise_exception=True)@api.model
New fields (1)
-
excluded_models_from_readonlyCharconfig_parameter='base_model_restrict_update.excluded_models_from_readonly'help='Specified models, separated by commas, will be exempt from the read-only restriction for read-only users.' args: 'Excluded Models from Read-only'
No public methods.
New fields (1)
-
is_readonly_userBooleanhelp='Select this option to prevent the user from updating any business records.' args: 'Read-only User'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…