Skip to content
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_industry_secondary #1018

Merged
merged 22 commits into from
Mar 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
3456071
partner_sector -> partner_industry_secondary
MiquelRForgeFlow Aug 29, 2018
b00974e
Migration scripts (from v10 to v11)
MiquelRForgeFlow Sep 19, 2018
58ef665
Update partner_industry_secondary.pot
oca-travis Oct 24, 2018
5734f59
README.rst
OCA-git-bot Oct 24, 2018
2bab8d5
partner_industry_secondary: Migration to v12
cristinamartinrod Feb 28, 2019
d625fb9
README.rst
OCA-git-bot Apr 3, 2019
edaa2c9
Update partner_industry_secondary.pot
oca-travis Apr 4, 2019
f1868b0
Update translation files
oca-transbot May 20, 2019
633b3ab
README.rst
OCA-git-bot Jul 29, 2019
fa5ecbe
Translated using Weblate (Croatian)
badbole Nov 18, 2019
ce5afa7
Translated using Weblate (Spanish)
CarlesAntoli Jan 12, 2020
b245bdc
partner_industry_Secondary: Make api constrains multi to avoid error …
sergio-teruel Apr 8, 2020
9c455d6
Update partner_industry_secondary.pot
oca-travis Apr 8, 2020
4ea48b7
partner_industry_secondary 12.0.1.0.1
OCA-git-bot Apr 8, 2020
d5762da
Update translation files
oca-transbot Apr 8, 2020
acb33d1
[IMP] partner_industry_secondary: black, isort, prettier
skeller1 May 17, 2020
f04264a
[MIG] partner_industry_secondary: Migration to 13.0
skeller1 May 17, 2020
27e493c
[UPD] Update partner_industry_secondary.pot
oca-travis Jun 23, 2020
0027969
Update translation files
oca-transbot Jun 24, 2020
ec01691
Update translation files
oca-transbot Aug 16, 2020
bee6870
[IMP] : black, isort, prettier
SurachetS Nov 16, 2020
8e35e2a
[MIG] partner_industry_secondary: Migration to 14.0
SurachetS Nov 16, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
100 changes: 100 additions & 0 deletions partner_industry_secondary/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
==========================
Partner Industry Secondary
==========================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |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_industry_secondary
: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_industry_secondary
: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 secondary industries for partners.

**Table of contents**

.. contents::
:local:

Configuration
=============

To manage industries, you need to:

* Go to *Contacts > Configuration > Sectors of Activity*.

By default only companies have industries. To activate industries in individuals also,
you need to activate the following setting:

* Go to *Settings > General Settings > Partner Industries > Industry in contacts > Use industry for individuals*

Usage
=====

To use this module, you need to:

* Go to any partner's 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_industry_secondary%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
~~~~~~~

* Tecnativa

Contributors
~~~~~~~~~~~~

* Rafael Blasco <rafabn@antiun.com>
* Antonio Espinosa <antonioea@antiun.com>
* Javier Iniesta <javieria@antiun.com>
* Vicent Cubells <vicent.cubells@tecnativa.com>
* Pedro M. Baeza <pedro.baeza@tecnativa.com>
* Luis M. Ontalba <luis.martinez@tecnativa.com>
* Jordi Ballester Alomar <jordi.ballester@eficent.com>
* Miquel Raïch <miquel.raich@eficent.com>
* Cristina Martin R.

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_industry_secondary>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions partner_industry_secondary/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

from . import models
23 changes: 23 additions & 0 deletions partner_industry_secondary/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright 2015 Antiun Ingenieria S.L. - Javier Iniesta
# Copyright 2016-2017 Tecnativa S.L. - Vicent Cubells
# Copyright 2019 Tecnativa S.L. - Cristina Martin R.
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

{
"name": "Partner Industry Secondary",
"summary": "Add secondary partner industries",
"version": "14.0.1.0.0",
"category": "Sales",
"website": "https://github.com/OCA/partner-contact",
"author": "Tecnativa, Odoo Community Association (OCA)",
"license": "AGPL-3",
"installable": True,
"depends": ["base_setup", "contacts"],
"data": [
"security/ir.model.access.csv",
"security/partner_industry_security.xml",
"views/res_partner_industry_view.xml",
"views/res_partner_view.xml",
"views/res_config_settings.xml",
],
}
129 changes: 129 additions & 0 deletions partner_industry_secondary/i18n/am.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_sector
#
# 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-12-26 15:33+0000\n"
"PO-Revision-Date: 2017-12-26 15:33+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_industry_secondary
#: model:ir.model.fields,field_description:partner_industry_secondary.field_res_partner_industry__child_ids
msgid "Children"
msgstr ""

#. module: partner_industry_secondary
#: model:ir.model,name:partner_industry_secondary.model_res_config_settings
msgid "Config Settings"
msgstr ""

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

#. module: partner_industry_secondary
#: model_terms:ir.ui.view,arch_db:partner_industry_secondary.res_config_settings_view_form
msgid "Enable industries for individuals"
msgstr ""

#. module: partner_industry_secondary
#: code:addons/partner_industry_secondary/models/res_partner_industry.py:0
#, python-format
msgid "Error! Industry with same name and parent already exists."
msgstr ""

#. module: partner_industry_secondary
#: code:addons/partner_industry_secondary/models/res_partner_industry.py:0
#, python-format
msgid "Error! You cannot create recursive industries."
msgstr ""

#. module: partner_industry_secondary
#: model_terms:ir.ui.view,arch_db:partner_industry_secondary.res_config_settings_view_form
msgid "Industries"
msgstr ""

#. module: partner_industry_secondary
#: model:ir.model,name:partner_industry_secondary.model_res_partner_industry
#: model_terms:ir.ui.view,arch_db:partner_industry_secondary.view_res_partner_filter_industry
msgid "Industry"
msgstr ""

#. module: partner_industry_secondary
#: model:ir.model.fields,field_description:partner_industry_secondary.field_res_partner__industry_id
#: model:ir.model.fields,field_description:partner_industry_secondary.field_res_users__industry_id
msgid "Main Industry"
msgstr ""

#. module: partner_industry_secondary
#: model:ir.model.fields,field_description:partner_industry_secondary.field_res_partner_industry__name
msgid "Name"
msgstr ""

#. module: partner_industry_secondary
#: model:ir.model.fields,field_description:partner_industry_secondary.field_res_partner_industry__parent_id
msgid "Parent"
msgstr ""

#. module: partner_industry_secondary
#: model:ir.model.fields,field_description:partner_industry_secondary.field_res_partner_industry__parent_path
msgid "Parent Path"
msgstr ""

#. module: partner_industry_secondary
#: model:ir.model.fields,field_description:partner_industry_secondary.field_res_partner__secondary_industry_ids
#: model:ir.model.fields,field_description:partner_industry_secondary.field_res_users__secondary_industry_ids
msgid "Secondary Industries"
msgstr ""

#. module: partner_industry_secondary
#: model_terms:ir.ui.view,arch_db:partner_industry_secondary.view_partner_form_industry
msgid "Sector"
msgstr ""

#. module: partner_industry_secondary
#: model:ir.model.fields,help:partner_industry_secondary.field_res_config_settings__group_use_partner_industry_for_person
msgid "Set if you want to be able to use industries for individuals also."
msgstr ""

#. module: partner_industry_secondary
#: code:addons/partner_industry_secondary/models/res_partner.py:0
#, python-format
msgid "The main industry must be different from the secondary industries."
msgstr ""

#. module: partner_industry_secondary
#: model:ir.model.fields,field_description:partner_industry_secondary.field_res_config_settings__group_use_partner_industry_for_person
#: model:res.groups,name:partner_industry_secondary.group_use_partner_industry_for_person
msgid "Use industry for individuals"
msgstr ""

#~ msgid "Created by"
#~ msgstr "Creado por"

#~ msgid "Created on"
#~ msgstr "Creado en"

#~ msgid "ID"
#~ msgstr "ID"

#~ msgid "Last Updated by"
#~ msgstr "Última actualización por"

#~ msgid "Last Updated on"
#~ msgstr "Última actualización en"

#~ msgid "Partner"
#~ msgstr "ተባባሪ"
136 changes: 136 additions & 0 deletions partner_industry_secondary/i18n/ar.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_sector
#
# 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-12-26 15:33+0000\n"
"PO-Revision-Date: 2017-12-26 15:33+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_industry_secondary
#: model:ir.model.fields,field_description:partner_industry_secondary.field_res_partner_industry__child_ids
msgid "Children"
msgstr ""

#. module: partner_industry_secondary
#: model:ir.model,name:partner_industry_secondary.model_res_config_settings
msgid "Config Settings"
msgstr ""

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

#. module: partner_industry_secondary
#: model_terms:ir.ui.view,arch_db:partner_industry_secondary.res_config_settings_view_form
msgid "Enable industries for individuals"
msgstr ""

#. module: partner_industry_secondary
#: code:addons/partner_industry_secondary/models/res_partner_industry.py:0
#, python-format
msgid "Error! Industry with same name and parent already exists."
msgstr ""

#. module: partner_industry_secondary
#: code:addons/partner_industry_secondary/models/res_partner_industry.py:0
#, python-format
msgid "Error! You cannot create recursive industries."
msgstr ""

#. module: partner_industry_secondary
#: model_terms:ir.ui.view,arch_db:partner_industry_secondary.res_config_settings_view_form
msgid "Industries"
msgstr ""

#. module: partner_industry_secondary
#: model:ir.model,name:partner_industry_secondary.model_res_partner_industry
#: model_terms:ir.ui.view,arch_db:partner_industry_secondary.view_res_partner_filter_industry
msgid "Industry"
msgstr ""

#. module: partner_industry_secondary
#: model:ir.model.fields,field_description:partner_industry_secondary.field_res_partner__industry_id
#: model:ir.model.fields,field_description:partner_industry_secondary.field_res_users__industry_id
msgid "Main Industry"
msgstr ""

#. module: partner_industry_secondary
#: model:ir.model.fields,field_description:partner_industry_secondary.field_res_partner_industry__name
msgid "Name"
msgstr "الاسم"

#. module: partner_industry_secondary
#: model:ir.model.fields,field_description:partner_industry_secondary.field_res_partner_industry__parent_id
msgid "Parent"
msgstr ""

#. module: partner_industry_secondary
#: model:ir.model.fields,field_description:partner_industry_secondary.field_res_partner_industry__parent_path
msgid "Parent Path"
msgstr ""

#. module: partner_industry_secondary
#: model:ir.model.fields,field_description:partner_industry_secondary.field_res_partner__secondary_industry_ids
#: model:ir.model.fields,field_description:partner_industry_secondary.field_res_users__secondary_industry_ids
msgid "Secondary Industries"
msgstr ""

#. module: partner_industry_secondary
#: model_terms:ir.ui.view,arch_db:partner_industry_secondary.view_partner_form_industry
msgid "Sector"
msgstr ""

#. module: partner_industry_secondary
#: model:ir.model.fields,help:partner_industry_secondary.field_res_config_settings__group_use_partner_industry_for_person
msgid "Set if you want to be able to use industries for individuals also."
msgstr ""

#. module: partner_industry_secondary
#: code:addons/partner_industry_secondary/models/res_partner.py:0
#, python-format
msgid "The main industry must be different from the secondary industries."
msgstr ""

#. module: partner_industry_secondary
#: model:ir.model.fields,field_description:partner_industry_secondary.field_res_config_settings__group_use_partner_industry_for_person
#: model:res.groups,name:partner_industry_secondary.group_use_partner_industry_for_person
msgid "Use industry for individuals"
msgstr ""

#~ msgid "Created by"
#~ msgstr "أنشئ بواسطة"

#~ msgid "Created on"
#~ msgstr "أنشئ في"

#~ msgid "Display Name"
#~ msgstr "اسم العرض"

#~ msgid "ID"
#~ msgstr "المعرف"

#~ msgid "Last Modified on"
#~ msgstr "آخر تعديل في"

#~ msgid "Last Updated by"
#~ msgstr "آخر تحديث بواسطة"

#~ msgid "Last Updated on"
#~ msgstr "آخر تحديث في"

#~ msgid "Partner"
#~ msgstr "الشريك"
Loading