Partner Relations
(0)
221

Partner Relations

FREE

Technical name
partner_multi_relation
License
AGPL-3
Secure dependencies
N/A
Partner Relations

Partner Relations

Beta License: AGPL-3 OCA/partner-contact Translate me on Weblate Try me on Runboat

This module aims to provide generic means to model relations between partners.

Examples would be ‘is sibling of’ or ‘is friend of’, but also ‘has contract X with’ or ‘is assistant of’. This way, you can encode your knowledge about your partners directly in your partner list.

Table of contents

Usage

Relation Types

Before being able to use relations, you’ll have define some first. Do that in Contacts / Relations / Partner relations.

https://raw.githubusercontent.com/OCA/partner-contact/12.0/partner_multi_relation/static/description/relation_type_list.png

A relation type has a name for both sides.

https://raw.githubusercontent.com/OCA/partner-contact/12.0/partner_multi_relation/static/description/relation_type_form_empty.png

To have an assistant-relation, you would name one side ‘is assistant of’ and the other side ‘has assistant’.

https://raw.githubusercontent.com/OCA/partner-contact/12.0/partner_multi_relation/static/description/relation_type_form_name_filled.png

Partner Types

The Partner Type fields allow to constrain what type of partners can be used on the left and right sides of the relation.

  • In the example above, the assistant-relation only makes sense between people, so you would choose ‘Person’ for both partner types.
https://raw.githubusercontent.com/OCA/partner-contact/12.0/partner_multi_relation/static/description/relation_type_form_partner_type_filled.png
  • For a relation ‘is a competitor of’, both sides would be companies.
  • A relation ‘has worked for’ should have persons on the left side and companies on the right side.

If you leave these fields empty, the relation is applicable to all types of partners.

Partner Categories

You may use categories (tags) to further specify the type of partners.

You could for example enforce the ‘is member of’ relation to accept only companies with the label ‘Organization’ on the right side.

https://raw.githubusercontent.com/OCA/partner-contact/12.0/partner_multi_relation/static/description/relation_type_form_category_filled.png

Reflexive

A reflexive relation type allows a partner to be in relation with himself.

For example, the CEO of a company could be his own manager.

https://raw.githubusercontent.com/OCA/partner-contact/12.0/partner_multi_relation/static/description/relation_type_reflexive.png

Symmetric

A symetric relation has the same value for the left and right sides.

For example, in a competitor relation, both companies are competitors of each other.

https://raw.githubusercontent.com/OCA/partner-contact/12.0/partner_multi_relation/static/description/relation_type_symmetric.png

Invalid Relation Handling

When the configuration of a relation type changes, some relations between 2 partners may become invalid.

For example, if the left partner type is set to Person and a relation already exists with a company on the right side, that relation becomes invalid.

https://raw.githubusercontent.com/OCA/partner-contact/12.0/partner_multi_relation/static/description/relation_type_invalid_handling.png

What happens with invalid relations is customizable on the relation type.

4 possible behaviors are available:

  • Do not allow change that will result in invalid relations
  • Allow existing relations that do not fit changed conditions
  • End relations per today, if they do not fit changed conditions
  • Delete relations that do not fit changed conditions

Searching Partners With Relations

To search for existing relations, go to Contacts / Relations / Relations.

https://raw.githubusercontent.com/OCA/partner-contact/12.0/partner_multi_relation/static/description/search_relation.png

To find all assistants in your database, fill in ‘assistant’ and autocomplete will propose to search for this type of relation.

https://raw.githubusercontent.com/OCA/partner-contact/12.0/partner_multi_relation/static/description/search_relation_2.png

Now if you want to find Colleen’s assistant, you fill in ‘Colleen’ and one of the proposals is to search for partners having a relation with Colleen.

https://raw.githubusercontent.com/OCA/partner-contact/12.0/partner_multi_relation/static/description/search_relation_3.png

Searching Relations From Partner View

A smart button is available on the partner form view to display the list of relations.

https://raw.githubusercontent.com/OCA/partner-contact/12.0/partner_multi_relation/static/description/partner_form_view_smart_button.png https://raw.githubusercontent.com/OCA/partner-contact/12.0/partner_multi_relation/static/description/partner_form_view_smart_button_2.png

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Therp BV
  • Camptocamp

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

This module is part of the OCA/partner-contact project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

0.0 / 5.0
based on 0 ratings

Python dependencies

Package Version Secured
psycopg2_binary 2.8.6
python_dateutil 2.9.0.post0
This app has automated tests.

Available languages

Language % translated
Portuguese / Português
100%
Italian / Italiano
100%
Spanish (AR) / Español (AR)
100%
Slovenian / slovenščina
85%
Dutch / Nederlands
84%
German / Deutsch
57%
Portuguese (BR) / Português (BR)
56%
Croatian / hrvatski jezik
18%
Chinese (Simplified) / 简体中文
15%
Dutch / Nederlands
15%
Romanian / română
15%
Spanish (MX) / Español (MX)
15%
Polish / Język polski
14%
Mongolian / монгол
14%
Swedish / Svenska
14%
Portuguese / Português
14%
Macedonian / македонски јазик
14%
English (UK)
14%
Arabic / الْعَرَبيّة
13%
Croatian / hrvatski jezik
13%
Spanish (EC) / Español (EC)
13%
Dutch (BE) / Nederlands (BE)
13%
Bosnian / bosanski jezik
13%
Estonian / Eesti keel
13%
Vietnamese / Tiếng Việt
13%
Finnish / Suomi
13%
Thai / ภาษาไทย
13%
Serbian (Latin) / srpski
13%
Spanish (VE) / Español (VE)
13%
Chinese (Traditional) / 繁體中文
13%
Japanese / 日本語
13%
Hungarian / Magyar
13%
Slovak / Slovenský jazyk
12%
Bulgarian / български език
12%
Indonesian / Bahasa Indonesia
11%
Spanish (CR) / Español (CR)
11%
Russian / русский язык
11%
Spanish (CL) / Español (CL)
10%
Hebrew / עִבְרִי
10%
Norwegian Bokmål / Norsk bokmål
10%
Spanish (PE) / Español (PE)
10%
Persian / فارس
10%
Latvian / latviešu valoda
10%
Spanish (DO) / Español (DO)
10%
French (CH) / Français (CH)
10%
Spanish (CO) / Español (CO)
10%
Ukrainian / українська
10%
Greek / Ελληνικά
9%
French (CA) / Français (CA)
9%
Spanish / Español
9%
Turkish / Türkçe
9%
Turkish / Türkçe
9%
Spanish / Español
9%
Spanish (PY) / Español (PY)
8%
Vietnamese / Tiếng Việt
7%
Lithuanian / Lietuvių kalba
5%
Lithuanian / Lietuvių kalba
5%
French / Français
2%
French / Français
2%
Galician / Galego
1%
Galician / Galego
1%