Partner Relations
Project description
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.
A relation type has a name for both sides.
To have an assistant-relation, you would name one side ‘is assistant of’ and the other side ‘has assistant’.
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.
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.
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.
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.
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.
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.
To find all assistants in your database, fill in ‘assistant’ and autocomplete will propose to search for this type of relation.
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.
Searching Relations From Partner View
A smart button is available on the partner form view to display the list of relations.
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
Contributors
Holger Brunn <hbrunn@therp.nl>
Stefan Rijnhart <stefan@therp.nl>
Ronald Portier <ronald@therp.nl>
Sandy Carter <sandy.carter@savoirfairelinux.com>
Bruno Joliveau <bruno.joliveau@savoirfairelinux.com>
Adriana Ierfino <adriana.ierfino@savoirfairelinux.com>
Numigi (tm) and all its contributors (https://bit.ly/numigiens)
Radovan Skolnik <radovan@skolnik.info>, KEMA SK s.r.o. (https://www.kema.sk)
-
Raf Ven
Maintainers
This module is maintained by the OCA.
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file odoo_addon_partner_multi_relation-17.0.1.0.0.6-py3-none-any.whl
.
File metadata
- Download URL: odoo_addon_partner_multi_relation-17.0.1.0.0.6-py3-none-any.whl
- Upload date:
- Size: 887.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5035f89c997a278127e331425220177f23109dadb6bcea2a5547ebc2f236c5d |
|
MD5 | 156806a5730969da65935e0f85557e40 |
|
BLAKE2b-256 | a9f1c1db4a863363a8ed0cadf76bd80947a4ad9b462f3732757639fab0bf7201 |