| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/crm |
| GIT | |
| GIT | https://github.com/OCA/crm.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/crm/tree/16.0/crm_team_zip_assign |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Uncategorized |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Binhex |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Binhex |
| COMMITTERS | |
| COMMITTERS | Weblate, OCA-git-bot, oca-ci, r.perez |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/crm |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:53:42 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - crm - base_setup - base - web - sales_team - bus - web_tour - calendar - resource - utm - web_kanban_gauge - contacts - digest - portal - web_editor - http_routing - auth_signup - phone_validation |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
crm_team_view_form |
crm.team.form.zip.assign | crm.team | xpath | Inherits sales_team.crm_team_view_form |
crm_team_view_tree |
crm.team.tree.zip.assign | crm.team | xpath | Inherits sales_team.crm_team_view_tree |
view_partner_form |
res.partner.form.zip.assign | res.partner | xpath | Inherits base.view_partner_form |
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'
No public methods.
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'
No public methods.
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'
create(self, vals_list)
write(self, vals)