Show partner relations in own tab
Project description
This module adds the possibility to show certain partner relations in a tab on the partner form, in addition to in the list of all relations.
This can be useful if certain relation types are regularly used and should be overseeable at a glace.
For instance you can make a tab named ‘board’ that will show all the board members of a company, by showing the relations of types ceo, cto, cfo and board member.
Table of contents
Usage
Relation Type Tabs
Before being able to show certain types of relations on a tab in the partner form, you will have to define the tab.
Do that in Contacts / Relations / Relation Tabs.
If you specify nothing, the tab will be shown on all partner forms that have tabs (page elements). Normally you will select to show the tab only on partners that are companies/organisations, or only for persons. You can also select a category to further limit for which partners the tab wil be shown.
The possibility exists to show a tab only on specific partners. For instance on your own company partner.
Relation Types
In configuring the relation types, you can select which type of relation will be shown on which tab. It is possible to show multiple types on one tab.
Do that in Contacts / Relations / Relation Types.
For example on a ‘executive board’ tab, you might want to show the CEO of a company, but also the CFO, the CTO and normal board members.
You might specify a tab for both the ‘left side’ of a relation, as for the ‘right side’ or inverse relation. So a relation ‘company has ceo’, with inverse type ‘person is ceo of’ might specify the ‘board’ tab for the company type of the relation, but possibly a ‘positions held’ tab for the person side of the relation, so on the partner form of a person you see in one tab all positions or functions a person has, regardless in which company or organisation.
For each side of a relation, the partner contact type and the partner category must be consistent with those specified for the tab.
Partner Form
The partner form will contain extra tab pages, for each tab that is appropiate for that partner. So a company partner does not show the tabs that are meant for persons and vice versa. Also tabs meant for partners with a certain category/label will only show if partners have that label.
When adding relations on a tab, only relation types appropiate for that tab can be selected.
Example of adding a relation:
Example of a filled out board tab:
Deleting tabs
When a tab is deleted, this will in no way effect the existing relations.
However the references on the relation types to the deleted tabs will also be cleared.
Searching Relations by Tab
You can search relations with the tab on which they are shown. For instance to find all board members.
Do that in Contacts / Relations / 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 smashing 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>
Alexandre Fayolle <alexandre.fayolle@camptocamp.com>
Stéphane Bidoul <stephane.bidoul@acsone.eu>
Ronald Portier <ronald@therp.nl>
George Daramouskas <gdaramouskas@therp.nl>
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 odoo12_addon_partner_multi_relation_tabs-12.0.2.0.0-py3-none-any.whl
.
File metadata
- Download URL: odoo12_addon_partner_multi_relation_tabs-12.0.2.0.0-py3-none-any.whl
- Upload date:
- Size: 216.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/60.3.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76393904870a071af4f366e2ff97b98220f35a850ba615f5a4d934ea90682a71 |
|
MD5 | 214a5e7ab3983030d77b383e1bef4b1f |
|
BLAKE2b-256 | 95a84a14b99f158ec569ca9e2b70da2551980325b7999e8082f1eec81c50b4b0 |