Browse Source

[MIG] Migrate partner_multi_relation_tabs to 12.0

12.0
Jan Verbeek 5 years ago
parent
commit
5c37952ea3
  1. 20
      partner_multi_relation_tabs/README.rst
  2. 4
      partner_multi_relation_tabs/__manifest__.py
  3. 10
      partner_multi_relation_tabs/readme/USAGE.rst
  4. 16
      partner_multi_relation_tabs/static/description/index.html
  5. BIN
      partner_multi_relation_tabs/static/description/partner_multi_relation_tabs-partner-display.png
  6. BIN
      partner_multi_relation_tabs/static/description/partner_multi_relation_tabs-partner-edit.png
  7. BIN
      partner_multi_relation_tabs/static/description/partner_multi_relation_tabs-relation-search.png
  8. BIN
      partner_multi_relation_tabs/static/description/partner_multi_relation_tabs-relation-type-configuration.png
  9. BIN
      partner_multi_relation_tabs/static/description/partner_multi_relation_tabs-tab-configuration.png
  10. 1
      setup/_metapackage/setup.py

20
partner_multi_relation_tabs/README.rst

@ -14,13 +14,13 @@ Show partner relations in own tab
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3 :alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpartner--contact-lightgray.png?logo=github .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpartner--contact-lightgray.png?logo=github
:target: https://github.com/OCA/partner-contact/tree/11.0/partner_multi_relation_tabs
:target: https://github.com/OCA/partner-contact/tree/12.0/partner_multi_relation_tabs
:alt: OCA/partner-contact :alt: OCA/partner-contact
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/partner-contact-11-0/partner-contact-11-0-partner_multi_relation_tabs
:target: https://translation.odoo-community.org/projects/partner-contact-12-0/partner-contact-12-0-partner_multi_relation_tabs
:alt: Translate me on Weblate :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/134/11.0
:target: https://runbot.odoo-community.org/runbot/134/12.0
:alt: Try me on Runbot :alt: Try me on Runbot
|badge1| |badge2| |badge3| |badge4| |badge5| |badge1| |badge2| |badge3| |badge4| |badge5|
@ -51,7 +51,7 @@ form, you will have to define the tab.
Do that in Contacts / Relations / Relation Tabs. Do that in Contacts / Relations / Relation Tabs.
.. image:: https://raw.githubusercontent.com/OCA/partner-contact/11.0/partner_multi_relation_tabs/static/description/partner_multi_relation_tabs-tab-configuration.png
.. image:: https://raw.githubusercontent.com/OCA/partner-contact/12.0/partner_multi_relation_tabs/static/description/partner_multi_relation_tabs-tab-configuration.png
If you specify nothing, the tab will be shown on all partner forms that have 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 tabs (page elements). Normally you will select to show the tab only on
@ -83,7 +83,7 @@ or organisation.
For each side of a relation, the partner contact type and the partner category For each side of a relation, the partner contact type and the partner category
must be consistent with those specified for the tab. must be consistent with those specified for the tab.
.. image:: https://raw.githubusercontent.com/OCA/partner-contact/11.0/partner_multi_relation_tabs/static/description/partner_multi_relation_tabs-relation-type-configuration.png
.. image:: https://raw.githubusercontent.com/OCA/partner-contact/12.0/partner_multi_relation_tabs/static/description/partner_multi_relation_tabs-relation-type-configuration.png
Partner Form Partner Form
~~~~~~~~~~~~ ~~~~~~~~~~~~
@ -98,11 +98,11 @@ can be selected.
Example of adding a relation: Example of adding a relation:
.. image:: https://raw.githubusercontent.com/OCA/partner-contact/11.0/partner_multi_relation_tabs/static/description/partner_multi_relation_tabs-partner-edit.png
.. image:: https://raw.githubusercontent.com/OCA/partner-contact/12.0/partner_multi_relation_tabs/static/description/partner_multi_relation_tabs-partner-edit.png
Example of a filled out board tab: Example of a filled out board tab:
.. image:: https://raw.githubusercontent.com/OCA/partner-contact/11.0/partner_multi_relation_tabs/static/description/partner_multi_relation_tabs-partner-display.png
.. image:: https://raw.githubusercontent.com/OCA/partner-contact/12.0/partner_multi_relation_tabs/static/description/partner_multi_relation_tabs-partner-display.png
Deleting tabs Deleting tabs
~~~~~~~~~~~~~ ~~~~~~~~~~~~~
@ -120,7 +120,7 @@ to find all board members.
Do that in Contacts / Relations / Relations. Do that in Contacts / Relations / Relations.
.. image:: https://raw.githubusercontent.com/OCA/partner-contact/11.0/partner_multi_relation_tabs/static/description/partner_multi_relation_tabs-relation-search.png
.. image:: https://raw.githubusercontent.com/OCA/partner-contact/12.0/partner_multi_relation_tabs/static/description/partner_multi_relation_tabs-relation-search.png
Bug Tracker Bug Tracker
=========== ===========
@ -128,7 +128,7 @@ Bug Tracker
Bugs are tracked on `GitHub Issues <https://github.com/OCA/partner-contact/issues>`_. Bugs are tracked on `GitHub Issues <https://github.com/OCA/partner-contact/issues>`_.
In case of trouble, please check there if your issue has already been reported. 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 If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/partner-contact/issues/new?body=module:%20partner_multi_relation_tabs%0Aversion:%2011.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <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**>`_.
Do not contact contributors directly about support or help with technical issues. Do not contact contributors directly about support or help with technical issues.
@ -162,6 +162,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and mission is to support the collaborative development of Odoo features and
promote its widespread use. promote its widespread use.
This module is part of the `OCA/partner-contact <https://github.com/OCA/partner-contact/tree/11.0/partner_multi_relation_tabs>`_ project on GitHub.
This module is part of the `OCA/partner-contact <https://github.com/OCA/partner-contact/tree/12.0/partner_multi_relation_tabs>`_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

4
partner_multi_relation_tabs/__manifest__.py

@ -1,9 +1,9 @@
# Copyright 2014-2018 Therp BV <https://therp.nl>.[:w
# Copyright 2014-2018 Therp BV <https://therp.nl>.
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
{ {
"name": "Show partner relations in own tab", "name": "Show partner relations in own tab",
"version": "11.0.1.0.0",
"version": "12.0.1.0.0",
"author": "Therp BV,Odoo Community Association (OCA)", "author": "Therp BV,Odoo Community Association (OCA)",
"license": "AGPL-3", "license": "AGPL-3",
"complexity": "normal", "complexity": "normal",

10
partner_multi_relation_tabs/readme/USAGE.rst

@ -6,7 +6,7 @@ form, you will have to define the tab.
Do that in Contacts / Relations / Relation Tabs. Do that in Contacts / Relations / Relation Tabs.
.. image:: https://raw.githubusercontent.com/OCA/partner-contact/11.0/partner_multi_relation_tabs/static/description/partner_multi_relation_tabs-tab-configuration.png
.. image:: ../static/description/partner_multi_relation_tabs-tab-configuration.png
If you specify nothing, the tab will be shown on all partner forms that have 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 tabs (page elements). Normally you will select to show the tab only on
@ -38,7 +38,7 @@ or organisation.
For each side of a relation, the partner contact type and the partner category For each side of a relation, the partner contact type and the partner category
must be consistent with those specified for the tab. must be consistent with those specified for the tab.
.. image:: https://raw.githubusercontent.com/OCA/partner-contact/11.0/partner_multi_relation_tabs/static/description/partner_multi_relation_tabs-relation-type-configuration.png
.. image:: ../static/description/partner_multi_relation_tabs-relation-type-configuration.png
Partner Form Partner Form
~~~~~~~~~~~~ ~~~~~~~~~~~~
@ -53,11 +53,11 @@ can be selected.
Example of adding a relation: Example of adding a relation:
.. image:: https://raw.githubusercontent.com/OCA/partner-contact/11.0/partner_multi_relation_tabs/static/description/partner_multi_relation_tabs-partner-edit.png
.. image:: ../static/description/partner_multi_relation_tabs-partner-edit.png
Example of a filled out board tab: Example of a filled out board tab:
.. image:: https://raw.githubusercontent.com/OCA/partner-contact/11.0/partner_multi_relation_tabs/static/description/partner_multi_relation_tabs-partner-display.png
.. image:: ../static/description/partner_multi_relation_tabs-partner-display.png
Deleting tabs Deleting tabs
~~~~~~~~~~~~~ ~~~~~~~~~~~~~
@ -75,4 +75,4 @@ to find all board members.
Do that in Contacts / Relations / Relations. Do that in Contacts / Relations / Relations.
.. image:: https://raw.githubusercontent.com/OCA/partner-contact/11.0/partner_multi_relation_tabs/static/description/partner_multi_relation_tabs-relation-search.png
.. image:: ../static/description/partner_multi_relation_tabs-relation-search.png

16
partner_multi_relation_tabs/static/description/index.html

@ -367,7 +367,7 @@ ul.auto-toc {
!! This file is generated by oca-gen-addon-readme !! !! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !! !! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<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/11.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-11-0/partner-contact-11-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/11.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
<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 <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> 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 <p>This can be useful if certain relation types are regularly used and should
@ -402,7 +402,7 @@ board member.</p>
<p>Before being able to show certain types of relations on a tab in the partner <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> form, you will have to define the tab.</p>
<p>Do that in Contacts / Relations / Relation Tabs.</p> <p>Do that in Contacts / Relations / Relation Tabs.</p>
<img alt="https://raw.githubusercontent.com/OCA/partner-contact/11.0/partner_multi_relation_tabs/static/description/partner_multi_relation_tabs-tab-configuration.png" src="https://raw.githubusercontent.com/OCA/partner-contact/11.0/partner_multi_relation_tabs/static/description/partner_multi_relation_tabs-tab-configuration.png" />
<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 <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 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 partners that are companies/organisations, or only for persons. You can also
@ -426,7 +426,7 @@ one tab all positions or functions a person has, regardless in which company
or organisation.</p> or organisation.</p>
<p>For each side of a relation, the partner contact type and the partner category <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> must be consistent with those specified for the tab.</p>
<img alt="https://raw.githubusercontent.com/OCA/partner-contact/11.0/partner_multi_relation_tabs/static/description/partner_multi_relation_tabs-relation-type-configuration.png" src="https://raw.githubusercontent.com/OCA/partner-contact/11.0/partner_multi_relation_tabs/static/description/partner_multi_relation_tabs-relation-type-configuration.png" />
<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" />
</div> </div>
<div class="section" id="partner-form"> <div class="section" id="partner-form">
<h2><a class="toc-backref" href="#id4">Partner Form</a></h2> <h2><a class="toc-backref" href="#id4">Partner Form</a></h2>
@ -437,9 +437,9 @@ 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 <p>When adding relations on a tab, only relation types appropiate for that tab
can be selected.</p> can be selected.</p>
<p>Example of adding a relation:</p> <p>Example of adding a relation:</p>
<img alt="https://raw.githubusercontent.com/OCA/partner-contact/11.0/partner_multi_relation_tabs/static/description/partner_multi_relation_tabs-partner-edit.png" src="https://raw.githubusercontent.com/OCA/partner-contact/11.0/partner_multi_relation_tabs/static/description/partner_multi_relation_tabs-partner-edit.png" />
<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> <p>Example of a filled out board tab:</p>
<img alt="https://raw.githubusercontent.com/OCA/partner-contact/11.0/partner_multi_relation_tabs/static/description/partner_multi_relation_tabs-partner-display.png" src="https://raw.githubusercontent.com/OCA/partner-contact/11.0/partner_multi_relation_tabs/static/description/partner_multi_relation_tabs-partner-display.png" />
<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" />
</div> </div>
<div class="section" id="deleting-tabs"> <div class="section" id="deleting-tabs">
<h2><a class="toc-backref" href="#id5">Deleting tabs</a></h2> <h2><a class="toc-backref" href="#id5">Deleting tabs</a></h2>
@ -452,7 +452,7 @@ cleared.</p>
<p>You can search relations with the tab on which they are shown. For instance <p>You can search relations with the tab on which they are shown. For instance
to find all board members.</p> to find all board members.</p>
<p>Do that in Contacts / Relations / Relations.</p> <p>Do that in Contacts / Relations / Relations.</p>
<img alt="https://raw.githubusercontent.com/OCA/partner-contact/11.0/partner_multi_relation_tabs/static/description/partner_multi_relation_tabs-relation-search.png" src="https://raw.githubusercontent.com/OCA/partner-contact/11.0/partner_multi_relation_tabs/static/description/partner_multi_relation_tabs-relation-search.png" />
<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" />
</div> </div>
</div> </div>
<div class="section" id="bug-tracker"> <div class="section" id="bug-tracker">
@ -460,7 +460,7 @@ to find all board members.</p>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/partner-contact/issues">GitHub Issues</a>. <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. 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 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:%2011.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<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> <p>Do not contact contributors directly about support or help with technical issues.</p>
</div> </div>
<div class="section" id="credits"> <div class="section" id="credits">
@ -488,7 +488,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose <p>OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and mission is to support the collaborative development of Odoo features and
promote its widespread use.</p> promote its widespread use.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/partner-contact/tree/11.0/partner_multi_relation_tabs">OCA/partner-contact</a> project on GitHub.</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> <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>
</div> </div>
</div> </div>

BIN
partner_multi_relation_tabs/static/description/partner_multi_relation_tabs-partner-display.png

Before

Width: 1920  |  Height: 1031  |  Size: 239 KiB

After

Width: 815  |  Height: 566  |  Size: 42 KiB

BIN
partner_multi_relation_tabs/static/description/partner_multi_relation_tabs-partner-edit.png

Before

Width: 1920  |  Height: 1031  |  Size: 250 KiB

After

Width: 815  |  Height: 566  |  Size: 35 KiB

BIN
partner_multi_relation_tabs/static/description/partner_multi_relation_tabs-relation-search.png

Before

Width: 1920  |  Height: 1031  |  Size: 154 KiB

After

Width: 815  |  Height: 566  |  Size: 23 KiB

BIN
partner_multi_relation_tabs/static/description/partner_multi_relation_tabs-relation-type-configuration.png

Before

Width: 1920  |  Height: 1031  |  Size: 204 KiB

After

Width: 815  |  Height: 566  |  Size: 35 KiB

BIN
partner_multi_relation_tabs/static/description/partner_multi_relation_tabs-tab-configuration.png

Before

Width: 1920  |  Height: 1031  |  Size: 155 KiB

After

Width: 815  |  Height: 566  |  Size: 28 KiB

1
setup/_metapackage/setup.py

@ -43,6 +43,7 @@ setuptools.setup(
'odoo12-addon-partner_identification_gln', 'odoo12-addon-partner_identification_gln',
'odoo12-addon-partner_industry_secondary', 'odoo12-addon-partner_industry_secondary',
'odoo12-addon-partner_multi_relation', 'odoo12-addon-partner_multi_relation',
'odoo12-addon-partner_multi_relation_tabs',
'odoo12-addon-partner_phone_extension', 'odoo12-addon-partner_phone_extension',
'odoo12-addon-partner_phonecall_schedule', 'odoo12-addon-partner_phonecall_schedule',
'odoo12-addon-partner_postal_address', 'odoo12-addon-partner_postal_address',

Loading…
Cancel
Save