OdooWiki OCA HUB

Partner Iterative Archive

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

This module automatically archives contacts when their parent is archived.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

When you archive a contact in Odoo, all of its child contacts are archived automatically too, so no active sub-contacts are left behind under an archived parent.

This module changes how archiving works for contacts. In Odoo, a contact can have child contacts (for example, people working at a company, or delivery addresses attached to a customer). Normally, archiving the parent contact does not touch the children, so they stay active and visible.

With this module installed, when you archive a contact, Odoo also archives every active child contact of that contact. The archiving is applied step by step, so children of children are archived as well, following the whole contact hierarchy.

  • The behaviour is triggered by the standard archive action on res.partner, so it works wherever you archive a contact from the Odoo interface.
  • Only active children are archived; children that are already archived are left as they are.
  • A technical safeguard exists so that internal operations can archive a contact without triggering the automatic archiving of its children.

No new menus, screens, fields or reports are added. The module only extends the existing contact model res.partner and its archive action, and it depends only on the base module.

Depends on

base
Models and fields (1)
  • res.partner · extends an existing model

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

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

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.