Skip to content
Health
35/100
poor
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 111 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 10.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
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

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 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