TIP: You can type at any time to perform a new search.
User Threshold
user_threshold · OCA/server-tools
- Repository
- OCA/server-tools · module folder · Try on Runboat
- Module version
- 1.0.1
- Category
- Authentication
- Folder size
- 0.11 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://www.laslabs.com
- Last tracking update
- 2026-08-07 07:17:49
- Authors
- Odoo Community Association (OCA), LasLabs
- Maintainers
- Odoo Community Association (OCA), LasLabs
- Committers
- Pedro M. Baeza, OCA Transbot, Dave Lasley, OCA-git-bot, oca-travis
- Odoo dependencies
- None
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
Code Analysis ⓘ
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