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 IDNameModelTypeStatus
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.multi
    Override to disallow deletion of the user threshold parameter when the user does not have the right access
  • write(self, vals)
    @api.multi
    Override to disallow manipulation of the user threshold parameter when the user does not have the right access

New fields (1)
  • max_users Integer
    args: 'Maximum Number of users allowed for this company'
Public methods (2)
  • fields_view_get(self, view_id=None, view_type='form', toolbar=False, submenu=False)
    @api.model
    Hide Max User Field when the env var to hide the field is set
  • write(self, vals)
    @api.multi
    Override 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.multi
    Override 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_exempt Boolean
    args: 'Exempt User From User Count Thresholds'
Public methods (4)
  • copy(self, default=None)
    @api.multi
    Override method to make sure the Thresholds aren't met before creating a new user
  • create(self, vals)
    @api.multi
    Override 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.model
    Hide Max User Field when the env var to hide the field is set
  • write(self, vals)
    @api.multi
    Override write to verify that membership of the Threshold Manager group is not able to be set by users outside that group