-
-
Notifications
You must be signed in to change notification settings - Fork 856
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
14.0 mig partner affiliate #1055
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
aa3d244
[MIG][11.0] Migration of partner_affiliate to v11 (#579)
3bf2448
[MIG] partner_affiliate: Migration to 12.0
tarteo 59aae3d
[FIX] partner_affiliate: Pylint errors
max3903 fc0d2d9
[IMP] partner_affiliate: black, isort
StephanRozendaal c168ade
[MIG] partner_affiliate: Migration to 13.0
StephanRozendaal 16bb618
[UPD] Update partner_affiliate.pot
oca-travis cb520bd
[UPD] README.rst
OCA-git-bot 8af80f9
Update translation files
oca-transbot 3fcc768
pre-commit update
OCA-git-bot 2edcf24
Added some precision about the module purpose
alexandreduf 5a788b6
Update partner_affiliate/readme/DESCRIPTION.rst
alexandreduf a46782d
[UPD] README.rst
OCA-git-bot 778ee0f
partner_affiliate 13.0.1.0.1
OCA-git-bot d51d7f7
[IMP] partner_affiliate: black, isort, prettier
mhachraf 163a257
[MIG] partner_affiliate: Migration to 14.0
mhachraf File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
================== | ||
Partner Affiliates | ||
================== | ||
|
||
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
|
||
.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png | ||
:target: https://odoo-community.org/page/development-status | ||
:alt: Production/Stable | ||
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png | ||
: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_affiliate | ||
: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_affiliate | ||
: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 | ||
:alt: Try me on Runbot | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
This module adds a new tab "Affiliates" in the partner form view and modifies the purpose of the tab "Contacts & Addresses". This new tab "Affiliates" is visible only if the partner is a company. | ||
|
||
The existing tab "Contacts & Addresses" in Odoo Vanilla is focused on storing contact information about the company's employees and the company itself. | ||
|
||
With this module : | ||
|
||
- The tab "Affiliates" is focused on storing information about holding companies and other company structures. | ||
|
||
- The tab "Contacts & Addresses" only shows individuals who are linked to the company (employees or others). | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Usage | ||
===== | ||
|
||
You can find the new field on the partner (contact, customer, etc) form. | ||
|
||
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 <https://github.com/OCA/partner-contact/issues/new?body=module:%20partner_affiliate%0Aversion:%2013.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. | ||
|
||
Credits | ||
======= | ||
|
||
Authors | ||
~~~~~~~ | ||
|
||
* Camptocamp | ||
* Tecnativa | ||
* brain-tec AG | ||
* Onestein | ||
* Bloopark Systems | ||
|
||
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> | ||
* Dennis Sluijk <d.sluijk@onestein.nl> | ||
* Stephan Rozendaal <stephan.rozendaal@neobis.net> | ||
* Achraf Mhadhbi <machraf@bloopark.de> | ||
|
||
Other credits | ||
~~~~~~~~~~~~~ | ||
|
||
Images | ||
------ | ||
|
||
* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_. | ||
|
||
Maintainers | ||
~~~~~~~~~~~ | ||
|
||
This module is maintained by the OCA. | ||
|
||
.. image:: https://odoo-community.org/logo.png | ||
:alt: Odoo Community Association | ||
:target: https://odoo-community.org | ||
|
||
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 <https://github.com/OCA/partner-contact/tree/13.0/partner_affiliate>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Copyright 2012 Camptocamp SA - Yannick Vaucher | ||
# Copyright 2017 Tecnativa - Vicent Cubells | ||
# Copyright 2018 brain-tec AG - Raul Martin | ||
# Copyright 2021 Bloopark Systems - Achraf Mhadhbi | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
{ | ||
"name": "Partner Affiliates", | ||
"version": "14.0.1.0.1", | ||
"author": "Camptocamp, " | ||
"Tecnativa, " | ||
"brain-tec AG, " | ||
"Onestein, " | ||
"Odoo Community Association (OCA)", | ||
"website": "https://github.com/OCA/partner-contact", | ||
"category": "Customer Relationship Management", | ||
"license": "AGPL-3", | ||
"installable": True, | ||
"depends": ["base"], | ||
"data": ["views/res_partner_view.xml"], | ||
"development_status": "Production/Stable", | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# 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_terms:ir.ui.view,arch_db:partner_affiliate.view_partner_form_add_affiliate | ||
msgid "Affiliates" | ||
msgstr "" | ||
|
||
#. module: partner_affiliate | ||
#: model_terms:ir.ui.view,arch_db:partner_affiliate.view_partner_form_add_affiliate | ||
msgid "Avatar" | ||
msgstr "" | ||
|
||
#. module: partner_affiliate | ||
#: model:ir.model,name:partner_affiliate.model_res_partner | ||
#: model:ir.model.fields,field_description:partner_affiliate.field_res_partner__child_ids | ||
#: model:ir.model.fields,field_description:partner_affiliate.field_res_users__child_ids | ||
msgid "Contact" | ||
msgstr "" | ||
|
||
#. module: partner_affiliate | ||
#: model_terms:ir.ui.view,arch_db:partner_affiliate.view_partner_form_add_affiliate | ||
msgid "Delivery" | ||
msgstr "" | ||
|
||
#. module: partner_affiliate | ||
#: model_terms:ir.ui.view,arch_db:partner_affiliate.view_partner_form_add_affiliate | ||
msgid "Invoice" | ||
msgstr "" | ||
|
||
#. module: partner_affiliate | ||
#: model_terms:ir.ui.view,arch_db:partner_affiliate.view_partner_form_add_affiliate | ||
msgid "Logo" | ||
msgstr "" | ||
|
||
#. module: partner_affiliate | ||
#: model_terms:ir.ui.view,arch_db:partner_affiliate.view_partner_form_add_affiliate | ||
msgid "Mobile:" | ||
msgstr "" | ||
|
||
#. module: partner_affiliate | ||
#: model_terms:ir.ui.view,arch_db:partner_affiliate.view_partner_form_add_affiliate | ||
msgid "Phone:" | ||
msgstr "" | ||
|
||
#~ msgid "Partner" | ||
#~ msgstr "ተባባሪ" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
# 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_terms:ir.ui.view,arch_db:partner_affiliate.view_partner_form_add_affiliate | ||
msgid "Affiliates" | ||
msgstr "" | ||
|
||
#. module: partner_affiliate | ||
#: model_terms:ir.ui.view,arch_db:partner_affiliate.view_partner_form_add_affiliate | ||
msgid "Avatar" | ||
msgstr "" | ||
|
||
#. module: partner_affiliate | ||
#: model:ir.model,name:partner_affiliate.model_res_partner | ||
#: model:ir.model.fields,field_description:partner_affiliate.field_res_partner__child_ids | ||
#: model:ir.model.fields,field_description:partner_affiliate.field_res_users__child_ids | ||
msgid "Contact" | ||
msgstr "" | ||
|
||
#. module: partner_affiliate | ||
#: model_terms:ir.ui.view,arch_db:partner_affiliate.view_partner_form_add_affiliate | ||
msgid "Delivery" | ||
msgstr "" | ||
|
||
#. module: partner_affiliate | ||
#: model_terms:ir.ui.view,arch_db:partner_affiliate.view_partner_form_add_affiliate | ||
msgid "Invoice" | ||
msgstr "" | ||
|
||
#. module: partner_affiliate | ||
#: model_terms:ir.ui.view,arch_db:partner_affiliate.view_partner_form_add_affiliate | ||
msgid "Logo" | ||
msgstr "" | ||
|
||
#. module: partner_affiliate | ||
#: model_terms:ir.ui.view,arch_db:partner_affiliate.view_partner_form_add_affiliate | ||
msgid "Mobile:" | ||
msgstr "" | ||
|
||
#. module: partner_affiliate | ||
#: model_terms:ir.ui.view,arch_db:partner_affiliate.view_partner_form_add_affiliate | ||
msgid "Phone:" | ||
msgstr "" | ||
|
||
#~ msgid "Partner" | ||
#~ msgstr "الشريك" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# 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_terms:ir.ui.view,arch_db:partner_affiliate.view_partner_form_add_affiliate | ||
msgid "Affiliates" | ||
msgstr "" | ||
|
||
#. module: partner_affiliate | ||
#: model_terms:ir.ui.view,arch_db:partner_affiliate.view_partner_form_add_affiliate | ||
msgid "Avatar" | ||
msgstr "" | ||
|
||
#. module: partner_affiliate | ||
#: model:ir.model,name:partner_affiliate.model_res_partner | ||
#: model:ir.model.fields,field_description:partner_affiliate.field_res_partner__child_ids | ||
#: model:ir.model.fields,field_description:partner_affiliate.field_res_users__child_ids | ||
msgid "Contact" | ||
msgstr "" | ||
|
||
#. module: partner_affiliate | ||
#: model_terms:ir.ui.view,arch_db:partner_affiliate.view_partner_form_add_affiliate | ||
msgid "Delivery" | ||
msgstr "" | ||
|
||
#. module: partner_affiliate | ||
#: model_terms:ir.ui.view,arch_db:partner_affiliate.view_partner_form_add_affiliate | ||
msgid "Invoice" | ||
msgstr "" | ||
|
||
#. module: partner_affiliate | ||
#: model_terms:ir.ui.view,arch_db:partner_affiliate.view_partner_form_add_affiliate | ||
msgid "Logo" | ||
msgstr "" | ||
|
||
#. module: partner_affiliate | ||
#: model_terms:ir.ui.view,arch_db:partner_affiliate.view_partner_form_add_affiliate | ||
msgid "Mobile:" | ||
msgstr "" | ||
|
||
#. module: partner_affiliate | ||
#: model_terms:ir.ui.view,arch_db:partner_affiliate.view_partner_form_add_affiliate | ||
msgid "Phone:" | ||
msgstr "" | ||
|
||
#~ msgid "Partner" | ||
#~ msgstr "Партньор" |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that porting a module does not grant authorship copyright