User Threshold
user_threshold · OCA/server-tools
Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 111 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 10.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.11 MB
Module directory on disk
Code analysis
6 migration notes
4 models
2 views
0 HTTP endpoints
Migration considerations
IrConfigParameter— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (2 methods) migration-api-multi-one · sourceResCompany— Migrating to 16.0: the web client no longer calls `fields_view_get`: override `_get_view` instead. migration-fields-view-get · sourceResCompany— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceResGroups— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceResUsers— Migrating to 16.0: the web client no longer calls `fields_view_get`: override `_get_view` instead. migration-fields-view-get · sourceResUsers— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (3 methods) migration-api-multi-one · 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
- None
- 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 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_company_form |
res.company.form | res.company | form | Inherits base.view_company_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 (0)
No new fields.
Public methods (2)-
unlink(self)@api.multiOverride to disallow deletion of the user threshold parameter when the user does not have the right access -
write(self, vals)@api.multiOverride to disallow manipulation of the user threshold parameter when the user does not have the right access
New fields (1)
-
max_usersIntegerargs: 'Maximum Number of users allowed for this company'
-
fields_view_get(self, view_id=None, view_type='form', toolbar=False, submenu=False)@api.modelHide Max User Field when the env var to hide the field is set -
write(self, vals)@api.multiOverride to disallow manipulation of the user threshold parameter when the user does not have the right access
New fields (0)
No new fields.
Public methods (1)-
write(self, vals)@api.multiOverride write to verify that membership of the Threshold Manager group is not able to be set by users outside that group
New fields (1)
-
threshold_exemptBooleanargs: 'Exempt User From User Count Thresholds'
-
copy(self, default=None)@api.multiOverride method to make sure the Thresholds aren't met before creating a new user -
create(self, vals)@api.multiOverride method to make sure the Thresholds aren't met before creating a new user -
fields_view_get(self, view_id=None, view_type='form', toolbar=False, submenu=False)@api.modelHide Max User Field when the env var to hide the field is set -
write(self, vals)@api.multiOverride write to verify that membership of the Threshold Manager group is not able to be set by users outside that group