OdooWiki OCA HUB

Partner Mobile Duplicate Warn

partner_mobile_duplicate_warn folder_open OCA/partner-contact open_in_new
Partner Management License: AGPL-3

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.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Shows a warning banner on the partner form when another partner already uses the same mobile number, so users can spot duplicate contacts before saving.

When you open a contact (partner) in Odoo, this module checks whether any other partner has the same mobile number. If it finds one or more, a yellow warning banner appears on the form saying that partners with the same Mobile exist, and it lists them as clickable buttons so you can open each one directly.

The comparison uses the mobile number exactly as stored, which works well because the phone_validation module automatically reformats phone numbers to a standard international format based on the partner's country. The search also respects company rules: it looks at partners from the same company plus partners not linked to any company, and it ignores the partner you are currently viewing. Archived partners are included in the search, so duplicates hidden in the archive are still detected.

The warning appears right after the existing VAT duplicate warning area on the contact form. This module does not merge partners by itself; if you confirm the duplication, you can still use Odoo's standard partner merge tool from the contacts list. It only adds the detection and the banner on the res.partner form.

Depends on

phone_validation
Models and fields (1)
  • res.partner · extends an existing modelsame_mobile_partner_ids (Partners with same mobile)

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 3 confirmed, 6 with no information of 9 versions.

Sources · Odoo 18.0

Confirmed on 2026-11-03 in branch 18.0 of OCA/partner-contact.

terminal Installation and usage

OCA documentation · Odoo 18.0

No configuration required.

The warning banner is displayed on the partner form view if another partner: - has the same mobile phone number (the module phone_validation ensure that phone numbers are automatically formatted to the E.164 format), - if the partner is attached to a specific company: is in the same company or is not attached to a specific company, - if the partner is not attached to a specific company: is in any company or not attached to a specific company.

No verified information in OCA: Installation.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.