Skip to content

[19.0][MIG] privacy_partner_to_be_forgotten - #94

Merged
OCA-git-bot merged 5 commits into
OCA:19.0from
camptocamp:19.0-mig-privacy_partner_to_be_forgotten
Jul 28, 2026
Merged

OCA-git-bot merged 5 commits into
OCA:19.0from
camptocamp:19.0-mig-privacy_partner_to_be_forgotten

Conversation

@Ricardoalso

Copy link
Copy Markdown

No description provided.

halbtonjazz and others added 4 commits June 2, 2026 10:28
Add new module for partner data anonymization to comply with GDPR
right to erasure requirements:

- Anonymize individual contacts by replacing name with initials and
  "Anonymized" suffix (e.g., "John Doe" -> "JD Anonymized")
- Transform email addresses with date stamps for traceability
  (e.g., "john@example.com" -> "jd_2025-01-15_123@anonymized.oca")
- Clear all personal data: phone, address, tax ID, job details
- Remove chatter messages and attachments containing personal info
- Anonymize linked user accounts and archive them
- Preserve company data as it contains public information
- Provide confirmation wizard with GDPR compliance warnings
- Add security group "Anonymize Contacts" for access control
- Log anonymization events for audit trail

The module ensures irreversible anonymization while maintaining
data relationships and audit requirements for GDPR compliance.

Task: 4518
@OCA-git-bot OCA-git-bot added mod:privacy_partner_to_be_forgotten Module privacy_partner_to_be_forgotten series:19.0 labels Jun 2, 2026

@ivantodorovich ivantodorovich left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Non-blocking comments.
Thanks!!

Comment thread privacy_partner_to_be_forgotten/models/res_partner.py Outdated
Comment thread privacy_partner_to_be_forgotten/demo/demo_partner_anonymize_data.xml Outdated
@Ricardoalso
Ricardoalso force-pushed the 19.0-mig-privacy_partner_to_be_forgotten branch from 3bc4fb3 to 956f938 Compare June 2, 2026 13:27
@ivantodorovich

Copy link
Copy Markdown

Hello @halbtonjazz, @michelerusti 👋🏻

I see you've been contributing to this module in the past.
We'd love to get your reviews on this migration PR, if possible.

Thanks in advance ❤️

@ivantodorovich

Copy link
Copy Markdown

Hello @OCA/data-protection-maintainers , could you have a look and possibly merge this one? 🙏🏻

@OCA-git-bot

Copy link
Copy Markdown
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

Comment thread privacy_partner_to_be_forgotten/tests/test_partner_anonymize.py
@Ricardoalso
Ricardoalso force-pushed the 19.0-mig-privacy_partner_to_be_forgotten branch from 956f938 to 3ffec0d Compare July 28, 2026 06:42

@MiquelRForgeFlow MiquelRForgeFlow left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

/ocabot migration privacy_partner_to_be_forgotten

@OCA-git-bot OCA-git-bot added this to the 19.0 milestone Jul 28, 2026
@OCA-git-bot OCA-git-bot mentioned this pull request Jul 28, 2026
4 tasks
@MiquelRForgeFlow

Copy link
Copy Markdown
Contributor

/ocabot merge nobump

@OCA-git-bot

Copy link
Copy Markdown
Contributor

On my way to merge this fine PR!
Prepared branch 19.0-ocabot-merge-pr-94-by-MiquelRForgeFlow-bump-nobump, awaiting test results.

@OCA-git-bot
OCA-git-bot merged commit a510efe into OCA:19.0 Jul 28, 2026
7 checks passed
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at ea0c3ba. 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.

7 participants