OdooWiki OCA HUB

Partner Relation Functions

partner_multi_relation_function folder_open OCA/partner-contact open_in_new
Customer Relationship Management License: AGPL-3

This module gives the posibility to have a relation between partners have a function.

Of course there is a function field on partner, but this ignores the fact that persons can have multiple functions depending on the relations they are in. For instance a person can be a CEO in one company and a volunteer in another organisation.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Lets you record a job title or role (a "function") on the relationship between two contacts, for example CEO of one company and volunteer at another. You can also search contacts by that function.

This module builds on partner relations. It adds a free-text "function" field on each relation between two contacts, so the same person can carry a different role in each relationship (for example CEO in one company, volunteer in another).

  • On relation types you get a new "allow function" option. A function can only be entered on relations whose type allows it; otherwise Odoo blocks the entry with a validation message.
  • In the relations list the function column is shown and is editable only when the relation type allows a function.
  • The relation name displayed includes the function, for example "... with function CEO".
  • The relations list and its search view gain a function filter, and the relation type list and form show the "allow function" setting.
  • On the contact search view a new "Has relation function" filter lets you find contacts by the function they hold in a relation.

It touches the contact, relation, relation type and relation type selection records, and the related list, form and search screens.

Models and fields (5)
  • res.partner · extends an existing modelsearch_relation_function (Has relation function)
  • res.partner.relation · extends an existing modelfunction
  • res.partner.relation.all · extends an existing modelfunction, allow_function
  • res.partner.relation.type · extends an existing modelallow_function
  • res.partner.relation.type.selection · extends an existing modelallow_function

Text generated by AI (DeepSeek) from reading the Odoo 18.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: 2 confirmed, 7 with no information of 9 versions.

Sources · Odoo 18.0

Confirmed on 2026-11-03 in branch 18.0 of OCA/partner-contact.

terminal Installation and usage

OCA documentation · Odoo 18.0

Relation Type

You can specify that a relation type can have a function attached to it.

Relation

You can enter a function for relation types that allow this. The display name for the relation will reflect the function entered, if any.

No verified information in OCA: Installation, Configuration.

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.