diff --git a/partner_multi_relation/README.rst b/partner_multi_relation/README.rst index aabd8c573..e273c8e1a 100644 --- a/partner_multi_relation/README.rst +++ b/partner_multi_relation/README.rst @@ -14,13 +14,13 @@ Partner Relations :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpartner--contact-lightgray.png?logo=github - :target: https://github.com/OCA/partner-contact/tree/13.0/partner_multi_relation + :target: https://github.com/OCA/partner-contact/tree/14.0/partner_multi_relation :alt: OCA/partner-contact .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/partner-contact-13-0/partner-contact-13-0-partner_multi_relation + :target: https://translation.odoo-community.org/projects/partner-contact-14-0/partner-contact-14-0-partner_multi_relation :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/134/13.0 + :target: https://runbot.odoo-community.org/runbot/134/14.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -148,7 +148,7 @@ 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 `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -172,6 +172,9 @@ Contributors * Adriana Ierfino * Numigi (tm) and all its contributors (https://bit.ly/numigiens) * Radovan Skolnik , KEMA SK s.r.o. (https://www.kema.sk) +* `DynApps NV `_: + + * Raf Ven Maintainers ~~~~~~~~~~~ @@ -186,6 +189,6 @@ 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. +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. diff --git a/partner_multi_relation/models/res_partner.py b/partner_multi_relation/models/res_partner.py index 14fb57278..ab7b68972 100644 --- a/partner_multi_relation/models/res_partner.py +++ b/partner_multi_relation/models/res_partner.py @@ -24,7 +24,7 @@ class ResPartner(models.Model): inverse_name="this_partner_id", string="All relations with current partner", auto_join=True, - selectable=False, + search=False, copy=False, ) search_relation_type_id = fields.Many2one( diff --git a/partner_multi_relation/readme/CONTRIBUTORS.rst b/partner_multi_relation/readme/CONTRIBUTORS.rst index b5cede3b0..e0953da8b 100644 --- a/partner_multi_relation/readme/CONTRIBUTORS.rst +++ b/partner_multi_relation/readme/CONTRIBUTORS.rst @@ -6,3 +6,6 @@ * Adriana Ierfino * Numigi (tm) and all its contributors (https://bit.ly/numigiens) * Radovan Skolnik , KEMA SK s.r.o. (https://www.kema.sk) +* `DynApps NV `_: + + * Raf Ven diff --git a/partner_multi_relation/static/description/index.html b/partner_multi_relation/static/description/index.html index 1041df09c..3361230c1 100644 --- a/partner_multi_relation/static/description/index.html +++ b/partner_multi_relation/static/description/index.html @@ -367,7 +367,7 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

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

+

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

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 @@ -477,7 +477,7 @@ is to search for partners having a relation with Colleen.

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.

+feedback.

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

@@ -500,6 +500,10 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
  • 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)
  • +
  • DynApps NV:
      +
    • Raf Ven
    • +
    +
  • @@ -509,7 +513,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome

    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.

    +

    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.

    diff --git a/partner_multi_relation/views/menu.xml b/partner_multi_relation/views/menu.xml index fb078faed..189bfbeac 100644 --- a/partner_multi_relation/views/menu.xml +++ b/partner_multi_relation/views/menu.xml @@ -12,12 +12,11 @@ parent="menu_res_partner_relation" action="action_res_partner_relation_all" /> - + + Partner Relations Types + res.partner.relation.type + tree,form + - + + Show partner's relations + + res.partner.relation.all + tree,form + [('this_partner_id', 'in', active_ids)] + diff --git a/setup/partner_multi_relation/odoo/addons/partner_multi_relation b/setup/partner_multi_relation/odoo/addons/partner_multi_relation new file mode 120000 index 000000000..18ee66349 --- /dev/null +++ b/setup/partner_multi_relation/odoo/addons/partner_multi_relation @@ -0,0 +1 @@ +../../../../partner_multi_relation \ No newline at end of file diff --git a/setup/partner_multi_relation/setup.py b/setup/partner_multi_relation/setup.py new file mode 100644 index 000000000..28c57bb64 --- /dev/null +++ b/setup/partner_multi_relation/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)