Partner Mobile Duplicate Warn

partner_mobile_duplicate_warn
REPOSITORY
REPOSITORYOCA/partner-contact
GIT
GIThttps://github.com/OCA/partner-contact.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/partner-contact/tree/18.0/partner_mobile_duplicate_warn
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPartner Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexis de Lattre, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/partner-contact
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:10
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - phone_validation
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES phonenumbers
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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*).

![](static/description/partner_warn_banner.png)

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.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_partner_form res.partner div Inherits base.view_partner_form
Models touched (1)

New fields (1)
  • same_mobile_partner_ids Many2many → res.partner
    compute='_compute_same_mobile_partner_ids' compute_sudo=True string='Partners with same mobile' args: 'res.partner'
Public methods (1)
  • action_open_business_doc(self)
    Method called when you click on the link in the duplicate warning banner
REPOSITORY
REPOSITORYOCA/partner-contact
GIT
GIThttps://github.com/OCA/partner-contact.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/partner-contact/tree/16.0/partner_mobile_duplicate_warn
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPartner Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSDaniel Reis, Weblate, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/partner-contact
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:44
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - phone_validation
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES phonenumbers
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_partner_form res.partner div Inherits base.view_partner_form
Models touched (1)

New fields (1)
  • same_mobile_partner_id Many2one → res.partner
    compute='_compute_same_mobile_partner_id' compute_sudo=True string='Partner with same mobile' args: 'res.partner'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/partner-contact
GIT
GIThttps://github.com/OCA/partner-contact.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/partner-contact/tree/14.0/partner_mobile_duplicate_warn
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYPartner Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexis de Lattre, OCA Transbot, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/partner-contact
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:56
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - phone_validation
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES phonenumbers
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_partner_form res.partner div Inherits base.view_partner_form
Models touched (1)

New fields (1)
  • same_mobile_partner_id Many2one → res.partner
    compute='_compute_same_mobile_partner_id' compute_sudo=True string='Partner with same mobile' args: 'res.partner'
Public methods (0)

No public methods.