TIP: You can type at any time to perform a new search.
CRM Team ZIP Assignment
crm_team_zip_assign · OCA/crm
- Repository
- OCA/crm · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Uncategorized
- Folder size
- 0.15 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/crm
- Last tracking update
- 2026-08-07 08:09:11
- Authors
- Odoo Community Association (OCA), Binhex
- Maintainers
- Odoo Community Association (OCA), Binhex
- Committers
- Weblate, OCA-git-bot, oca-ci, r.perez
Code Analysis ⓘ
Views touched (3)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_idsMany2many → res.countrydefault=<expr>help='Countries where this team operates'string='Countries' args: 'res.country' -
enable_zip_auto_assignmentBooleandefault=Falsehelp='If checked, this team will be considered for automatic assignment based on ZIP code patterns.'string='Enable Auto ZIP Assignment' -
pre_zip_match_conditionCharhelp='If present, this condition must be satisfied before matching the zip regular expression.'string='Pre-Zip Match Condition' -
state_idsMany2many → res.country.statehelp='States where this team operates'string='States' args: 'res.country.state' -
zip_assignment_priorityIntegerdefault=0help='Higher priority teams will be preferred when multiple teams match the same ZIP code. Higher number = higher priority.'string='Assignment Priority' -
zip_regex_idsOne2many → crm.team.zip.patterncomodel_name='crm.team.zip.pattern'help='Regular expression patterns to match partner ZIP codes'inverse_name='team_id'string='ZIP Regex'
No public methods.
New fields (3)
-
nameCharcompute='_compute_name'store=True -
patternCharhelp="Python regular expression pattern to match ZIP codes. Example: '^1[0-5].*' for ZIP codes starting with 10-15"required=Truestring='ZIP Pattern' -
team_idMany2one → crm.teamcomodel_name='crm.team'ondelete='cascade'required=Truestring='CRM Team'
No public methods.
New fields (1)
-
exclude_from_zip_assignBooleandefault=Falsehelp='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)@api.model_create_multi -
write(self, vals)