Repository
OCA/server-tools · module folder · Try on Runboat
Module version
1.0.0
Category
Others
Folder size
0.07 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/server-tools
Last tracking update
2026-08-07 08:42:57
Authors
Odoo Community Association (OCA), Quartile
Maintainers
Odoo Community Association (OCA), Quartile
Committers
Aungkokolin1997, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
odoo/odoo:
- web
Python dependencies
None
System dependencies
None
Required by
None
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

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
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_update Boolean
    help='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_ids Many2many → res.groups
    string='Update-Allowed Groups' args: 'res.groups', 'ir_model_res_groups_update_allowed_rel'
Public methods (0)

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_readonly Char
    config_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'
Public methods (0)

No public methods.

New fields (1)
  • is_readonly_user Boolean
    help='Select this option to prevent the user from updating any business records.' args: 'Read-only User'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
checks failing
Open since
331 days ago
Last activity
60 days ago
Repository
OCA/server-tools
Pull request
[19.0][MIG] base_model_restrict_update: Migration to 19.0 (#3388)