Skip to content

Commit

Permalink
[MIG][11.0] Migration of partner_affiliate to v11 (#579)
Browse files Browse the repository at this point in the history
* [MIG] Migration of partner_affiliate to v11

* Fixing use of @Class and do not inheriting address from parent company

* Improving legibility and details of fields

* Fixing travis errors

remove obsolete .pot files [ci skip]

[UPD] Update partner_affiliate.pot
  • Loading branch information
Raúl Martín authored and emagdalenaC2i committed Feb 6, 2022
1 parent 9ee9ae4 commit 330c6b8
Show file tree
Hide file tree
Showing 61 changed files with 2,625 additions and 0 deletions.
60 changes: 60 additions & 0 deletions partner_affiliate/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3

==================
Partner Affiliates
==================

This module allows to use parent_id in company partner to refer to a parent
company, plus will show a tab in parent company of affiliated companies.

Usage
=====

New tab 'Affiliates' are available on the contact form if partner is company.
In tab 'Contact & Addresses' only are shown those contacts that are not
companies.

.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/134/11.0

Bug Tracker
===========

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. If you spotted it first,
help us smashing it by providing a detailed and welcomed feedback.

Credits
=======

Images
------

* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.

Contributors
------------

* Yannick Vaucher <yannick.vaucher@camptocamp.com>
* Vicent Cubells <vicent.cubells@tecnativa.com>
* Raul Martin <raul.martin@braintec-group.com>
* Dave Lasley <dave@laslabs.com>

Maintainer
----------

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

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.

To contribute to this module, please visit https://odoo-community.org.
6 changes: 6 additions & 0 deletions partner_affiliate/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright 2012 Camptocamp SA - Yannick Vaucher
# Copyright 2018 brain-tec AG - Raul Martin
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import models
23 changes: 23 additions & 0 deletions partner_affiliate/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# -*- coding: utf-8 -*-
# Copyright 2012 Camptocamp SA - Yannick Vaucher
# Copyright 2017 Tecnativa - Vicent Cubells
# Copyright 2018 brain-tec AG - Raul Martin
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
'name': 'Partner Affiliates',
'version': '11.0.1.0.0',
'author': "Camptocamp, "
"Tecnativa, "
"brain-tec AG, "
"Odoo Community Association (OCA)",
'website': 'http://www.camptocamp.com',
'category': 'CRM',
'license': 'AGPL-3',
'installable': True,
'depends': [
'base',
],
'data': [
'views/res_partner_view.xml',
],
}
44 changes: 44 additions & 0 deletions partner_affiliate/i18n/am.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_affiliate
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-11-21 01:48+0000\n"
"PO-Revision-Date: 2017-11-21 01:48+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Amharic (https://www.transifex.com/oca/teams/23907/am/)\n"
"Language: am\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"

#. module: partner_affiliate
#: model:ir.model.fields,field_description:partner_affiliate.field_res_partner_affiliate_ids
#: model:ir.model.fields,field_description:partner_affiliate.field_res_users_affiliate_ids
#: model:ir.ui.view,arch_db:partner_affiliate.view_partner_form_add_affiliate
msgid "Affiliates"
msgstr ""

#. module: partner_affiliate
#: model:ir.model,name:partner_affiliate.model_res_partner
msgid "Contact"
msgstr ""

#. module: partner_affiliate
#: model:ir.ui.view,arch_db:partner_affiliate.view_partner_form_add_affiliate
msgid "Mobile:"
msgstr ""

#. module: partner_affiliate
#: model:ir.ui.view,arch_db:partner_affiliate.view_partner_form_add_affiliate
msgid "Phone:"
msgstr ""

#~ msgid "Partner"
#~ msgstr "ተባባሪ"
45 changes: 45 additions & 0 deletions partner_affiliate/i18n/ar.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_affiliate
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-11-21 01:48+0000\n"
"PO-Revision-Date: 2017-11-21 01:48+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/ar/)\n"
"Language: ar\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"

#. module: partner_affiliate
#: model:ir.model.fields,field_description:partner_affiliate.field_res_partner_affiliate_ids
#: model:ir.model.fields,field_description:partner_affiliate.field_res_users_affiliate_ids
#: model:ir.ui.view,arch_db:partner_affiliate.view_partner_form_add_affiliate
msgid "Affiliates"
msgstr ""

#. module: partner_affiliate
#: model:ir.model,name:partner_affiliate.model_res_partner
msgid "Contact"
msgstr ""

#. module: partner_affiliate
#: model:ir.ui.view,arch_db:partner_affiliate.view_partner_form_add_affiliate
msgid "Mobile:"
msgstr ""

#. module: partner_affiliate
#: model:ir.ui.view,arch_db:partner_affiliate.view_partner_form_add_affiliate
msgid "Phone:"
msgstr ""

#~ msgid "Partner"
#~ msgstr "الشريك"
44 changes: 44 additions & 0 deletions partner_affiliate/i18n/bg.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_affiliate
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-11-21 01:48+0000\n"
"PO-Revision-Date: 2017-11-21 01:48+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Bulgarian (https://www.transifex.com/oca/teams/23907/bg/)\n"
"Language: bg\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: partner_affiliate
#: model:ir.model.fields,field_description:partner_affiliate.field_res_partner_affiliate_ids
#: model:ir.model.fields,field_description:partner_affiliate.field_res_users_affiliate_ids
#: model:ir.ui.view,arch_db:partner_affiliate.view_partner_form_add_affiliate
msgid "Affiliates"
msgstr ""

#. module: partner_affiliate
#: model:ir.model,name:partner_affiliate.model_res_partner
msgid "Contact"
msgstr ""

#. module: partner_affiliate
#: model:ir.ui.view,arch_db:partner_affiliate.view_partner_form_add_affiliate
msgid "Mobile:"
msgstr ""

#. module: partner_affiliate
#: model:ir.ui.view,arch_db:partner_affiliate.view_partner_form_add_affiliate
msgid "Phone:"
msgstr ""

#~ msgid "Partner"
#~ msgstr "Партньор"
45 changes: 45 additions & 0 deletions partner_affiliate/i18n/bs.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_affiliate
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-11-21 01:48+0000\n"
"PO-Revision-Date: 2017-11-21 01:48+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Bosnian (https://www.transifex.com/oca/teams/23907/bs/)\n"
"Language: bs\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"

#. module: partner_affiliate
#: model:ir.model.fields,field_description:partner_affiliate.field_res_partner_affiliate_ids
#: model:ir.model.fields,field_description:partner_affiliate.field_res_users_affiliate_ids
#: model:ir.ui.view,arch_db:partner_affiliate.view_partner_form_add_affiliate
msgid "Affiliates"
msgstr ""

#. module: partner_affiliate
#: model:ir.model,name:partner_affiliate.model_res_partner
msgid "Contact"
msgstr ""

#. module: partner_affiliate
#: model:ir.ui.view,arch_db:partner_affiliate.view_partner_form_add_affiliate
msgid "Mobile:"
msgstr ""

#. module: partner_affiliate
#: model:ir.ui.view,arch_db:partner_affiliate.view_partner_form_add_affiliate
msgid "Phone:"
msgstr ""

#~ msgid "Partner"
#~ msgstr "Partner"
44 changes: 44 additions & 0 deletions partner_affiliate/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_affiliate
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-11-21 01:48+0000\n"
"PO-Revision-Date: 2017-11-21 01:48+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n"
"Language: ca\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: partner_affiliate
#: model:ir.model.fields,field_description:partner_affiliate.field_res_partner_affiliate_ids
#: model:ir.model.fields,field_description:partner_affiliate.field_res_users_affiliate_ids
#: model:ir.ui.view,arch_db:partner_affiliate.view_partner_form_add_affiliate
msgid "Affiliates"
msgstr ""

#. module: partner_affiliate
#: model:ir.model,name:partner_affiliate.model_res_partner
msgid "Contact"
msgstr ""

#. module: partner_affiliate
#: model:ir.ui.view,arch_db:partner_affiliate.view_partner_form_add_affiliate
msgid "Mobile:"
msgstr ""

#. module: partner_affiliate
#: model:ir.ui.view,arch_db:partner_affiliate.view_partner_form_add_affiliate
msgid "Phone:"
msgstr ""

#~ msgid "Partner"
#~ msgstr "Empresa"
44 changes: 44 additions & 0 deletions partner_affiliate/i18n/cs.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_affiliate
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-11-21 01:48+0000\n"
"PO-Revision-Date: 2017-11-21 01:48+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Czech (https://www.transifex.com/oca/teams/23907/cs/)\n"
"Language: cs\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"

#. module: partner_affiliate
#: model:ir.model.fields,field_description:partner_affiliate.field_res_partner_affiliate_ids
#: model:ir.model.fields,field_description:partner_affiliate.field_res_users_affiliate_ids
#: model:ir.ui.view,arch_db:partner_affiliate.view_partner_form_add_affiliate
msgid "Affiliates"
msgstr ""

#. module: partner_affiliate
#: model:ir.model,name:partner_affiliate.model_res_partner
msgid "Contact"
msgstr ""

#. module: partner_affiliate
#: model:ir.ui.view,arch_db:partner_affiliate.view_partner_form_add_affiliate
msgid "Mobile:"
msgstr ""

#. module: partner_affiliate
#: model:ir.ui.view,arch_db:partner_affiliate.view_partner_form_add_affiliate
msgid "Phone:"
msgstr ""

#~ msgid "Partner"
#~ msgstr "Společník"
Loading

0 comments on commit 330c6b8

Please sign in to comment.