Skip to content

[19.0][MIG] partner_deduplicate_by_website#2316

Merged
OCA-git-bot merged 23 commits intoOCA:19.0from
c4a8-odoo:19.0-mig-partner_deduplicate_by_website
Apr 23, 2026
Merged

[19.0][MIG] partner_deduplicate_by_website#2316
OCA-git-bot merged 23 commits intoOCA:19.0from
c4a8-odoo:19.0-mig-partner_deduplicate_by_website

Conversation

@CRogos
Copy link
Copy Markdown
Contributor

@CRogos CRogos commented Apr 7, 2026

No description provided.

pedrobaeza and others added 22 commits April 7, 2026 15:09
===============================
Deduplicate Contacts by website
===============================

This module extends the criteria to match duplicated contacts using the field
website.

Usage
=====

To use this module, you need to:

* Go to *Sales > Tools > Deduplicate Contacts*.
* Mark "Website" in the section "Search duplicates based on duplicated data
  in".
* This criteria will be used for deduplicating.
- Updated README
- Updated views
- Improved tests
Currently translated at 100.0% (2 of 2 strings)

Translation: crm-11.0/crm-11.0-crm_deduplicate_by_website
Translate-URL: https://translation.odoo-community.org/projects/crm-11-0/crm-11-0-crm_deduplicate_by_website/gl/
Currently translated at 100.0% (2 of 2 strings)

Translation: partner-contact-12.0/partner-contact-12.0-partner_deduplicate_by_website
Translate-URL: https://translation.odoo-community.org/projects/partner-contact-12-0/partner-contact-12-0-partner_deduplicate_by_website/pt_BR/
Currently translated at 100.0% (2 of 2 strings)

Translation: partner-contact-13.0/partner-contact-13.0-partner_deduplicate_by_website
Translate-URL: https://translation.odoo-community.org/projects/partner-contact-13-0/partner-contact-13-0-partner_deduplicate_by_website/es_AR/
Currently translated at 100.0% (2 of 2 strings)

Translation: partner-contact-14.0/partner-contact-14.0-partner_deduplicate_by_website
Translate-URL: https://translation.odoo-community.org/projects/partner-contact-14-0/partner-contact-14-0-partner_deduplicate_by_website/fr/
Currently translated at 50.0% (1 of 2 strings)

Translation: partner-contact-14.0/partner-contact-14.0-partner_deduplicate_by_website
Translate-URL: https://translation.odoo-community.org/projects/partner-contact-14-0/partner-contact-14-0-partner_deduplicate_by_website/it/
Currently translated at 100.0% (2 of 2 strings)

Translation: partner-contact-15.0/partner-contact-15.0-partner_deduplicate_by_website
Translate-URL: https://translation.odoo-community.org/projects/partner-contact-15-0/partner-contact-15-0-partner_deduplicate_by_website/es/
Currently translated at 100.0% (2 of 2 strings)

Translation: partner-contact-17.0/partner-contact-17.0-partner_deduplicate_by_website
Translate-URL: https://translation.odoo-community.org/projects/partner-contact-17-0/partner-contact-17-0-partner_deduplicate_by_website/it/
Currently translated at 100.0% (2 of 2 strings)

Translation: partner-contact-18.0/partner-contact-18.0-partner_deduplicate_by_website
Translate-URL: https://translation.odoo-community.org/projects/partner-contact-18-0/partner-contact-18-0-partner_deduplicate_by_website/sl/
Copy link
Copy Markdown

@luisDIXMIT luisDIXMIT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review and tested on runboat, LGTM!

break
self.assertTrue(found_match)

def test_deduplicate_by_website_and_is_company(self):
Copy link
Copy Markdown
Contributor

@MohamedOsman7 MohamedOsman7 Apr 22, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@CRogos

  1. Shouldn't this test be named "test_deduplicate_by_website_and_email" instead of "test_deduplicate_by_website_and_is_company", since "is_company" is not actually used here? Or was the intention to test the behavior with 2 company type contacts?

2- Do you think we should add more test cases, like individual vs. company, individual vs. individual, and company vs. company?

They seem to work fine in the UI and are quite similar, but just wanted to confirm.

Otherwise LGTM

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added is_company now, but the tests are very similar. Not sure if this tests is really needed or should be removed.

@CRogos CRogos force-pushed the 19.0-mig-partner_deduplicate_by_website branch from 4ef402a to 1b4cb70 Compare April 22, 2026 18:00
@OCA-git-bot OCA-git-bot added series:19.0 mod:partner_deduplicate_by_website Module partner_deduplicate_by_website labels Apr 22, 2026
@MohamedOsman7
Copy link
Copy Markdown
Contributor

@pedrobaeza could you merge?

@pedrobaeza
Copy link
Copy Markdown
Member

/ocabot migration partner_deduplicate_by_website
/ocabot merge nobump

@OCA-git-bot OCA-git-bot added this to the 19.0 milestone Apr 23, 2026
@OCA-git-bot
Copy link
Copy Markdown
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 19.0-ocabot-merge-pr-2316-by-pedrobaeza-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot mentioned this pull request Apr 23, 2026
62 tasks
@OCA-git-bot OCA-git-bot merged commit b8cd040 into OCA:19.0 Apr 23, 2026
5 of 7 checks passed
@OCA-git-bot
Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at 3666220. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.