Restrict field access
base_mixin_restrict_field_access · OCA/server-tools
Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 110 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 8.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
AGPL-3
No conflicts with its dependencies
Folder size
0.14 MB
Module directory on disk
Code analysis
4 migration notes
1 model
0 views
0 HTTP endpoints
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
RestrictFieldAccessMixin— Migrating to 16.0: the web client no longer calls `fields_view_get`: override `_get_view` instead. migration-fields-view-get · sourceRestrictFieldAccessMixin— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (8 methods) migration-api-multi-one · source- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (3 occurrences in this file) migration-openerp-import · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
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 0
No views found for this module.
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 1
New fields (1)
-
restrict_field_accessBooleancompute='_compute_restrict_field_access' args: 'Field access restricted'
-
copy(self, default=None)@api.multi -
create(self, vals)@api.model@api.returns('self', <expr>) -
fields_view_get(self, cr, uid, view_id=None, view_type='form', context=None, toolbar=False, submenu=False)@api.cr_uid_context -
read(self, fields=None, load='_classic_read')@api.multi -
read_group(self, domain, fields, groupby, offset=0, limit=None, orderby=False, lazy=True)@api.modelRestrict reading if we read an inaccessible field -
write(self, vals)@api.multi
Loading…