OdooWiki OCA HUB

Partner Email Duplicate Warn

partner_email_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 one or several other partners have the same e-mail. 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).

It is similar to the native warning banner when another partner has the same VAT number. This module has a twin brother named partner_mobile_duplicate_warn which adds a warning banner when another partner has the same mobile phone number.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Shows a warning banner on the partner form when other partners share the same email address, helping you spot duplicates. You can click the listed partners to open them directly.

When you open a contact (partner) form, this module checks whether other contacts use the same email address and, if so, displays a warning banner on the form.

  • The banner lists the other partners with the same email as clickable links; clicking one opens that partner's form.
  • If some matching partners exist but you are not allowed to see them, the banner tells you how many and asks you to contact your administrator.
  • The comparison ignores upper/lower case and surrounding spaces, and only considers partners in the same company (or shared across companies).
  • Parent and child contacts of the current partner are excluded from the comparison, so a company and its own contacts are not flagged against each other.

The warning appears on the standard contact form, right after the existing tax-number warning area. It relies on two computed fields on res.partner: same_email_partner_ids (the visible duplicates) and same_email_inaccessible_count (duplicates you cannot read). The check runs automatically whenever the email or company changes. No menus, reports or scheduled actions are added; the module only extends the contact form and the res.partner model.

Depends on

base
Models and fields (1)
  • res.partner · extends an existing modelsame_email_partner_ids (Partner with same e-mail), same_email_inaccessible_count (Partners with same e-mail you cannot access)

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

Sources · Odoo 19.0

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

terminal Installation and usage

OCA documentation · Odoo 19.0

No configuration required.

The warning banner is displayed on the partner form view if another partner: - has the same e-mail address (independantly from the case, from starting spaces and ending spaces), - is not the parent nor the child of the partner, - 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.