Skip to content
Health
67/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 6 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity12/25
    In 2 Odoo series since 16.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.05 MB
Module directory on disk
Code analysis 0 migration notes 2 models 1 view 0 HTTP endpoints

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.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 1

XML IDNameModelTypeStatus
view_res_partner_relation_type_form_archive_propagate res.partner.relation.type.form.archive.propagate res.partner.relation.type form Inherits partner_multi_relation.form_res_partner_relation_type

HTTP endpoints 0

No HTTP endpoints found for this module.

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.

Loading…