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

[17.0] [MIG] partner_industry_secondary #1761

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
a2fe7c0
partner_sector -> partner_industry_secondary
MiquelRForgeFlow Aug 29, 2018
6dd406b
Migration scripts (from v10 to v11)
MiquelRForgeFlow Sep 19, 2018
96fdfa0
partner_industry_secondary: Migration to v12
cristinamartinrod Feb 28, 2019
9f27fde
Translated using Weblate (Croatian)
badbole Nov 18, 2019
e8b7702
Translated using Weblate (Spanish)
CarlesAntoli Jan 12, 2020
4931c71
partner_industry_Secondary: Make api constrains multi to avoid error …
sergio-teruel Apr 8, 2020
7b2e482
[IMP] partner_industry_secondary: black, isort, prettier
skeller1 May 17, 2020
e36a030
[MIG] partner_industry_secondary: Migration to 13.0
skeller1 May 17, 2020
de83f15
[IMP] : black, isort, prettier
SurachetS Nov 16, 2020
5cdcb5f
[MIG] partner_industry_secondary: Migration to 14.0
SurachetS Nov 16, 2020
8738453
[IMP] partner_industry_secondary: black, isort, prettier
SilvioC2C Dec 9, 2021
551ff69
[MIG] partner_industry_secondary: Migration to 15.0
SilvioC2C Dec 9, 2021
571afcc
Translated using Weblate (Catalan)
pablontura Apr 13, 2022
8573dac
[MIG] partner_industry_secondary: Migration to 16.0
victor-champonnois Nov 29, 2022
4f87012
fixup! [MIG] partner_industry_secondary: Migration to 16.0
victor-champonnois Mar 16, 2023
94f88ba
[UPD] Update partner_industry_secondary.pot
May 1, 2023
3cf1b88
[UPD] README.rst
OCA-git-bot May 1, 2023
a8211a6
Translated using Weblate (French)
victor-champonnois Jun 2, 2023
32db0c6
Translated using Weblate (Spanish)
Ivorra78 Aug 22, 2023
3496fe4
[UPD] README.rst
OCA-git-bot Sep 3, 2023
080a1d6
Update translation files
weblate Oct 10, 2023
458243a
Translated using Weblate (Spanish)
Ivorra78 Oct 12, 2023
05c7f7e
Translated using Weblate (Italian)
mymage Dec 27, 2023
8044a9f
[IMP] partner_industry_secondary: add unaccent=False on parent_path f…
marielejeune Feb 22, 2024
9a2fabc
[BOT] post-merge updates
OCA-git-bot Feb 22, 2024
fee0fba
[IMP] partner_industry_secondary: pre-commit auto fixes
Tisho99 May 21, 2024
9d85188
[MIG] partner_industry_secondary: Migration to 17.0
mmrondon May 15, 2024
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
104 changes: 104 additions & 0 deletions partner_industry_secondary/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
==========================
Partner Industry Secondary
==========================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:239d219b7b25c790698cd580d9091e16c51cd2ba4e638677df6f35827168b0d6
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/17.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-17-0/partner-contact-17-0-partner_industry_secondary
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/partner-contact&target_branch=17.0
:alt: Try me on Runboat

|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 > Industries*.

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 to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/partner-contact/issues/new?body=module:%20partner_industry_secondary%0Aversion:%2017.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/17.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": "17.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",
],
}
131 changes: 131 additions & 0 deletions partner_industry_secondary/i18n/am.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
# 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
#. odoo-python
#: 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
#: 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
#: model:ir.model.fields,field_description:partner_industry_secondary.field_res_partner__show_partner_industry_for_person
#: model:ir.model.fields,field_description:partner_industry_secondary.field_res_users__show_partner_industry_for_person
msgid "Show Partner Industry For Person"
msgstr ""

#. module: partner_industry_secondary
#. odoo-python
#: 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 "ተባባሪ"
Loading
Loading