Partner Mobile Duplicate Warn
partner_mobile_duplicate_warn · OCA/partner-contact
-
Security25/25No findings
-
Activity20/25Last human commit 10 months ago
-
Required by5/250 modules depend on it
-
Maturity18/25In 3 Odoo series since 14.0
Heuristic over the facts below, not an audit · How it's computed
Description
This module adds a warning banner on the partner form view if another partner has the same mobile phone number. It helps spot duplicate partners. If the duplication is confirmed, the user can then use the native partner merge wizard available from the partner tree view (menu Action > Merge).

This module depend on the module phone_validation from the official addons which handle the automatic reformatting of phone numbers to the E.164 format depending on the country of the partner. For exemple, for a French partner, if you write 06.23.45.67.78 in the Mobile field, it will be automatically reformatted to +33 6 23 45 67 78 (via the onchange). Thanks to this reformatting, this module can easily find identical phone numbers on other partners.
It is similar to the native warning banner when another partner has the same VAT number. This module has a twin brother named partner_email_duplicate_warn which adds a warning banner when another partner has the same email.
Dependencies
- Odoo dependencies
- Python dependencies
- phonenumbers
- 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 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_partner_form |
res.partner | form | Inherits base.view_partner_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 1
-
same_mobile_partner_idsMany2many → res.partnercompute='_compute_same_mobile_partner_ids'compute_sudo=Truestring='Partners with same mobile' args: 'res.partner'
-
action_open_business_doc(self)Method called when you click on the link in the duplicate warning banner
Loading…
Loading…