partner_multi_relation
Provides generic partner relationship modeling with configurable types, partner constraints, and relation search tools in Contacts.
Key Features
- res.partner.relation: Stores partner links with date range validation, overlap prevention, optional self-relations, and enforcement of type-specific partner type and category constraints.
- res.partner.relation.all: Presents a unified view of direct and inverse relations with active status, partner/type domains, and delegated create/write/unlink to the underlying relation records.
- res.partner.relation.type: Defines relation types with forward and inverse labels, partner type/category restrictions, symmetric or reflexive behavior, and configurable cleanup of invalid relations when rules change.
- res.partner.relation.type.selection: Provides a virtual set of forward and inverse relation choices carrying partner type and category metadata for selection fields.
- res.partner: Adds relation count, smart button, and search helpers to find partners by relation type, related partner, validity date, or related partner category with automatic current-date filtering.