OdooWiki OCA HUB

Partner Mobile Format and Duplicate Checker

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

This module validates the field mobile in the model res.partner for duplication.

As part of the validation, this module throws error on the partner form view if another partner has the same mobile (Optionally).

This module has a twin brother named partner_email_check which restricts the partner creation when another partner has the same email.

auto_awesome What this module does

AI-generated from the code · Odoo 14.0

Adds an optional company setting that stops users from saving two partners with the same mobile number. When switched on, Odoo blocks the save and shows an error message.

This module adds a company-level option that prevents duplicate mobile numbers on contacts. It appears in Odoo under the General Settings screen, in a new "Mobile validation" section, as a checkbox labelled "Filter duplicate partner moblie number" with the explanation "Require partner mobile number to be unique". The setting is company-specific, so each company can decide separately whether duplicate mobiles are allowed.

When the checkbox is enabled, every time a contact (res.partner) is saved, Odoo checks whether another partner already uses the same mobile number. If a duplicate is found, the save is refused and the user sees an error saying the mobile number already exists for another partner and that this is not supported when duplicate mobile numbers are not allowed.

The check only looks at partners that have a mobile number filled in. It also respects company ownership: it compares against partners that either belong to no company or belong to the same company as the contact being saved. The partner being edited is excluded from the comparison so it does not conflict with itself.

If the checkbox is left off, nothing changes and duplicate mobile numbers remain allowed. The module only touches contacts and the settings screen; it does not add menus, reports or scheduled actions.

Depends on

base_setupphone_validation
Models and fields (3)
  • res.company · extends an existing modelpartner_mobile_unique_filter_duplicates (Filter duplicate partner moblie number)
  • res.partner · extends an existing model
  • res.config.settings · extends an existing modelpartner_mobile_unique_filter_duplicates

Text generated by AI (DeepSeek) from reading the Odoo 14.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: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 14.0

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

terminal Installation and usage

OCA documentation · Odoo 14.0

To not allow multiple partners to have the same mobile, go to "General Settings" and use the "Filter duplicate partner mobile number"/partner_mobile_unique_filter_duplicates setting.

If configured, this module integrate automatically in all of the view res.partner

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.