OdooWiki OCA HUB

Exclude records from the deduplication

partner_deduplicate_filter folder_open OCA/partner-contact open_in_new
Tools License: AGPL-3

This module extends the possibilities of the contact deduplication allowing to filter the applicable set according to several criteria.

For now, only the filter for restricting the deduplication to only companies or only contacts is implemented.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Adds extra filter options to the contact deduplication wizard so you can exclude companies, exclude contacts with a parent company, or exclude contacts without one before merging duplicates.

This module extends the automatic contact deduplication wizard in Odoo. When you open the wizard to merge duplicate contacts, three new checkboxes appear next to the existing exclusion option.

  • "'Is a company?' field selected": when ticked, records that are companies are left out of the deduplication, so only individual contacts are considered.
  • "Parent company not set": when ticked, contacts that have a parent company are excluded, keeping only contacts without a parent.
  • "Parent company set (Contacts)": when ticked, contacts without a parent company are excluded, keeping only contacts that belong to a parent company.

These options change which records the wizard looks at when it searches for duplicates. They are combined with each other and with the existing exclusion filter, and they only take effect inside the deduplication wizard — no other screen or process is affected.

The module works on the base.partner.merge.automatic.wizard model and adds its fields to the standard deduplication wizard form. It depends on the access-rights module for contact deduplication, so the same permissions apply. No new menus, reports, emails or scheduled actions are added.

Models and fields (1)
  • base.partner.merge.automatic.wizard · extends an existing modelexclude_parent (Parent company set (Contacts)), exclude_is_company ('Is a company?' field selected), exclude_not_parent (Parent company not set)

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: 8 confirmed, 1 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

To use this module, you need to:

  • Ensure the user has enough access rights to run the deduplication wizard.
  • Go to Contacts \> Tools \> Deduplicate Contacts.
  • Mark "'Is a company?' field selected", "Parent company not set" or "Parent company set (Contacts)" in the section 'Exclude contacts having'.
  • This criteria will be used for excluding in the deduplication the selected kind of records.

No verified information in OCA: Installation, Configuration.

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.