Search 1.9 billion lines of Odoo code on GitHub

partner_multi_relation_tabs

Author: Therp BV,Odoo Community Association (OCA)
License: AGPL-3
Branch: 12.0
Repository: aurestic/partner-contact
Dependencies: partner_multi_relation
Languages: HTML (407, 22.3%), PO File (362, 19.8%), Python (672, 36.7%), XML (241, 13.2%), and reStructuredText (147, 8.0%)
Other branches: 10.0, and 11.0
Other repositories: Alfa-90/partner-contact, BDO-ES/partner-contact, BT-dgoeppner/partner-contact, Bagration992/partner-contact, CB-Gran-Canaria/partner-contact, CarlosEsauToledoFlores/partner-contact, Change2improve/partner-contact, ComitorDevTeam/partner-contact, CompassionCH/partner-contact, Comunitea/partner-contact, Crisa221/partner-contact, Daemo00/partner-contact, DarioLodeiros/partner-contact, Darknroses/partner-contact, Digital5-Odoo/partner-contact, EDallas89/partner-contact-OCA, ERPLibre/partner-contact, Faha4/partner-contact, ForgeFlow/partner-contact, GSLabIt/partner-contact, Gabinete-Digital/partner-contact, Glue-Software-Engineering-AG/partner-contact, Hello-Sistem/partner-contact, IAJ782/FORK_partner-contact, Ingeos/partner-contact, Jarsa/partner-contact, JoanMarin/partner-contact, LevelPrime/partner-contact, MallorcaSoft/partner-contact, MarkingSC/partner-contact, MathBenTech/partner-contact, Mefistous/partner-contact, MindAndGo/partner-contact, NL66278/partner-contact, NeatNerdPrime/partner-contact, Nitrokey/odoo-partner-contact, OCA-MUK/partner-contact, OCA/partner-contact, OdooUniformal/partner-contact, Oliveiramv/partner-contact, OsoTranquilo/partner-contact, Palpid/partner-contact, PieterPaulussen/partner-contact, QubiQ/partner-contact, Rad0van/partner-contact, SanteLibre/partner-contact, SequarSrl/partner-contact, SerpentConsultingServices/partner-contact, Sroeurnsuon/partner-contact, StephanRozendaal/partner-contact, Studio73/partner-contact, Syci-Consulting/partner-contact, Tecnativa/partner-contact, Tonow-c2c/partner-contact, VCLS-org/partner-contact, Vauxoo/partner-contact, Viggor/partner-contact, aaltinisik/partner-contact, abdiiwan1841/partner-contact, acsone/partner-contact, adrianoarchetti/partner-contact, afdel70/partner-contact, agrista/odoo-partner-contact, akretion/partner-contact, amh-mw/partner-contact, angel-01/partner-contact, anhvu-sg/partner-contact, ansinaesmejor/partner-contact, apertoso/partner-contact, asieburg/partner-contact, atlascollege/partner-contact, bmya/partner-contact, bodi000/partner-contact, brain-tec/partner-contact, brian10048/partner-contact, camptocamp/partner-contact, chrizzTs/partner-contact, cmarrero/partner-contact, coopiteasy/partner-contact, cristhianclv70/partner-contact, crnd-inc/partner-contact, d4e-ch/partner-contact, daramousk/partner-contact, ddufresne/partner-contact, diagramsoftware/partner-contact, diggy128/partner-contact, dipendra-karki/partner-contact, dong-z/partner-contact, drashtigotecha/partner-contact, druidoo-dev/partner-contact, dynaz/partner-contact, eLBati/partner-contact, echeverrifm/partner-contact, ecosoft-odoo/partner-contact, elmonitor/partner-contact, eribowo/partner-contact, ermannognan/partner-contact, exaap/partner-contact, exosoftware/oca-partner-contact, fanzalika/partner-contact, foliveira-odoogap/partner-contact, fug-mann/partner-contact, gastonfeng/partner-contact, gottaBoy/partner-contact, hbrunn/partner-contact, hinfo506/partner-contact, i-vyshnevska/partner-contact, ideaspositivas-group/partner-contact, igallart/partner-contact, invitu/partner-contact, ip-candres/partner-contact, izzihector/partner-contact, jacky82669513/partner-contact, janarthanandev/partner-contact, janverb/partner-contact, jason156/partner-contact, jcarlosmontoya/partner-contact, jcleonard2018/partner-contact, jeroen7s/partner-contact, jimmyec/partner-contact, jobiols/oca-partner-contact, josepmy/partner-contact, jriveros/partner-contact, julenalgios/partner-contact, karan-dreambits/partner-contact, kevinkhao/partner-contact, kevinlopezgt/partner-contact, kmee/partner-contact, kongrattapong/partner-contact, kos94ok-3D/partner-contact, lbelorgey/partner-contact, lfreeke/partner-contact, lideritjnma/partner-contact, lincersolucoes/oca-partner-contact, luismontalba/partner-contact, lukehuang/partner-contact, magnuscolors/partner-contact, mauraco-group/partner-contact, mettadipa/partner-contact, moltisinc/partner-contact, mozaik-association/partner-contact, murtuzasaleh/partner-contact, ntsirintanis/partner-contact, nucleoosystem/partner-contact, odoogap/partner-contact, onesteinbv/partner-contact, osvalr/partner-contact, patrickrwilson/partner-contact, pegonzalezspesol/partner-contact, piensom/partner-contact, poonlap/partner-contact, popcomputadores-desenv/partner-contact, praxigento/oca-partner-contact, presenceverte/partner-contact, proyecto-evoluzion/partner-contact, ps-tubtim/partner-contact, rab-subteno-it/partner-contact, redblow/partner-contact, robertrottermann/partner-contact, robertsvx27/partner-contact, royalline1/partner-contact, sadeqamin/partner-contact, sanube/partner-contact, sergiocorato/partner-contact, sewisoft/partner-contact, skeller1/partner-contact, steingabelgaard/partner-contact, sunflowerit/partner-contact, sunshineLhj/partner-contact, syci/partner-contact, sygel-technology/partner-contact, takobi-online/partner-contact, tfossoul/partner-contact, tirma-sa/partner-contact, tosink/partner-contact, trevi-software/partner-contact, tschanzt/partner-contact, tymiles003/partner-contact, unitek-solusi/OCA-partner-contact, ursais/partner-contact, valmarnet/partner-contact, vdedyukhin/partner-contact, vrenaville/partner-contact, wahello/partner-contact, wowfresh/partner-contact, x0rzkov/odoo-partner-contact, xcgd/partner-contact, xpertiz/partner-contact, xwh123807/partner-contact, ypapouin/partner-contact, yucer/partner-contact, yvaucher/partner-contact, zarumaru/partner-contact, zeroincombenze/partner-contact, and zhuyangbin/partner-contact

<h1 class="title">Show partner relations in own tab</h1> <p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/partner-contact/tree/12.0/partner_multi_relation_tabs"><img alt="OCA/partner-contact" src="https://img.shields.io/badge/github-OCA%2Fpartner--contact-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/partner-contact-12-0/partner-contact-12-0-partner_multi_relation_tabs"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/134/12.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p> <p>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.</p> <p>This can be useful if certain relation types are regularly used and should be overseeable at a glace.</p> <p>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.</p> <p><strong>Table of contents</strong></p> <div class="contents local topic" id="contents"> <ul class="simple"> <li><a class="reference internal" href="#usage" id="id1">Usage</a><ul> <li><a class="reference internal" href="#relation-type-tabs" id="id2">Relation Type Tabs</a></li> <li><a class="reference internal" href="#relation-types" id="id3">Relation Types</a></li> <li><a class="reference internal" href="#partner-form" id="id4">Partner Form</a></li> <li><a class="reference internal" href="#deleting-tabs" id="id5">Deleting tabs</a></li> <li><a class="reference internal" href="#searching-relations-by-tab" id="id6">Searching Relations by Tab</a></li> </ul> </li> <li><a class="reference internal" href="#bug-tracker" id="id7">Bug Tracker</a></li> <li><a class="reference internal" href="#credits" id="id8">Credits</a><ul> <li><a class="reference internal" href="#authors" id="id9">Authors</a></li> <li><a class="reference internal" href="#contributors" id="id10">Contributors</a></li> <li><a class="reference internal" href="#maintainers" id="id11">Maintainers</a></li> </ul> </li> </ul> </div> <a name="usage"></a> <h2><a class="toc-backref" href="#id1">Usage</a></h2> <a name="relation-type-tabs"></a> <h3><a class="toc-backref" href="#id2">Relation Type Tabs</a></h3> <p>Before being able to show certain types of relations on a tab in the partner form, you will have to define the tab.</p> <p>Do that in Contacts / Relations / Relation Tabs.</p> <img alt="https://raw.githubusercontent.com/OCA/partner-contact/12.0/partner_multi_relation_tabs/static/description/partner_multi_relation_tabs-tab-configuration.png" src="https://raw.githubusercontent.com/OCA/partner-contact/12.0/partner_multi_relation_tabs/static/description/partner_multi_relation_tabs-tab-configuration.png" /> <p>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.</p> <p>The possibility exists to show a tab only on specific partners. For instance on your own company partner.</p> <a name="relation-types"></a> <h3><a class="toc-backref" href="#id3">Relation Types</a></h3> <p>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.</p> <p>Do that in Contacts / Relations / Relation Types.</p> <p>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.</p> <p>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.</p> <p>For each side of a relation, the partner contact type and the partner category must be consistent with those specified for the tab.</p> <img alt="https://raw.githubusercontent.com/OCA/partner-contact/12.0/partner_multi_relation_tabs/static/description/partner_multi_relation_tabs-relation-type-configuration.png" src="https://raw.githubusercontent.com/OCA/partner-contact/12.0/partner_multi_relation_tabs/static/description/partner_multi_relation_tabs-relation-type-configuration.png" /> <a name="partner-form"></a> <h3><a class="toc-backref" href="#id4">Partner Form</a></h3> <p>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.</p> <p>When adding relations on a tab, only relation types appropiate for that tab can be selected.</p> <p>Example of adding a relation:</p> <img alt="https://raw.githubusercontent.com/OCA/partner-contact/12.0/partner_multi_relation_tabs/static/description/partner_multi_relation_tabs-partner-edit.png" src="https://raw.githubusercontent.com/OCA/partner-contact/12.0/partner_multi_relation_tabs/static/description/partner_multi_relation_tabs-partner-edit.png" /> <p>Example of a filled out board tab:</p> <img alt="https://raw.githubusercontent.com/OCA/partner-contact/12.0/partner_multi_relation_tabs/static/description/partner_multi_relation_tabs-partner-display.png" src="https://raw.githubusercontent.com/OCA/partner-contact/12.0/partner_multi_relation_tabs/static/description/partner_multi_relation_tabs-partner-display.png" /> <a name="deleting-tabs"></a> <h3><a class="toc-backref" href="#id5">Deleting tabs</a></h3> <p>When a tab is deleted, this will in no way effect the existing relations.</p> <p>However the references on the relation types to the deleted tabs will also be cleared.</p> <a name="searching-relations-by-tab"></a> <h3><a class="toc-backref" href="#id6">Searching Relations by Tab</a></h3> <p>You can search relations with the tab on which they are shown. For instance to find all board members.</p> <p>Do that in Contacts / Relations / Relations.</p> <img alt="https://raw.githubusercontent.com/OCA/partner-contact/12.0/partner_multi_relation_tabs/static/description/partner_multi_relation_tabs-relation-search.png" src="https://raw.githubusercontent.com/OCA/partner-contact/12.0/partner_multi_relation_tabs/static/description/partner_multi_relation_tabs-relation-search.png" /> <a name="bug-tracker"></a> <h2><a class="toc-backref" href="#id7">Bug Tracker</a></h2> <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/partner-contact/issues">GitHub Issues</a>. 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 <a class="reference external" href="https://github.com/OCA/partner-contact/issues/new?body=module:%20partner_multi_relation_tabs%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p> <p>Do not contact contributors directly about support or help with technical issues.</p> <a name="credits"></a> <h2><a class="toc-backref" href="#id8">Credits</a></h2> <a name="authors"></a> <h3><a class="toc-backref" href="#id9">Authors</a></h3> <ul class="simple"> <li>Therp BV</li> </ul> <a name="contributors"></a> <h3><a class="toc-backref" href="#id10">Contributors</a></h3> <ul class="simple"> <li>Holger Brunn &lt;<a class="reference external" href="mailto:hbrunn&#64;therp.nl">hbrunn&#64;therp.nl</a>&gt;</li> <li>Alexandre Fayolle &lt;<a class="reference external" href="mailto:alexandre.fayolle&#64;camptocamp.com">alexandre.fayolle&#64;camptocamp.com</a>&gt;</li> <li>Stéphane Bidoul &lt;<a class="reference external" href="mailto:stephane.bidoul&#64;acsone.eu">stephane.bidoul&#64;acsone.eu</a>&gt;</li> <li>Ronald Portier &lt;<a class="reference external" href="mailto:ronald&#64;therp.nl">ronald&#64;therp.nl</a>&gt;</li> <li>George Daramouskas &lt;<a class="reference external" href="mailto:gdaramouskas&#64;therp.nl">gdaramouskas&#64;therp.nl</a>&gt;</li> </ul> <a name="maintainers"></a> <h3><a class="toc-backref" href="#id11">Maintainers</a></h3> <p>This module is maintained by the OCA.</p> <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a> <p>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.</p> <p>This module is part of the <a class="reference external" href="https://github.com/OCA/partner-contact/tree/12.0/partner_multi_relation_tabs">OCA/partner-contact</a> project on GitHub.</p> <p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>