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

[18.0][MIG] partner_industry_secondary: Migration to 18.0 #1896

Open
wants to merge 39 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
9f628a6
partner_sector -> partner_industry_secondary
MiquelRForgeFlow Aug 29, 2018
3a55479
Migration scripts (from v10 to v11)
MiquelRForgeFlow Sep 19, 2018
e219e28
partner_industry_secondary: Migration to v12
cristinamartinrod Feb 28, 2019
9fd1dff
Translated using Weblate (Croatian)
badbole Nov 18, 2019
35a90da
Translated using Weblate (Spanish)
CarlesAntoli Jan 12, 2020
0d6418a
partner_industry_Secondary: Make api constrains multi to avoid error …
sergio-teruel Apr 8, 2020
471a2e9
[IMP] partner_industry_secondary: black, isort, prettier
skeller1 May 17, 2020
5033483
[MIG] partner_industry_secondary: Migration to 13.0
skeller1 May 17, 2020
f5bfbd1
[IMP] : black, isort, prettier
SurachetS Nov 16, 2020
c181fb3
[MIG] partner_industry_secondary: Migration to 14.0
SurachetS Nov 16, 2020
4bea4b3
[IMP] partner_industry_secondary: black, isort, prettier
SilvioC2C Dec 9, 2021
f204d8e
[MIG] partner_industry_secondary: Migration to 15.0
SilvioC2C Dec 9, 2021
9305bec
Translated using Weblate (Catalan)
pablontura Apr 13, 2022
d90a8fa
[MIG] partner_industry_secondary: Migration to 16.0
victor-champonnois Nov 29, 2022
ba2e618
fixup! [MIG] partner_industry_secondary: Migration to 16.0
victor-champonnois Mar 16, 2023
90367cd
[UPD] Update partner_industry_secondary.pot
May 1, 2023
76f76f2
[UPD] README.rst
OCA-git-bot May 1, 2023
902f89b
Translated using Weblate (French)
victor-champonnois Jun 2, 2023
0bcf10f
Translated using Weblate (Spanish)
Ivorra78 Aug 22, 2023
5282045
[UPD] README.rst
OCA-git-bot Sep 3, 2023
075483c
Update translation files
weblate Oct 10, 2023
4e87589
Translated using Weblate (Spanish)
Ivorra78 Oct 12, 2023
1657e36
Translated using Weblate (Italian)
mymage Dec 27, 2023
74877ec
[IMP] partner_industry_secondary: add unaccent=False on parent_path f…
marielejeune Feb 22, 2024
0f273bb
[BOT] post-merge updates
OCA-git-bot Feb 22, 2024
a0fd5ad
[IMP] partner_industry_secondary: pre-commit auto fixes
Tisho99 May 21, 2024
1235c61
[MIG] partner_industry_secondary: Migration to 17.0
mmrondon May 15, 2024
b74a7d2
[UPD] Update partner_industry_secondary.pot
May 21, 2024
d612443
[BOT] post-merge updates
OCA-git-bot May 21, 2024
b907dd1
Translated using Weblate (Swedish)
jakobkrabbe Jun 5, 2024
f6e79ac
[FIX]partner_industry_secondary: Properly calculate industry's parent…
manuelregidor Jun 19, 2024
876282b
[BOT] post-merge updates
OCA-git-bot Jun 19, 2024
d60551a
[IMP] partner_contact_role: pre-commit execution
jdidderen-nsi Aug 7, 2024
4c7a0fe
[FIX] Remove UserWarning: Field res.partner.industry.display_name sho…
pfranck Oct 31, 2024
aed089e
[UPD] Update partner_industry_secondary.pot
Nov 23, 2024
3652c5f
[BOT] post-merge updates
OCA-git-bot Nov 23, 2024
f0431df
Update translation files
weblate Nov 23, 2024
e475b08
[IMP] partner_industry_secondary: pre-commit auto fixes
achulii Nov 25, 2024
2787d92
[MIG] partner_industry_secondary: Migration to 18.0
achulii Nov 25, 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:5712191e7c7ed204c3bdd5737659a852e3121c649b954bb6e22d635b7a80154d
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/18.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-18-0/partner-contact-18-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=18.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:%2018.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 <[email protected]>
- Antonio Espinosa <[email protected]>
- Javier Iniesta <[email protected]>
- Vicent Cubells <[email protected]>
- Pedro M. Baeza <[email protected]>
- Luis M. Ontalba <[email protected]>
- Jordi Ballester Alomar <[email protected]>
- Miquel Raïch <[email protected]>
- 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/18.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": "18.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 <[email protected]>, 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 <[email protected]>, 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:ir.model.fields,field_description:partner_industry_secondary.field_res_partner_industry__display_name
msgid "Display Name"
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: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