odoo-addon-privacy-partner-to-be-forgotten


Nameodoo-addon-privacy-partner-to-be-forgotten JSON
Version 17.0.1.0.0.3 PyPI version JSON
download
home_pagehttps://github.com/OCA/data-protection
SummaryAnonymize partner data for GDPR compliance
upload_time2025-08-07 02:46:31
maintainerNone
docs_urlNone
authorCetmix, Odoo Community Association (OCA)
requires_python>=3.10
licenseLGPL-3
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            .. image:: https://odoo-community.org/readme-banner-image
   :target: https://odoo-community.org/get-involved?utm_source=readme
   :alt: Odoo Community Association

=======================================
Privacy Partner's Right to be Forgotten
=======================================

.. 
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! This file is generated by oca-gen-addon-readme !!
   !! changes will be overwritten.                   !!
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! source digest: sha256:f374385b6ed7798c0d487c5717e02403fe415e03bc101daca7dd4056884ed3dc
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
    :target: https://odoo-community.org/page/development-status
    :alt: Beta
.. |badge2| image:: https://img.shields.io/badge/license-LGPL--3-blue.png
    :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
    :alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fdata--protection-lightgray.png?logo=github
    :target: https://github.com/OCA/data-protection/tree/17.0/privacy_partner_to_be_forgotten
    :alt: OCA/data-protection
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/data-protection-17-0/data-protection-17-0-privacy_partner_to_be_forgotten
    :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
    :target: https://runboat.odoo-community.org/builds?repo=OCA/data-protection&target_branch=17.0
    :alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

The module allows anonymizing contacts that represent natural persons
(i.e., individuals) when they are no longer needed or when a data
erasure request is received.

This module provides a method to anonymize all personally identifiable
information (PII) from a ``res.partner`` record:

- Name (e.g., replaced with initials or a generic label) for individual
  contacts
- Email address
- Phone numbers
- Street and address fields
- Tax ID
- Citizen Identification
- Job position and title
- Internal Notes
- Attached images (e.g., avatar)

The anonymization preserves the partner's link to its parent company if
applicable (e.g., for a B2B contact) but ensures that the individual is
no longer identifiable through the remaining data or relationships.

Additionally, the module removes all chatter messages (``mail.message``)
and attachments associated with the partner record, as these may contain
personal information, such as communication history, internal notes, or
file uploads. This ensures complete anonymization and supports full GDPR
compliance.

If the partner is linked to one or more ``res.users`` records (e.g., as
a portal user or employee), the module will anonymize these user
records:

- The user login and email are replaced with anonymized values, and the
  user is archived.

A log note is added to the partner record chatter to indicate the
anonymization event, supporting traceability.

**Table of contents**

.. contents::
   :local:

Use Cases / Context
===================

This module aims to help companies comply with the European Union
General Data Protection Regulation (GDPR) by providing a mechanism to
anonymize personal data in ``res.partner`` records.

Configuration
=============

To permit a user to anonymize partner records:
----------------------------------------------

1. Go to **Settings** → **Users & Companies** → **Users**
2. Select the user you want to authorize
3. In the **Administration** group, enable the checkbox **"Anonymize
   Contacts"**

This will allow the user to access and execute the anonymization
functionality provided by the module.

Usage
=====

To anonymize a partner record:
------------------------------

NOTE: **Make sure the user has permission** to anonymize partner
records. Please check the Configuration file for details on how to grant
permission.

1. Go to the **Contacts App** in Odoo.
2. Select the partner record you want to anonymize.
3. Go to **Actions** → **Anonymize (GDPR)**.
4. A confirmation wizard will appear. Press the **"Confirm"** button to
   proceed.

Once you confirm, Odoo will anonymize the partner's record and all
related child records, including:

- Chatter messages and attachments
- Linked ``res.users`` (user) records, if applicable

**Important:**

- The anonymization operation **cannot be undone**.
- Please be aware that once the data is anonymized, it cannot be
  restored, so proceed carefully.
- You carry full responsibility for using the module's features, in line
  with GDPR compliance.

Changelog
=========



Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/data-protection/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/data-protection/issues/new?body=module:%20privacy_partner_to_be_forgotten%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* Cetmix

Contributors
------------

- `Cetmix <https://cetmix.com/>`__:

  - Mikhail Lapin
  - Anatol Mikheev

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
   :alt: Odoo Community Association
   :target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/data-protection <https://github.com/OCA/data-protection/tree/17.0/privacy_partner_to_be_forgotten>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/OCA/data-protection",
    "name": "odoo-addon-privacy-partner-to-be-forgotten",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": null,
    "author": "Cetmix, Odoo Community Association (OCA)",
    "author_email": "support@odoo-community.org",
    "download_url": null,
    "platform": null,
    "description": ".. image:: https://odoo-community.org/readme-banner-image\n   :target: https://odoo-community.org/get-involved?utm_source=readme\n   :alt: Odoo Community Association\n\n=======================================\nPrivacy Partner's Right to be Forgotten\n=======================================\n\n.. \n   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n   !! This file is generated by oca-gen-addon-readme !!\n   !! changes will be overwritten.                   !!\n   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n   !! source digest: sha256:f374385b6ed7798c0d487c5717e02403fe415e03bc101daca7dd4056884ed3dc\n   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n\n.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png\n    :target: https://odoo-community.org/page/development-status\n    :alt: Beta\n.. |badge2| image:: https://img.shields.io/badge/license-LGPL--3-blue.png\n    :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html\n    :alt: License: LGPL-3\n.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fdata--protection-lightgray.png?logo=github\n    :target: https://github.com/OCA/data-protection/tree/17.0/privacy_partner_to_be_forgotten\n    :alt: OCA/data-protection\n.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png\n    :target: https://translation.odoo-community.org/projects/data-protection-17-0/data-protection-17-0-privacy_partner_to_be_forgotten\n    :alt: Translate me on Weblate\n.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png\n    :target: https://runboat.odoo-community.org/builds?repo=OCA/data-protection&target_branch=17.0\n    :alt: Try me on Runboat\n\n|badge1| |badge2| |badge3| |badge4| |badge5|\n\nThe module allows anonymizing contacts that represent natural persons\n(i.e., individuals) when they are no longer needed or when a data\nerasure request is received.\n\nThis module provides a method to anonymize all personally identifiable\ninformation (PII) from a ``res.partner`` record:\n\n- Name (e.g., replaced with initials or a generic label) for individual\n  contacts\n- Email address\n- Phone numbers\n- Street and address fields\n- Tax ID\n- Citizen Identification\n- Job position and title\n- Internal Notes\n- Attached images (e.g., avatar)\n\nThe anonymization preserves the partner's link to its parent company if\napplicable (e.g., for a B2B contact) but ensures that the individual is\nno longer identifiable through the remaining data or relationships.\n\nAdditionally, the module removes all chatter messages (``mail.message``)\nand attachments associated with the partner record, as these may contain\npersonal information, such as communication history, internal notes, or\nfile uploads. This ensures complete anonymization and supports full GDPR\ncompliance.\n\nIf the partner is linked to one or more ``res.users`` records (e.g., as\na portal user or employee), the module will anonymize these user\nrecords:\n\n- The user login and email are replaced with anonymized values, and the\n  user is archived.\n\nA log note is added to the partner record chatter to indicate the\nanonymization event, supporting traceability.\n\n**Table of contents**\n\n.. contents::\n   :local:\n\nUse Cases / Context\n===================\n\nThis module aims to help companies comply with the European Union\nGeneral Data Protection Regulation (GDPR) by providing a mechanism to\nanonymize personal data in ``res.partner`` records.\n\nConfiguration\n=============\n\nTo permit a user to anonymize partner records:\n----------------------------------------------\n\n1. Go to **Settings** \u2192 **Users & Companies** \u2192 **Users**\n2. Select the user you want to authorize\n3. In the **Administration** group, enable the checkbox **\"Anonymize\n   Contacts\"**\n\nThis will allow the user to access and execute the anonymization\nfunctionality provided by the module.\n\nUsage\n=====\n\nTo anonymize a partner record:\n------------------------------\n\nNOTE: **Make sure the user has permission** to anonymize partner\nrecords. Please check the Configuration file for details on how to grant\npermission.\n\n1. Go to the **Contacts App** in Odoo.\n2. Select the partner record you want to anonymize.\n3. Go to **Actions** \u2192 **Anonymize (GDPR)**.\n4. A confirmation wizard will appear. Press the **\"Confirm\"** button to\n   proceed.\n\nOnce you confirm, Odoo will anonymize the partner's record and all\nrelated child records, including:\n\n- Chatter messages and attachments\n- Linked ``res.users`` (user) records, if applicable\n\n**Important:**\n\n- The anonymization operation **cannot be undone**.\n- Please be aware that once the data is anonymized, it cannot be\n  restored, so proceed carefully.\n- You carry full responsibility for using the module's features, in line\n  with GDPR compliance.\n\nChangelog\n=========\n\n\n\nBug Tracker\n===========\n\nBugs are tracked on `GitHub Issues <https://github.com/OCA/data-protection/issues>`_.\nIn case of trouble, please check there if your issue has already been reported.\nIf you spotted it first, help us to smash it by providing a detailed and welcomed\n`feedback <https://github.com/OCA/data-protection/issues/new?body=module:%20privacy_partner_to_be_forgotten%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.\n\nDo not contact contributors directly about support or help with technical issues.\n\nCredits\n=======\n\nAuthors\n-------\n\n* Cetmix\n\nContributors\n------------\n\n- `Cetmix <https://cetmix.com/>`__:\n\n  - Mikhail Lapin\n  - Anatol Mikheev\n\nMaintainers\n-----------\n\nThis module is maintained by the OCA.\n\n.. image:: https://odoo-community.org/logo.png\n   :alt: Odoo Community Association\n   :target: https://odoo-community.org\n\nOCA, or the Odoo Community Association, is a nonprofit organization whose\nmission is to support the collaborative development of Odoo features and\npromote its widespread use.\n\nThis module is part of the `OCA/data-protection <https://github.com/OCA/data-protection/tree/17.0/privacy_partner_to_be_forgotten>`_ project on GitHub.\n\nYou are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.\n",
    "bugtrack_url": null,
    "license": "LGPL-3",
    "summary": "Anonymize partner data for GDPR compliance",
    "version": "17.0.1.0.0.3",
    "project_urls": {
        "Homepage": "https://github.com/OCA/data-protection"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f9fa3dfee6f0171fa83b57a8c6ecb41e6387873da05389aa846b5ca3fd53f63e",
                "md5": "9e1897fc0be17f4076cd5d46b3b4a900",
                "sha256": "0706dc24ef34ce217c5ea1b7152ad55d43ce78f307b23b2064a964045a4b0f71"
            },
            "downloads": -1,
            "filename": "odoo_addon_privacy_partner_to_be_forgotten-17.0.1.0.0.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9e1897fc0be17f4076cd5d46b3b4a900",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 42581,
            "upload_time": "2025-08-07T02:46:31",
            "upload_time_iso_8601": "2025-08-07T02:46:31.006866Z",
            "url": "https://files.pythonhosted.org/packages/f9/fa/3dfee6f0171fa83b57a8c6ecb41e6387873da05389aa846b5ca3fd53f63e/odoo_addon_privacy_partner_to_be_forgotten-17.0.1.0.0.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-07 02:46:31",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "OCA",
    "github_project": "data-protection",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "odoo-addon-privacy-partner-to-be-forgotten"
}
        
Elapsed time: 1.12186s