Partner Multi Relation Archive Propagate

partner_multi_relation_archive_propagate
REPOSITORY
REPOSITORYOCA/partner-contact
GIT
GIThttps://github.com/OCA/partner-contact.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/partner-contact/tree/18.0/partner_multi_relation_archive_propagate
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPartner Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Therp BV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Therp BV
COMMITTERS
COMMITTERSNikos Tsirintanis, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/partner-contact
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:10
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/partner-contact:
    - partner_multi_relation
    - partner_archive_propagate
odoo/odoo:
    - contacts
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - sales_team
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
## Partner Multi Relation Archive Propagate

This module extends the behaviour of partner_archive_propagate to also
propagate archiving and unarchiving **via partner_multi_relation
relations**.

When a company is archived:

- all related partners linked through relation types with
  `propagate_archive = True` are considered for propagation;
- related partners without active users are archived and marked with
  `propagated_from_id` pointing to the company;
- related partners linked to active users are skipped and listed in a
  message on the company.

When the company is unarchived, all partners that were archived because
of it – whether through the partner hierarchy or through multi-relations
– are restored automatically by the core partner_archive_propagate
logic.

Non-company partners do not propagate via this module, even if they are
involved in relations with `propagate_archive = True`.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_res_partner_relation_type_form_archive_propagate res.partner.relation.type.form.archive.propagate res.partner.relation.type xpath Inherits partner_multi_relation.form_res_partner_relation_type
Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • propagate_archive Boolean
    help='If enabled, archiving an organisational partner will also archive partners that are linked through relations of this type, when they are not linked to active users. Those partners are marked as propagated, so they can be unarchived again together with the organisation.' string='Propagate archive'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/partner-contact
GIT
GIThttps://github.com/OCA/partner-contact.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/partner-contact/tree/16.0/partner_multi_relation_archive_propagate
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYPartner Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Therp BV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Therp BV
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, Nikos Tsirintanis, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/partner-contact
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:44
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/partner-contact:
    - partner_multi_relation
    - partner_archive_propagate
odoo/odoo:
    - contacts
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - sales_team
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_res_partner_relation_type_form_archive_propagate res.partner.relation.type.form.archive.propagate res.partner.relation.type xpath Inherits partner_multi_relation.form_res_partner_relation_type
Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • propagate_archive Boolean
    help='If enabled, archiving an organisational partner will also archive partners that are linked through relations of this type, when they are not linked to active users. Those partners are marked as propagated, so they can be unarchived again together with the organisation.' string='Propagate archive'
Public methods (0)

No public methods.