Skip to content
Health
55/100
fair
  • Security25/25
    No findings
  • Activity20/25
    Last human commit 11 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 16.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
AGPL-3
No conflicts with its dependencies
Folder size
0.15 MB
Module directory on disk
Code analysis 2 migration notes 3 models 3 views 0 HTTP endpoints

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 3

XML IDNameModelTypeStatus
crm_team_view_form crm.team.form.zip.assign crm.team form Inherits sales_team.crm_team_view_form
crm_team_view_tree crm.team.tree.zip.assign crm.team tree Inherits sales_team.crm_team_view_tree
view_partner_form res.partner.form.zip.assign res.partner form Inherits base.view_partner_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (6)
  • country_ids Many2many → res.country
    default=<expr> help='Countries where this team operates' string='Countries' args: 'res.country'
  • enable_zip_auto_assignment Boolean
    default=False help='If checked, this team will be considered for automatic assignment based on ZIP code patterns.' string='Enable Auto ZIP Assignment'
  • pre_zip_match_condition Char
    help='If present, this condition must be satisfied before matching the zip regular expression.' string='Pre-Zip Match Condition'
  • state_ids Many2many → res.country.state
    help='States where this team operates' string='States' args: 'res.country.state'
  • zip_assignment_priority Integer
    default=0 help='Higher priority teams will be preferred when multiple teams match the same ZIP code. Higher number = higher priority.' string='Assignment Priority'
  • zip_regex_ids One2many → crm.team.zip.pattern
    comodel_name='crm.team.zip.pattern' help='Regular expression patterns to match partner ZIP codes' inverse_name='team_id' string='ZIP Regex'
Public methods (0)

No public methods.

New fields (3)
  • name Char
    compute='_compute_name' store=True
  • pattern Char
    help="Python regular expression pattern to match ZIP codes. Example: '^1[0-5].*' for ZIP codes starting with 10-15" required=True string='ZIP Pattern'
  • team_id Many2one → crm.team
    comodel_name='crm.team' ondelete='cascade' required=True string='CRM Team'
Public methods (0)

No public methods.

New fields (1)
  • exclude_from_zip_assign Boolean
    default=False help='If checked, this partner will not be automatically assigned to a CRM team based on ZIP code patterns.' string='Exclude from ZIP Assignment'
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)