From de564d30f5f1bf21849a14766e2201b63093304a Mon Sep 17 00:00:00 2001 From: mreficent Date: Wed, 24 Oct 2018 13:44:05 +0200 Subject: [PATCH 01/47] crm_sector -> crm_industry --- crm_industry/README.rst | 59 +++++++++++++++ crm_industry/__init__.py | 3 + crm_industry/__manifest__.py | 21 ++++++ crm_industry/i18n/bg.po | 48 +++++++++++++ crm_industry/i18n/crm_sector.pot | 44 ++++++++++++ crm_industry/i18n/de.po | 48 +++++++++++++ crm_industry/i18n/es.po | 48 +++++++++++++ crm_industry/i18n/fr.po | 49 +++++++++++++ crm_industry/i18n/hr.po | 49 +++++++++++++ crm_industry/i18n/it.po | 48 +++++++++++++ crm_industry/i18n/nb.po | 51 +++++++++++++ crm_industry/i18n/nl_NL.po | 49 +++++++++++++ crm_industry/i18n/pt_BR.po | 49 +++++++++++++ crm_industry/i18n/sk.po | 48 +++++++++++++ crm_industry/i18n/sl.po | 49 +++++++++++++ crm_industry/i18n/sv.po | 51 +++++++++++++ crm_industry/i18n/tr.po | 49 +++++++++++++ crm_industry/i18n/tr_TR.po | 51 +++++++++++++ crm_industry/i18n/zh_CN.po | 48 +++++++++++++ crm_industry/models/__init__.py | 3 + crm_industry/models/crm_lead.py | 36 ++++++++++ crm_industry/readme/CONTRIBUTORS.rst | 5 ++ crm_industry/readme/DESCRIPTION.rst | 1 + crm_industry/static/description/icon.png | Bin 0 -> 9455 bytes crm_industry/tests/__init__.py | 3 + crm_industry/tests/test_crm_lead.py | 38 ++++++++++ crm_industry/views/crm_lead_view.xml | 87 +++++++++++++++++++++++ 27 files changed, 1035 insertions(+) create mode 100644 crm_industry/README.rst create mode 100644 crm_industry/__init__.py create mode 100644 crm_industry/__manifest__.py create mode 100644 crm_industry/i18n/bg.po create mode 100644 crm_industry/i18n/crm_sector.pot create mode 100644 crm_industry/i18n/de.po create mode 100644 crm_industry/i18n/es.po create mode 100644 crm_industry/i18n/fr.po create mode 100644 crm_industry/i18n/hr.po create mode 100644 crm_industry/i18n/it.po create mode 100644 crm_industry/i18n/nb.po create mode 100644 crm_industry/i18n/nl_NL.po create mode 100644 crm_industry/i18n/pt_BR.po create mode 100644 crm_industry/i18n/sk.po create mode 100644 crm_industry/i18n/sl.po create mode 100644 crm_industry/i18n/sv.po create mode 100644 crm_industry/i18n/tr.po create mode 100644 crm_industry/i18n/tr_TR.po create mode 100644 crm_industry/i18n/zh_CN.po create mode 100644 crm_industry/models/__init__.py create mode 100644 crm_industry/models/crm_lead.py create mode 100644 crm_industry/readme/CONTRIBUTORS.rst create mode 100644 crm_industry/readme/DESCRIPTION.rst create mode 100644 crm_industry/static/description/icon.png create mode 100644 crm_industry/tests/__init__.py create mode 100644 crm_industry/tests/test_crm_lead.py create mode 100644 crm_industry/views/crm_lead_view.xml diff --git a/crm_industry/README.rst b/crm_industry/README.rst new file mode 100644 index 00000000000..0443de78c3c --- /dev/null +++ b/crm_industry/README.rst @@ -0,0 +1,59 @@ +.. image:: https://img.shields.io/badge/license-AGPL--3-blue.png + :target: https://www.gnu.org/licenses/agpl + :alt: License: AGPL-3 + +============ +CRM Industry +============ + +This module adds industries for leads and opportunities. + +Usage +===== + +.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas + :alt: Try me on Runbot + :target: https://runbot.odoo-community.org/runbot/111/11.0 + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues +`_. In case of trouble, please +check there if your issue has already been reported. If you spotted it first, +help us smash it by providing detailed and welcomed feedback. + +Credits +======= + +Images +------ + +* Odoo Community Association: `Icon `_. + + +Contributors +------------ + +* Rafael Blasco +* Antonio Espinosa +* Javier Iniesta +* Luis M. Ontalba +* Miquel Raïch + +Do not contact contributors directly about support or help with technical issues. + +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. diff --git a/crm_industry/__init__.py b/crm_industry/__init__.py new file mode 100644 index 00000000000..83e553ac462 --- /dev/null +++ b/crm_industry/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from . import models diff --git a/crm_industry/__manifest__.py b/crm_industry/__manifest__.py new file mode 100644 index 00000000000..8e0dfd7099c --- /dev/null +++ b/crm_industry/__manifest__.py @@ -0,0 +1,21 @@ +# Copyright 2015 Antiun Ingenieria S.L. - Javier Iniesta +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +{ + "name": "CRM Industry", + "summary": "Link leads/opportunities to industries", + "version": "11.0.1.0.0", + "category": "Customer Relationship Management", + "website": "https://www.tecnativa.com", + "author": "Tecnativa, " + "Odoo Community Association (OCA)", + "license": "AGPL-3", + "installable": True, + "depends": [ + "crm", + "partner_industry_secondary", + ], + "data": [ + "views/crm_lead_view.xml", + ] +} diff --git a/crm_industry/i18n/bg.po b/crm_industry/i18n/bg.po new file mode 100644 index 00000000000..31e4a860bc9 --- /dev/null +++ b/crm_industry/i18n/bg.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * crm_sector +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: crm (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-02 14:15+0000\n" +"PO-Revision-Date: 2016-03-10 18:53+0000\n" +"Last-Translator: <>\n" +"Language-Team: Bulgarian (http://www.transifex.com/oca/OCA-crm-8-0/language/" +"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: crm_sector +#: model:ir.model,name:crm_sector.model_crm_lead +msgid "Lead/Opportunity" +msgstr "Следа/Възможност" + +#. module: crm_sector +#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_sector_id +msgid "Main Sector" +msgstr "" + +#. module: crm_sector +#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_secondary_sector_ids +msgid "Secondary Sectors" +msgstr "" + +#. module: crm_sector +#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_leads +#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_oppor +#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_leads_filter +#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_opportunities_filter +msgid "Sector" +msgstr "" + +#. module: crm_sector +#: code:addons/crm_sector/models/crm_lead.py:22 +#, python-format +msgid "The secondary sectors must be different from the main sector." +msgstr "" diff --git a/crm_industry/i18n/crm_sector.pot b/crm_industry/i18n/crm_sector.pot new file mode 100644 index 00000000000..4bebf3ce9d5 --- /dev/null +++ b/crm_industry/i18n/crm_sector.pot @@ -0,0 +1,44 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * crm_sector +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: crm_sector +#: model:ir.model,name:crm_sector.model_crm_lead +msgid "Lead/Opportunity" +msgstr "" + +#. module: crm_sector +#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_sector_id +msgid "Main Sector" +msgstr "" + +#. module: crm_sector +#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_secondary_sector_ids +msgid "Secondary Sectors" +msgstr "" + +#. module: crm_sector +#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_leads +#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_oppor +#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_leads_filter +#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_opportunities_filter +msgid "Sector" +msgstr "" + +#. module: crm_sector +#: code:addons/crm_sector/models/crm_lead.py:22 +#, python-format +msgid "The secondary sectors must be different from the main sector." +msgstr "" + diff --git a/crm_industry/i18n/de.po b/crm_industry/i18n/de.po new file mode 100644 index 00000000000..c40f2574461 --- /dev/null +++ b/crm_industry/i18n/de.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * crm_sector +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-06-09 08:00+0000\n" +"PO-Revision-Date: 2017-06-09 08:00+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" +"Language: de\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: crm_sector +#: model:ir.model,name:crm_sector.model_crm_lead +msgid "Lead/Opportunity" +msgstr "Lead/Chance" + +#. module: crm_sector +#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_sector_id +msgid "Main Sector" +msgstr "Hauptsektor" + +#. module: crm_sector +#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_secondary_sector_ids +msgid "Secondary Sectors" +msgstr "Nachrangige Sektoren" + +#. module: crm_sector +#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_leads +#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_oppor +#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_leads_filter +#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_opportunities_filter +msgid "Sector" +msgstr "Sektor" + +#. module: crm_sector +#: code:addons/crm_sector/models/crm_lead.py:22 +#, python-format +msgid "The secondary sectors must be different from the main sector." +msgstr "Der Hauptsektor muss sich von den Sekundären unterscheiden." diff --git a/crm_industry/i18n/es.po b/crm_industry/i18n/es.po new file mode 100644 index 00000000000..a1d98247ec9 --- /dev/null +++ b/crm_industry/i18n/es.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * crm_sector +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-04 15:47+0000\n" +"PO-Revision-Date: 2017-12-04 15:47+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" +"Language: es\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: crm_sector +#: model:ir.model,name:crm_sector.model_crm_lead +msgid "Lead/Opportunity" +msgstr "Iniciativa/Oportunidad" + +#. module: crm_sector +#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_sector_id +msgid "Main Sector" +msgstr "Sector principal" + +#. module: crm_sector +#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_secondary_sector_ids +msgid "Secondary Sectors" +msgstr "Sectores secundarios" + +#. module: crm_sector +#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_leads +#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_oppor +#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_leads_filter +#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_opportunities_filter +msgid "Sector" +msgstr "Sector" + +#. module: crm_sector +#: code:addons/crm_sector/models/crm_lead.py:22 +#, python-format +msgid "The secondary sectors must be different from the main sector." +msgstr "Los sectores secundarios deben ser diferentes del sector principal." diff --git a/crm_industry/i18n/fr.po b/crm_industry/i18n/fr.po new file mode 100644 index 00000000000..ecab3eb814d --- /dev/null +++ b/crm_industry/i18n/fr.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * crm_sector +# +# Translators: +# OCA Transbot , 2017 +# Jes Anderson , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-06-10 03:36+0000\n" +"PO-Revision-Date: 2017-06-10 03:36+0000\n" +"Last-Translator: Jes Anderson , 2017\n" +"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" +"Language: fr\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: crm_sector +#: model:ir.model,name:crm_sector.model_crm_lead +msgid "Lead/Opportunity" +msgstr "Piste/Opportunité" + +#. module: crm_sector +#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_sector_id +msgid "Main Sector" +msgstr "Secteur d'activité principal" + +#. module: crm_sector +#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_secondary_sector_ids +msgid "Secondary Sectors" +msgstr "Secteurs d'activité secondaires" + +#. module: crm_sector +#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_leads +#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_oppor +#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_leads_filter +#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_opportunities_filter +msgid "Sector" +msgstr "Secteur d'activité" + +#. module: crm_sector +#: code:addons/crm_sector/models/crm_lead.py:22 +#, python-format +msgid "The secondary sectors must be different from the main sector." +msgstr "Les secteurs secondaires doivent être différent du secteur propre" diff --git a/crm_industry/i18n/hr.po b/crm_industry/i18n/hr.po new file mode 100644 index 00000000000..bba8f9b69eb --- /dev/null +++ b/crm_industry/i18n/hr.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * crm_sector +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-06-09 08:00+0000\n" +"PO-Revision-Date: 2017-06-09 08:00+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n" +"Language: hr\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: crm_sector +#: model:ir.model,name:crm_sector.model_crm_lead +msgid "Lead/Opportunity" +msgstr "Potencijalni klijent" + +#. module: crm_sector +#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_sector_id +msgid "Main Sector" +msgstr "Glavni sektor" + +#. module: crm_sector +#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_secondary_sector_ids +msgid "Secondary Sectors" +msgstr "Sekundarni sektor" + +#. module: crm_sector +#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_leads +#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_oppor +#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_leads_filter +#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_opportunities_filter +msgid "Sector" +msgstr "Sektor" + +#. module: crm_sector +#: code:addons/crm_sector/models/crm_lead.py:22 +#, python-format +msgid "The secondary sectors must be different from the main sector." +msgstr "Sekundarni sektor mora biti različiti od primarnog sektora." diff --git a/crm_industry/i18n/it.po b/crm_industry/i18n/it.po new file mode 100644 index 00000000000..140c39aeeb6 --- /dev/null +++ b/crm_industry/i18n/it.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * crm_sector +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-06-09 08:00+0000\n" +"PO-Revision-Date: 2017-06-09 08:00+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n" +"Language: it\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: crm_sector +#: model:ir.model,name:crm_sector.model_crm_lead +msgid "Lead/Opportunity" +msgstr "Lead/Opportunità" + +#. module: crm_sector +#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_sector_id +msgid "Main Sector" +msgstr "Settore principale" + +#. module: crm_sector +#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_secondary_sector_ids +msgid "Secondary Sectors" +msgstr "Settori secondari" + +#. module: crm_sector +#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_leads +#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_oppor +#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_leads_filter +#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_opportunities_filter +msgid "Sector" +msgstr "Settore" + +#. module: crm_sector +#: code:addons/crm_sector/models/crm_lead.py:22 +#, python-format +msgid "The secondary sectors must be different from the main sector." +msgstr "" diff --git a/crm_industry/i18n/nb.po b/crm_industry/i18n/nb.po new file mode 100644 index 00000000000..407432f6e2a --- /dev/null +++ b/crm_industry/i18n/nb.po @@ -0,0 +1,51 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * crm_sector +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: crm (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-01-14 02:20+0000\n" +"PO-Revision-Date: 2016-03-10 18:53+0000\n" +"Last-Translator: <>\n" +"Language-Team: Norwegian Bokmål (http://www.transifex.com/oca/OCA-crm-8-0/" +"language/nb/)\n" +"Language: nb\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: crm_sector +#: model:ir.model,name:crm_sector.model_crm_lead +msgid "Lead/Opportunity" +msgstr "" + +#. module: crm_sector +#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_sector_id +msgid "Main Sector" +msgstr "" + +#. module: crm_sector +#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_secondary_sector_ids +msgid "Secondary Sectors" +msgstr "" + +#. module: crm_sector +#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_leads +#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_oppor +#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_leads_filter +#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_opportunities_filter +msgid "Sector" +msgstr "" + +#. module: crm_sector +#: code:addons/crm_sector/models/crm_lead.py:22 +#, python-format +msgid "The secondary sectors must be different from the main sector." +msgstr "" + +#~ msgid "Sales Team" +#~ msgstr "Salgsteam" diff --git a/crm_industry/i18n/nl_NL.po b/crm_industry/i18n/nl_NL.po new file mode 100644 index 00000000000..cfd02adcccb --- /dev/null +++ b/crm_industry/i18n/nl_NL.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * crm_sector +# +# Translators: +# Peter Hageman , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-06-09 08:00+0000\n" +"PO-Revision-Date: 2017-06-09 08:00+0000\n" +"Last-Translator: Peter Hageman , 2017\n" +"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/" +"teams/23907/nl_NL/)\n" +"Language: nl_NL\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: crm_sector +#: model:ir.model,name:crm_sector.model_crm_lead +msgid "Lead/Opportunity" +msgstr "" + +#. module: crm_sector +#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_sector_id +msgid "Main Sector" +msgstr "Hoofd Sector" + +#. module: crm_sector +#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_secondary_sector_ids +msgid "Secondary Sectors" +msgstr "Secundaire Sectoren" + +#. module: crm_sector +#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_leads +#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_oppor +#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_leads_filter +#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_opportunities_filter +msgid "Sector" +msgstr "Sector" + +#. module: crm_sector +#: code:addons/crm_sector/models/crm_lead.py:22 +#, python-format +msgid "The secondary sectors must be different from the main sector." +msgstr "De secondaire sectoren moeten verschillen van hoofd sector." diff --git a/crm_industry/i18n/pt_BR.po b/crm_industry/i18n/pt_BR.po new file mode 100644 index 00000000000..8e658eb6426 --- /dev/null +++ b/crm_industry/i18n/pt_BR.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * crm_sector +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-06-09 08:00+0000\n" +"PO-Revision-Date: 2017-06-09 08:00+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/" +"teams/23907/pt_BR/)\n" +"Language: pt_BR\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: crm_sector +#: model:ir.model,name:crm_sector.model_crm_lead +msgid "Lead/Opportunity" +msgstr "Prospector/Oportunidade" + +#. module: crm_sector +#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_sector_id +msgid "Main Sector" +msgstr "" + +#. module: crm_sector +#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_secondary_sector_ids +msgid "Secondary Sectors" +msgstr "" + +#. module: crm_sector +#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_leads +#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_oppor +#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_leads_filter +#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_opportunities_filter +msgid "Sector" +msgstr "" + +#. module: crm_sector +#: code:addons/crm_sector/models/crm_lead.py:22 +#, python-format +msgid "The secondary sectors must be different from the main sector." +msgstr "" diff --git a/crm_industry/i18n/sk.po b/crm_industry/i18n/sk.po new file mode 100644 index 00000000000..a4a1862c460 --- /dev/null +++ b/crm_industry/i18n/sk.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * crm_sector +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: crm (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-12-17 01:26+0000\n" +"PO-Revision-Date: 2016-03-10 18:53+0000\n" +"Last-Translator: <>\n" +"Language-Team: Slovak (http://www.transifex.com/oca/OCA-crm-8-0/language/" +"sk/)\n" +"Language: sk\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: crm_sector +#: model:ir.model,name:crm_sector.model_crm_lead +msgid "Lead/Opportunity" +msgstr "Iniciatíva/Príležitosť" + +#. module: crm_sector +#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_sector_id +msgid "Main Sector" +msgstr "" + +#. module: crm_sector +#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_secondary_sector_ids +msgid "Secondary Sectors" +msgstr "" + +#. module: crm_sector +#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_leads +#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_oppor +#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_leads_filter +#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_opportunities_filter +msgid "Sector" +msgstr "" + +#. module: crm_sector +#: code:addons/crm_sector/models/crm_lead.py:22 +#, python-format +msgid "The secondary sectors must be different from the main sector." +msgstr "" diff --git a/crm_industry/i18n/sl.po b/crm_industry/i18n/sl.po new file mode 100644 index 00000000000..24d7a5dbb93 --- /dev/null +++ b/crm_industry/i18n/sl.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * crm_sector +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-06-09 08:00+0000\n" +"PO-Revision-Date: 2017-06-09 08:00+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" +"Language: sl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" +"%100==4 ? 2 : 3);\n" + +#. module: crm_sector +#: model:ir.model,name:crm_sector.model_crm_lead +msgid "Lead/Opportunity" +msgstr "Indic/priložnost" + +#. module: crm_sector +#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_sector_id +msgid "Main Sector" +msgstr "Glavni sektor" + +#. module: crm_sector +#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_secondary_sector_ids +msgid "Secondary Sectors" +msgstr "Sekundarni sektorji" + +#. module: crm_sector +#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_leads +#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_oppor +#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_leads_filter +#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_opportunities_filter +msgid "Sector" +msgstr "Sektor" + +#. module: crm_sector +#: code:addons/crm_sector/models/crm_lead.py:22 +#, python-format +msgid "The secondary sectors must be different from the main sector." +msgstr "Sekundarni sektorji morajo biti različni od glavnega." diff --git a/crm_industry/i18n/sv.po b/crm_industry/i18n/sv.po new file mode 100644 index 00000000000..4dffd883c71 --- /dev/null +++ b/crm_industry/i18n/sv.po @@ -0,0 +1,51 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * crm_sector +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: crm (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-01-14 02:20+0000\n" +"PO-Revision-Date: 2016-03-10 18:53+0000\n" +"Last-Translator: <>\n" +"Language-Team: Swedish (http://www.transifex.com/oca/OCA-crm-8-0/language/" +"sv/)\n" +"Language: sv\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: crm_sector +#: model:ir.model,name:crm_sector.model_crm_lead +msgid "Lead/Opportunity" +msgstr "" + +#. module: crm_sector +#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_sector_id +msgid "Main Sector" +msgstr "" + +#. module: crm_sector +#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_secondary_sector_ids +msgid "Secondary Sectors" +msgstr "" + +#. module: crm_sector +#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_leads +#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_oppor +#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_leads_filter +#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_opportunities_filter +msgid "Sector" +msgstr "" + +#. module: crm_sector +#: code:addons/crm_sector/models/crm_lead.py:22 +#, python-format +msgid "The secondary sectors must be different from the main sector." +msgstr "" + +#~ msgid "Sales Team" +#~ msgstr "Försäljningsteam" diff --git a/crm_industry/i18n/tr.po b/crm_industry/i18n/tr.po new file mode 100644 index 00000000000..9cb0fde5bde --- /dev/null +++ b/crm_industry/i18n/tr.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * crm_sector +# +# Translators: +# OCA Transbot , 2017 +# Ediz Duman , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-06-10 03:36+0000\n" +"PO-Revision-Date: 2017-06-10 03:36+0000\n" +"Last-Translator: Ediz Duman , 2017\n" +"Language-Team: Turkish (https://www.transifex.com/oca/teams/23907/tr/)\n" +"Language: tr\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: crm_sector +#: model:ir.model,name:crm_sector.model_crm_lead +msgid "Lead/Opportunity" +msgstr "Aday/Fırsat" + +#. module: crm_sector +#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_sector_id +msgid "Main Sector" +msgstr "Ana Sektör" + +#. module: crm_sector +#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_secondary_sector_ids +msgid "Secondary Sectors" +msgstr "İkincil Sektörler" + +#. module: crm_sector +#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_leads +#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_oppor +#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_leads_filter +#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_opportunities_filter +msgid "Sector" +msgstr "Sektör" + +#. module: crm_sector +#: code:addons/crm_sector/models/crm_lead.py:22 +#, python-format +msgid "The secondary sectors must be different from the main sector." +msgstr "" diff --git a/crm_industry/i18n/tr_TR.po b/crm_industry/i18n/tr_TR.po new file mode 100644 index 00000000000..f3fefcf780f --- /dev/null +++ b/crm_industry/i18n/tr_TR.po @@ -0,0 +1,51 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * crm_sector +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: crm (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-12-31 02:41+0000\n" +"PO-Revision-Date: 2016-03-10 18:53+0000\n" +"Last-Translator: <>\n" +"Language-Team: Turkish (Turkey) (http://www.transifex.com/oca/OCA-crm-8-0/" +"language/tr_TR/)\n" +"Language: tr_TR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: crm_sector +#: model:ir.model,name:crm_sector.model_crm_lead +msgid "Lead/Opportunity" +msgstr "" + +#. module: crm_sector +#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_sector_id +msgid "Main Sector" +msgstr "" + +#. module: crm_sector +#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_secondary_sector_ids +msgid "Secondary Sectors" +msgstr "" + +#. module: crm_sector +#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_leads +#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_oppor +#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_leads_filter +#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_opportunities_filter +msgid "Sector" +msgstr "" + +#. module: crm_sector +#: code:addons/crm_sector/models/crm_lead.py:22 +#, python-format +msgid "The secondary sectors must be different from the main sector." +msgstr "" + +#~ msgid "Sales Team" +#~ msgstr "Satış takımı" diff --git a/crm_industry/i18n/zh_CN.po b/crm_industry/i18n/zh_CN.po new file mode 100644 index 00000000000..16e8565ec66 --- /dev/null +++ b/crm_industry/i18n/zh_CN.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * crm_sector +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: crm (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-02-25 01:51+0000\n" +"PO-Revision-Date: 2016-03-10 18:53+0000\n" +"Last-Translator: <>\n" +"Language-Team: Chinese (China) (http://www.transifex.com/oca/OCA-crm-8-0/" +"language/zh_CN/)\n" +"Language: zh_CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: crm_sector +#: model:ir.model,name:crm_sector.model_crm_lead +msgid "Lead/Opportunity" +msgstr "线索/商机" + +#. module: crm_sector +#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_sector_id +msgid "Main Sector" +msgstr "" + +#. module: crm_sector +#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_secondary_sector_ids +msgid "Secondary Sectors" +msgstr "" + +#. module: crm_sector +#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_leads +#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_oppor +#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_leads_filter +#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_opportunities_filter +msgid "Sector" +msgstr "" + +#. module: crm_sector +#: code:addons/crm_sector/models/crm_lead.py:22 +#, python-format +msgid "The secondary sectors must be different from the main sector." +msgstr "" diff --git a/crm_industry/models/__init__.py b/crm_industry/models/__init__.py new file mode 100644 index 00000000000..b8b7e10d5a6 --- /dev/null +++ b/crm_industry/models/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from . import crm_lead diff --git a/crm_industry/models/crm_lead.py b/crm_industry/models/crm_lead.py new file mode 100644 index 00000000000..1330083eb1f --- /dev/null +++ b/crm_industry/models/crm_lead.py @@ -0,0 +1,36 @@ +# Copyright 2015 Antiun Ingenieria S.L. - Javier Iniesta +# Copyright 2018 Eficent Business and IT Consulting Services, S.L. +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from odoo import _, api, exceptions, fields, models + + +class CrmLead(models.Model): + _inherit = 'crm.lead' + + industry_id = fields.Many2one(comodel_name='res.partner.industry', + string='Main Industry') + + secondary_industry_ids = fields.Many2many( + comodel_name='res.partner.industry', string="Secondary Industries", + domain="[('id', '!=', industry_id)]") + + @api.constrains('industry_id', 'secondary_industry_ids') + def _check_industries(self): + for lead in self: + if lead.industry_id in lead.secondary_industry_ids: + raise exceptions.UserError(_( + 'The secondary industries must be different from the main ' + 'industry.')) + + @api.multi + def _create_lead_partner_data(self, name, is_company, parent_id=False): + """Propagate industries in the creation of partner. + """ + values = super(CrmLead, self)._create_lead_partner_data( + name, is_company, parent_id) + values.update({ + 'industry_id': self.industry_id.id, + 'secondary_industry_ids': [(6, 0, + self.secondary_industry_ids.ids)], + }) + return values diff --git a/crm_industry/readme/CONTRIBUTORS.rst b/crm_industry/readme/CONTRIBUTORS.rst new file mode 100644 index 00000000000..5ce8c575b27 --- /dev/null +++ b/crm_industry/readme/CONTRIBUTORS.rst @@ -0,0 +1,5 @@ +* Rafael Blasco +* Antonio Espinosa +* Javier Iniesta +* Luis M. Ontalba +* Miquel Raïch diff --git a/crm_industry/readme/DESCRIPTION.rst b/crm_industry/readme/DESCRIPTION.rst new file mode 100644 index 00000000000..9747843923e --- /dev/null +++ b/crm_industry/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +This module adds industries for leads and opportunities. diff --git a/crm_industry/static/description/icon.png b/crm_industry/static/description/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..3a0328b516c4980e8e44cdb63fd945757ddd132d GIT binary patch literal 9455 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 z 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 Xviia!U7SGha1wx#SCgwmn*{w2TRX*I literal 0 HcmV?d00001 diff --git a/crm_industry/tests/__init__.py b/crm_industry/tests/__init__.py new file mode 100644 index 00000000000..1d245ec7d92 --- /dev/null +++ b/crm_industry/tests/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from . import test_crm_lead diff --git a/crm_industry/tests/test_crm_lead.py b/crm_industry/tests/test_crm_lead.py new file mode 100644 index 00000000000..fab50d01e7f --- /dev/null +++ b/crm_industry/tests/test_crm_lead.py @@ -0,0 +1,38 @@ +# Copyright 2015 Antiun Ingenieria S.L. - Javier Iniesta +# Copyright 2018 Eficent Business and IT Consulting Services, S.L. +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from odoo.tests.common import TransactionCase +from odoo.exceptions import ValidationError + + +class TestCrmLead(TransactionCase): + + def test_check_industries(self): + industry = self.env['res.partner.industry'].create({'name': 'Test'}) + with self.assertRaises(ValidationError): + self.env['crm.lead'].create( + {'name': 'Test', 'industry_id': industry.id, + 'secondary_industry_ids': [(4, industry.id)]}) + + def test_lead_create_contact(self): + industry_pool = self.env['res.partner.industry'] + industry_1 = industry_pool.create({'name': 'Test 01'}) + industry_2 = industry_pool.create({'name': 'Test 02', + 'parent_id': industry_1.id}) + industry_3 = industry_pool.create({'name': 'Test 03', + 'parent_id': industry_1.id}) + lead_vals = { + 'name': 'test', + 'partner_name': 'test', + 'industry_id': industry_1.id, + 'secondary_industry_ids': [(4, industry_2.id, 0), + (4, industry_3.id, 0)], + } + lead = self.env['crm.lead'].create(lead_vals) + partner = self.env['res.partner'].create( + lead._create_lead_partner_data( + lead.partner_name, True, False)) + self.assertEqual(partner.industry_id, lead.industry_id) + self.assertEqual( + partner.secondary_industry_ids, lead.secondary_industry_ids) diff --git a/crm_industry/views/crm_lead_view.xml b/crm_industry/views/crm_lead_view.xml new file mode 100644 index 00000000000..f7467dee262 --- /dev/null +++ b/crm_industry/views/crm_lead_view.xml @@ -0,0 +1,87 @@ + + + + + + Add industry field + crm.lead + + + + + + + + + + + Add industry field as tree column + crm.lead + + + + + + + + + + Add industry field for searching and grouping + crm.lead + + + + + + + + + + + + + Add industry field + crm.lead + + + + + + + + + + + Add industry field as tree column + crm.lead + + + + + + + + + + Add industry field for searching and grouping + crm.lead + + + + + + + + + + + + From 79cc0be912428b94938e57253abbc78397757a5e Mon Sep 17 00:00:00 2001 From: mreficent Date: Wed, 24 Oct 2018 17:47:53 +0200 Subject: [PATCH 02/47] Migration scripts (from v10 to v11) --- .../11.0.1.0.0/openupgrade_analysis.txt | 18 +++++++++ .../11.0.1.0.0/openupgrade_analysis_work.txt | 23 +++++++++++ .../migrations/11.0.1.0.0/post-migration.py | 39 +++++++++++++++++++ .../migrations/11.0.1.0.0/pre-migration.py | 12 ++++++ 4 files changed, 92 insertions(+) create mode 100644 crm_industry/migrations/11.0.1.0.0/openupgrade_analysis.txt create mode 100644 crm_industry/migrations/11.0.1.0.0/openupgrade_analysis_work.txt create mode 100644 crm_industry/migrations/11.0.1.0.0/post-migration.py create mode 100644 crm_industry/migrations/11.0.1.0.0/pre-migration.py diff --git a/crm_industry/migrations/11.0.1.0.0/openupgrade_analysis.txt b/crm_industry/migrations/11.0.1.0.0/openupgrade_analysis.txt new file mode 100644 index 00000000000..59932ad901d --- /dev/null +++ b/crm_industry/migrations/11.0.1.0.0/openupgrade_analysis.txt @@ -0,0 +1,18 @@ +---Fields in module 'crm_industry'--- +crm_industry / crm.lead / industry_id (many2one) : NEW relation: res.partner.industry +crm_industry / crm.lead / secondary_industry_ids (many2many): NEW relation: res.partner.industry +crm_sector / crm.lead / secondary_sector_ids (many2many): DEL relation: res.partner.sector +crm_sector / crm.lead / sector_id (many2one) : DEL relation: res.partner.sector +---XML records in module 'crm_industry'--- +NEW ir.ui.view: crm_industry.crm_case_form_view_leads +NEW ir.ui.view: crm_industry.crm_case_form_view_oppor +NEW ir.ui.view: crm_industry.crm_case_tree_view_leads +NEW ir.ui.view: crm_industry.crm_case_tree_view_oppor +NEW ir.ui.view: crm_industry.view_crm_case_leads_filter +NEW ir.ui.view: crm_industry.view_crm_case_opportunities_filter +DEL ir.ui.view: crm_sector.crm_case_form_view_leads +DEL ir.ui.view: crm_sector.crm_case_form_view_oppor +DEL ir.ui.view: crm_sector.crm_case_tree_view_leads +DEL ir.ui.view: crm_sector.crm_case_tree_view_oppor +DEL ir.ui.view: crm_sector.view_crm_case_leads_filter +DEL ir.ui.view: crm_sector.view_crm_case_opportunities_filter diff --git a/crm_industry/migrations/11.0.1.0.0/openupgrade_analysis_work.txt b/crm_industry/migrations/11.0.1.0.0/openupgrade_analysis_work.txt new file mode 100644 index 00000000000..4c90d2a815b --- /dev/null +++ b/crm_industry/migrations/11.0.1.0.0/openupgrade_analysis_work.txt @@ -0,0 +1,23 @@ +---Fields in module 'crm_industry'--- +crm_sector / crm.lead / sector_id (many2one) : DEL relation: res.partner.sector +crm_industry / crm.lead / industry_id (many2one) : NEW relation: res.partner.industry +# DONE: Renamed in pre-migration + +crm_sector / crm.lead / secondary_sector_ids (many2many): DEL relation: res.partner.sector +crm_industry / crm.lead / secondary_industry_ids (many2many): NEW relation: res.partner.industry +# DONE: Renamed in pre-migration + +---XML records in module 'crm_industry'--- +NEW ir.ui.view: crm_industry.crm_case_form_view_leads +NEW ir.ui.view: crm_industry.crm_case_form_view_oppor +NEW ir.ui.view: crm_industry.crm_case_tree_view_leads +NEW ir.ui.view: crm_industry.crm_case_tree_view_oppor +NEW ir.ui.view: crm_industry.view_crm_case_leads_filter +NEW ir.ui.view: crm_industry.view_crm_case_opportunities_filter +DEL ir.ui.view: crm_sector.crm_case_form_view_leads +DEL ir.ui.view: crm_sector.crm_case_form_view_oppor +DEL ir.ui.view: crm_sector.crm_case_tree_view_leads +DEL ir.ui.view: crm_sector.crm_case_tree_view_oppor +DEL ir.ui.view: crm_sector.view_crm_case_leads_filter +DEL ir.ui.view: crm_sector.view_crm_case_opportunities_filter +# NOTHING TO DO \ No newline at end of file diff --git a/crm_industry/migrations/11.0.1.0.0/post-migration.py b/crm_industry/migrations/11.0.1.0.0/post-migration.py new file mode 100644 index 00000000000..285549e65d2 --- /dev/null +++ b/crm_industry/migrations/11.0.1.0.0/post-migration.py @@ -0,0 +1,39 @@ +# Copyright 2018 Eficent Business and IT Consulting Services, S.L. +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from openupgradelib import openupgrade +from psycopg2.extensions import AsIs + + +def fill_crm_lead_industry_id(cr): + cr.execute( + """ + UPDATE crm_lead cl + SET industry_id = rpi.id + FROM res_partner_industry rpi + WHERE cl.%s IS NOT NULL AND cl.%s = rpi.%s + """, ( + AsIs(openupgrade.get_legacy_name('sector_id')), + AsIs(openupgrade.get_legacy_name('sector_id')), + AsIs(openupgrade.get_legacy_name('old_sector_id')), + ), + ) + + +def fill_crm_lead_industry_secondary(cr): + cr.execute( + """ + INSERT INTO crm_lead_res_partner_industry_rel (crm_lead_id, + res_partner_industry_id) + SELECT rel.crm_lead_id, rpi.id + FROM crm_lead_res_partner_sector_rel rel + LEFT JOIN res_partner_industry rpi + ON rel.res_partner_sector_id = rpi.%s + """, (AsIs(openupgrade.get_legacy_name('old_sector_id')),), + ) + + +@openupgrade.migrate(use_env=True) +def migrate(env, version): + cr = env.cr + fill_crm_lead_industry_id(cr) + fill_crm_lead_industry_secondary(cr) diff --git a/crm_industry/migrations/11.0.1.0.0/pre-migration.py b/crm_industry/migrations/11.0.1.0.0/pre-migration.py new file mode 100644 index 00000000000..5dcd8804c27 --- /dev/null +++ b/crm_industry/migrations/11.0.1.0.0/pre-migration.py @@ -0,0 +1,12 @@ +# Copyright 2018 Eficent Business and IT Consulting Services, S.L. +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). +from openupgradelib import openupgrade + +_column_renames = { + 'crm_lead': [('sector_id', None)], +} + + +@openupgrade.migrate(use_env=False) +def migrate(cr, version): + openupgrade.rename_columns(cr, _column_renames) From d38565d0bb07180d37d7d1181ef32a29602b8dcc Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Wed, 24 Oct 2018 18:54:40 +0000 Subject: [PATCH 03/47] README.rst --- crm_industry/README.rst | 66 ++-- crm_industry/static/description/index.html | 423 +++++++++++++++++++++ 2 files changed, 465 insertions(+), 24 deletions(-) create mode 100644 crm_industry/static/description/index.html diff --git a/crm_industry/README.rst b/crm_industry/README.rst index 0443de78c3c..ad831624a02 100644 --- a/crm_industry/README.rst +++ b/crm_industry/README.rst @@ -1,39 +1,57 @@ -.. image:: https://img.shields.io/badge/license-AGPL--3-blue.png - :target: https://www.gnu.org/licenses/agpl - :alt: License: AGPL-3 - ============ CRM Industry ============ +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! 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%2Fcrm-lightgray.png?logo=github + :target: https://github.com/OCA/crm/tree/11.0/crm_industry + :alt: OCA/crm +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/crm-11-0/crm-11-0-crm_industry + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/111/11.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + This module adds industries for leads and opportunities. -Usage -===== +**Table of contents** -.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas - :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/111/11.0 +.. contents:: + :local: Bug Tracker =========== -Bugs are tracked on `GitHub Issues -`_. In case of trouble, please -check there if your issue has already been reported. If you spotted it first, -help us smash it by providing detailed and welcomed feedback. +Bugs are tracked on `GitHub 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 `_. + +Do not contact contributors directly about support or help with technical issues. Credits ======= -Images ------- - -* Odoo Community Association: `Icon `_. +Authors +~~~~~~~ +* Tecnativa Contributors ------------- +~~~~~~~~~~~~ * Rafael Blasco * Antonio Espinosa @@ -41,19 +59,19 @@ Contributors * Luis M. Ontalba * Miquel Raïch -Do not contact contributors directly about support or help with technical issues. +Maintainers +~~~~~~~~~~~ -Maintainer ----------- +This module is maintained by the OCA. .. 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. +This module is part of the `OCA/crm `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/crm_industry/static/description/index.html b/crm_industry/static/description/index.html new file mode 100644 index 00000000000..28424387356 --- /dev/null +++ b/crm_industry/static/description/index.html @@ -0,0 +1,423 @@ + + + + + + +CRM Industry + + + +
+

CRM Industry

+ + +

Beta License: AGPL-3 OCA/crm Translate me on Weblate Try me on Runbot

+

This module adds industries for leads and opportunities.

+

Table of contents

+ +
+

Bug Tracker

+

Bugs are tracked on GitHub 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.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Tecnativa
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

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/crm project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + From d158ebd47704ec7e8614f947247ce51a59510150 Mon Sep 17 00:00:00 2001 From: oca-travis Date: Wed, 24 Oct 2018 19:12:53 +0000 Subject: [PATCH 04/47] Update crm_industry.pot --- crm_industry/i18n/bg.po | 38 +++++++++++------------ crm_industry/i18n/crm_industry.pot | 44 +++++++++++++++++++++++++++ crm_industry/i18n/de.po | 49 +++++++++++++++++------------- crm_industry/i18n/es.po | 49 +++++++++++++++++------------- crm_industry/i18n/fr.po | 49 +++++++++++++++++------------- crm_industry/i18n/hr.po | 49 +++++++++++++++++------------- crm_industry/i18n/it.po | 47 ++++++++++++++++------------ crm_industry/i18n/nb.po | 36 +++++++++++----------- crm_industry/i18n/nl_NL.po | 49 +++++++++++++++++------------- crm_industry/i18n/pt_BR.po | 38 +++++++++++------------ crm_industry/i18n/sk.po | 38 +++++++++++------------ crm_industry/i18n/sl.po | 49 +++++++++++++++++------------- crm_industry/i18n/sv.po | 36 +++++++++++----------- crm_industry/i18n/tr.po | 47 ++++++++++++++++------------ crm_industry/i18n/tr_TR.po | 36 +++++++++++----------- crm_industry/i18n/zh_CN.po | 38 +++++++++++------------ 16 files changed, 396 insertions(+), 296 deletions(-) create mode 100644 crm_industry/i18n/crm_industry.pot diff --git a/crm_industry/i18n/bg.po b/crm_industry/i18n/bg.po index 31e4a860bc9..9cdf19ffe8d 100644 --- a/crm_industry/i18n/bg.po +++ b/crm_industry/i18n/bg.po @@ -18,31 +18,31 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#. module: crm_sector -#: model:ir.model,name:crm_sector.model_crm_lead +#. module: crm_industry +#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads +#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor +#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter +#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter +msgid "Industry" +msgstr "" + +#. module: crm_industry +#: model:ir.model,name:crm_industry.model_crm_lead msgid "Lead/Opportunity" msgstr "Следа/Възможност" -#. module: crm_sector -#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_sector_id -msgid "Main Sector" -msgstr "" - -#. module: crm_sector -#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_secondary_sector_ids -msgid "Secondary Sectors" +#. module: crm_industry +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_industry_id +msgid "Main Industry" msgstr "" -#. module: crm_sector -#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_leads -#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_oppor -#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_leads_filter -#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_opportunities_filter -msgid "Sector" +#. module: crm_industry +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_secondary_industry_ids +msgid "Secondary Industries" msgstr "" -#. module: crm_sector -#: code:addons/crm_sector/models/crm_lead.py:22 +#. module: crm_industry +#: code:addons/crm_industry/models/crm_lead.py:21 #, python-format -msgid "The secondary sectors must be different from the main sector." +msgid "The secondary industries must be different from the main industry." msgstr "" diff --git a/crm_industry/i18n/crm_industry.pot b/crm_industry/i18n/crm_industry.pot new file mode 100644 index 00000000000..f5402c8d524 --- /dev/null +++ b/crm_industry/i18n/crm_industry.pot @@ -0,0 +1,44 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * crm_industry +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: crm_industry +#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads +#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor +#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter +#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter +msgid "Industry" +msgstr "" + +#. module: crm_industry +#: model:ir.model,name:crm_industry.model_crm_lead +msgid "Lead/Opportunity" +msgstr "" + +#. module: crm_industry +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_industry_id +msgid "Main Industry" +msgstr "" + +#. module: crm_industry +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_secondary_industry_ids +msgid "Secondary Industries" +msgstr "" + +#. module: crm_industry +#: code:addons/crm_industry/models/crm_lead.py:21 +#, python-format +msgid "The secondary industries must be different from the main industry." +msgstr "" + diff --git a/crm_industry/i18n/de.po b/crm_industry/i18n/de.po index c40f2574461..3acb9d8e334 100644 --- a/crm_industry/i18n/de.po +++ b/crm_industry/i18n/de.po @@ -18,31 +18,38 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#. module: crm_sector -#: model:ir.model,name:crm_sector.model_crm_lead +#. module: crm_industry +#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads +#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor +#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter +#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter +msgid "Industry" +msgstr "" + +#. module: crm_industry +#: model:ir.model,name:crm_industry.model_crm_lead msgid "Lead/Opportunity" msgstr "Lead/Chance" -#. module: crm_sector -#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_sector_id -msgid "Main Sector" -msgstr "Hauptsektor" +#. module: crm_industry +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_industry_id +msgid "Main Industry" +msgstr "" -#. module: crm_sector -#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_secondary_sector_ids -msgid "Secondary Sectors" +#. module: crm_industry +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_secondary_industry_ids +#, fuzzy +msgid "Secondary Industries" msgstr "Nachrangige Sektoren" -#. module: crm_sector -#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_leads -#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_oppor -#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_leads_filter -#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_opportunities_filter -msgid "Sector" -msgstr "Sektor" - -#. module: crm_sector -#: code:addons/crm_sector/models/crm_lead.py:22 -#, python-format -msgid "The secondary sectors must be different from the main sector." +#. module: crm_industry +#: code:addons/crm_industry/models/crm_lead.py:21 +#, fuzzy, python-format +msgid "The secondary industries must be different from the main industry." msgstr "Der Hauptsektor muss sich von den Sekundären unterscheiden." + +#~ msgid "Main Sector" +#~ msgstr "Hauptsektor" + +#~ msgid "Sector" +#~ msgstr "Sektor" diff --git a/crm_industry/i18n/es.po b/crm_industry/i18n/es.po index a1d98247ec9..7077546a96d 100644 --- a/crm_industry/i18n/es.po +++ b/crm_industry/i18n/es.po @@ -18,31 +18,38 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#. module: crm_sector -#: model:ir.model,name:crm_sector.model_crm_lead +#. module: crm_industry +#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads +#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor +#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter +#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter +msgid "Industry" +msgstr "" + +#. module: crm_industry +#: model:ir.model,name:crm_industry.model_crm_lead msgid "Lead/Opportunity" msgstr "Iniciativa/Oportunidad" -#. module: crm_sector -#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_sector_id -msgid "Main Sector" -msgstr "Sector principal" +#. module: crm_industry +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_industry_id +msgid "Main Industry" +msgstr "" -#. module: crm_sector -#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_secondary_sector_ids -msgid "Secondary Sectors" +#. module: crm_industry +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_secondary_industry_ids +#, fuzzy +msgid "Secondary Industries" msgstr "Sectores secundarios" -#. module: crm_sector -#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_leads -#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_oppor -#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_leads_filter -#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_opportunities_filter -msgid "Sector" -msgstr "Sector" - -#. module: crm_sector -#: code:addons/crm_sector/models/crm_lead.py:22 -#, python-format -msgid "The secondary sectors must be different from the main sector." +#. module: crm_industry +#: code:addons/crm_industry/models/crm_lead.py:21 +#, fuzzy, python-format +msgid "The secondary industries must be different from the main industry." msgstr "Los sectores secundarios deben ser diferentes del sector principal." + +#~ msgid "Main Sector" +#~ msgstr "Sector principal" + +#~ msgid "Sector" +#~ msgstr "Sector" diff --git a/crm_industry/i18n/fr.po b/crm_industry/i18n/fr.po index ecab3eb814d..3cc2fd1d0cd 100644 --- a/crm_industry/i18n/fr.po +++ b/crm_industry/i18n/fr.po @@ -19,31 +19,38 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" -#. module: crm_sector -#: model:ir.model,name:crm_sector.model_crm_lead +#. module: crm_industry +#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads +#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor +#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter +#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter +msgid "Industry" +msgstr "" + +#. module: crm_industry +#: model:ir.model,name:crm_industry.model_crm_lead msgid "Lead/Opportunity" msgstr "Piste/Opportunité" -#. module: crm_sector -#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_sector_id -msgid "Main Sector" -msgstr "Secteur d'activité principal" +#. module: crm_industry +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_industry_id +msgid "Main Industry" +msgstr "" -#. module: crm_sector -#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_secondary_sector_ids -msgid "Secondary Sectors" +#. module: crm_industry +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_secondary_industry_ids +#, fuzzy +msgid "Secondary Industries" msgstr "Secteurs d'activité secondaires" -#. module: crm_sector -#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_leads -#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_oppor -#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_leads_filter -#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_opportunities_filter -msgid "Sector" -msgstr "Secteur d'activité" - -#. module: crm_sector -#: code:addons/crm_sector/models/crm_lead.py:22 -#, python-format -msgid "The secondary sectors must be different from the main sector." +#. module: crm_industry +#: code:addons/crm_industry/models/crm_lead.py:21 +#, fuzzy, python-format +msgid "The secondary industries must be different from the main industry." msgstr "Les secteurs secondaires doivent être différent du secteur propre" + +#~ msgid "Main Sector" +#~ msgstr "Secteur d'activité principal" + +#~ msgid "Sector" +#~ msgstr "Secteur d'activité" diff --git a/crm_industry/i18n/hr.po b/crm_industry/i18n/hr.po index bba8f9b69eb..0505bfefd3c 100644 --- a/crm_industry/i18n/hr.po +++ b/crm_industry/i18n/hr.po @@ -19,31 +19,38 @@ msgstr "" "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: crm_sector -#: model:ir.model,name:crm_sector.model_crm_lead +#. module: crm_industry +#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads +#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor +#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter +#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter +msgid "Industry" +msgstr "" + +#. module: crm_industry +#: model:ir.model,name:crm_industry.model_crm_lead msgid "Lead/Opportunity" msgstr "Potencijalni klijent" -#. module: crm_sector -#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_sector_id -msgid "Main Sector" -msgstr "Glavni sektor" +#. module: crm_industry +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_industry_id +msgid "Main Industry" +msgstr "" -#. module: crm_sector -#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_secondary_sector_ids -msgid "Secondary Sectors" +#. module: crm_industry +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_secondary_industry_ids +#, fuzzy +msgid "Secondary Industries" msgstr "Sekundarni sektor" -#. module: crm_sector -#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_leads -#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_oppor -#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_leads_filter -#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_opportunities_filter -msgid "Sector" -msgstr "Sektor" - -#. module: crm_sector -#: code:addons/crm_sector/models/crm_lead.py:22 -#, python-format -msgid "The secondary sectors must be different from the main sector." +#. module: crm_industry +#: code:addons/crm_industry/models/crm_lead.py:21 +#, fuzzy, python-format +msgid "The secondary industries must be different from the main industry." msgstr "Sekundarni sektor mora biti različiti od primarnog sektora." + +#~ msgid "Main Sector" +#~ msgstr "Glavni sektor" + +#~ msgid "Sector" +#~ msgstr "Sektor" diff --git a/crm_industry/i18n/it.po b/crm_industry/i18n/it.po index 140c39aeeb6..0afe182d371 100644 --- a/crm_industry/i18n/it.po +++ b/crm_industry/i18n/it.po @@ -18,31 +18,38 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#. module: crm_sector -#: model:ir.model,name:crm_sector.model_crm_lead +#. module: crm_industry +#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads +#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor +#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter +#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter +msgid "Industry" +msgstr "" + +#. module: crm_industry +#: model:ir.model,name:crm_industry.model_crm_lead msgid "Lead/Opportunity" msgstr "Lead/Opportunità" -#. module: crm_sector -#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_sector_id -msgid "Main Sector" -msgstr "Settore principale" +#. module: crm_industry +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_industry_id +msgid "Main Industry" +msgstr "" -#. module: crm_sector -#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_secondary_sector_ids -msgid "Secondary Sectors" +#. module: crm_industry +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_secondary_industry_ids +#, fuzzy +msgid "Secondary Industries" msgstr "Settori secondari" -#. module: crm_sector -#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_leads -#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_oppor -#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_leads_filter -#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_opportunities_filter -msgid "Sector" -msgstr "Settore" - -#. module: crm_sector -#: code:addons/crm_sector/models/crm_lead.py:22 +#. module: crm_industry +#: code:addons/crm_industry/models/crm_lead.py:21 #, python-format -msgid "The secondary sectors must be different from the main sector." +msgid "The secondary industries must be different from the main industry." msgstr "" + +#~ msgid "Main Sector" +#~ msgstr "Settore principale" + +#~ msgid "Sector" +#~ msgstr "Settore" diff --git a/crm_industry/i18n/nb.po b/crm_industry/i18n/nb.po index 407432f6e2a..1e12792fa56 100644 --- a/crm_industry/i18n/nb.po +++ b/crm_industry/i18n/nb.po @@ -18,33 +18,33 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#. module: crm_sector -#: model:ir.model,name:crm_sector.model_crm_lead -msgid "Lead/Opportunity" +#. module: crm_industry +#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads +#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor +#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter +#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter +msgid "Industry" msgstr "" -#. module: crm_sector -#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_sector_id -msgid "Main Sector" +#. module: crm_industry +#: model:ir.model,name:crm_industry.model_crm_lead +msgid "Lead/Opportunity" msgstr "" -#. module: crm_sector -#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_secondary_sector_ids -msgid "Secondary Sectors" +#. module: crm_industry +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_industry_id +msgid "Main Industry" msgstr "" -#. module: crm_sector -#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_leads -#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_oppor -#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_leads_filter -#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_opportunities_filter -msgid "Sector" +#. module: crm_industry +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_secondary_industry_ids +msgid "Secondary Industries" msgstr "" -#. module: crm_sector -#: code:addons/crm_sector/models/crm_lead.py:22 +#. module: crm_industry +#: code:addons/crm_industry/models/crm_lead.py:21 #, python-format -msgid "The secondary sectors must be different from the main sector." +msgid "The secondary industries must be different from the main industry." msgstr "" #~ msgid "Sales Team" diff --git a/crm_industry/i18n/nl_NL.po b/crm_industry/i18n/nl_NL.po index cfd02adcccb..7b68f9e9791 100644 --- a/crm_industry/i18n/nl_NL.po +++ b/crm_industry/i18n/nl_NL.po @@ -19,31 +19,38 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#. module: crm_sector -#: model:ir.model,name:crm_sector.model_crm_lead +#. module: crm_industry +#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads +#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor +#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter +#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter +msgid "Industry" +msgstr "" + +#. module: crm_industry +#: model:ir.model,name:crm_industry.model_crm_lead msgid "Lead/Opportunity" msgstr "" -#. module: crm_sector -#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_sector_id -msgid "Main Sector" -msgstr "Hoofd Sector" +#. module: crm_industry +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_industry_id +msgid "Main Industry" +msgstr "" -#. module: crm_sector -#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_secondary_sector_ids -msgid "Secondary Sectors" +#. module: crm_industry +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_secondary_industry_ids +#, fuzzy +msgid "Secondary Industries" msgstr "Secundaire Sectoren" -#. module: crm_sector -#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_leads -#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_oppor -#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_leads_filter -#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_opportunities_filter -msgid "Sector" -msgstr "Sector" - -#. module: crm_sector -#: code:addons/crm_sector/models/crm_lead.py:22 -#, python-format -msgid "The secondary sectors must be different from the main sector." +#. module: crm_industry +#: code:addons/crm_industry/models/crm_lead.py:21 +#, fuzzy, python-format +msgid "The secondary industries must be different from the main industry." msgstr "De secondaire sectoren moeten verschillen van hoofd sector." + +#~ msgid "Main Sector" +#~ msgstr "Hoofd Sector" + +#~ msgid "Sector" +#~ msgstr "Sector" diff --git a/crm_industry/i18n/pt_BR.po b/crm_industry/i18n/pt_BR.po index 8e658eb6426..ac8f667e299 100644 --- a/crm_industry/i18n/pt_BR.po +++ b/crm_industry/i18n/pt_BR.po @@ -19,31 +19,31 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" -#. module: crm_sector -#: model:ir.model,name:crm_sector.model_crm_lead +#. module: crm_industry +#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads +#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor +#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter +#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter +msgid "Industry" +msgstr "" + +#. module: crm_industry +#: model:ir.model,name:crm_industry.model_crm_lead msgid "Lead/Opportunity" msgstr "Prospector/Oportunidade" -#. module: crm_sector -#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_sector_id -msgid "Main Sector" -msgstr "" - -#. module: crm_sector -#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_secondary_sector_ids -msgid "Secondary Sectors" +#. module: crm_industry +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_industry_id +msgid "Main Industry" msgstr "" -#. module: crm_sector -#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_leads -#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_oppor -#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_leads_filter -#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_opportunities_filter -msgid "Sector" +#. module: crm_industry +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_secondary_industry_ids +msgid "Secondary Industries" msgstr "" -#. module: crm_sector -#: code:addons/crm_sector/models/crm_lead.py:22 +#. module: crm_industry +#: code:addons/crm_industry/models/crm_lead.py:21 #, python-format -msgid "The secondary sectors must be different from the main sector." +msgid "The secondary industries must be different from the main industry." msgstr "" diff --git a/crm_industry/i18n/sk.po b/crm_industry/i18n/sk.po index a4a1862c460..ee78db6538b 100644 --- a/crm_industry/i18n/sk.po +++ b/crm_industry/i18n/sk.po @@ -18,31 +18,31 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" -#. module: crm_sector -#: model:ir.model,name:crm_sector.model_crm_lead +#. module: crm_industry +#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads +#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor +#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter +#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter +msgid "Industry" +msgstr "" + +#. module: crm_industry +#: model:ir.model,name:crm_industry.model_crm_lead msgid "Lead/Opportunity" msgstr "Iniciatíva/Príležitosť" -#. module: crm_sector -#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_sector_id -msgid "Main Sector" -msgstr "" - -#. module: crm_sector -#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_secondary_sector_ids -msgid "Secondary Sectors" +#. module: crm_industry +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_industry_id +msgid "Main Industry" msgstr "" -#. module: crm_sector -#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_leads -#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_oppor -#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_leads_filter -#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_opportunities_filter -msgid "Sector" +#. module: crm_industry +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_secondary_industry_ids +msgid "Secondary Industries" msgstr "" -#. module: crm_sector -#: code:addons/crm_sector/models/crm_lead.py:22 +#. module: crm_industry +#: code:addons/crm_industry/models/crm_lead.py:21 #, python-format -msgid "The secondary sectors must be different from the main sector." +msgid "The secondary industries must be different from the main industry." msgstr "" diff --git a/crm_industry/i18n/sl.po b/crm_industry/i18n/sl.po index 24d7a5dbb93..3d7895e9bd5 100644 --- a/crm_industry/i18n/sl.po +++ b/crm_industry/i18n/sl.po @@ -19,31 +19,38 @@ msgstr "" "Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" "%100==4 ? 2 : 3);\n" -#. module: crm_sector -#: model:ir.model,name:crm_sector.model_crm_lead +#. module: crm_industry +#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads +#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor +#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter +#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter +msgid "Industry" +msgstr "" + +#. module: crm_industry +#: model:ir.model,name:crm_industry.model_crm_lead msgid "Lead/Opportunity" msgstr "Indic/priložnost" -#. module: crm_sector -#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_sector_id -msgid "Main Sector" -msgstr "Glavni sektor" +#. module: crm_industry +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_industry_id +msgid "Main Industry" +msgstr "" -#. module: crm_sector -#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_secondary_sector_ids -msgid "Secondary Sectors" +#. module: crm_industry +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_secondary_industry_ids +#, fuzzy +msgid "Secondary Industries" msgstr "Sekundarni sektorji" -#. module: crm_sector -#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_leads -#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_oppor -#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_leads_filter -#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_opportunities_filter -msgid "Sector" -msgstr "Sektor" - -#. module: crm_sector -#: code:addons/crm_sector/models/crm_lead.py:22 -#, python-format -msgid "The secondary sectors must be different from the main sector." +#. module: crm_industry +#: code:addons/crm_industry/models/crm_lead.py:21 +#, fuzzy, python-format +msgid "The secondary industries must be different from the main industry." msgstr "Sekundarni sektorji morajo biti različni od glavnega." + +#~ msgid "Main Sector" +#~ msgstr "Glavni sektor" + +#~ msgid "Sector" +#~ msgstr "Sektor" diff --git a/crm_industry/i18n/sv.po b/crm_industry/i18n/sv.po index 4dffd883c71..3f2f87f82c1 100644 --- a/crm_industry/i18n/sv.po +++ b/crm_industry/i18n/sv.po @@ -18,33 +18,33 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#. module: crm_sector -#: model:ir.model,name:crm_sector.model_crm_lead -msgid "Lead/Opportunity" +#. module: crm_industry +#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads +#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor +#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter +#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter +msgid "Industry" msgstr "" -#. module: crm_sector -#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_sector_id -msgid "Main Sector" +#. module: crm_industry +#: model:ir.model,name:crm_industry.model_crm_lead +msgid "Lead/Opportunity" msgstr "" -#. module: crm_sector -#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_secondary_sector_ids -msgid "Secondary Sectors" +#. module: crm_industry +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_industry_id +msgid "Main Industry" msgstr "" -#. module: crm_sector -#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_leads -#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_oppor -#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_leads_filter -#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_opportunities_filter -msgid "Sector" +#. module: crm_industry +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_secondary_industry_ids +msgid "Secondary Industries" msgstr "" -#. module: crm_sector -#: code:addons/crm_sector/models/crm_lead.py:22 +#. module: crm_industry +#: code:addons/crm_industry/models/crm_lead.py:21 #, python-format -msgid "The secondary sectors must be different from the main sector." +msgid "The secondary industries must be different from the main industry." msgstr "" #~ msgid "Sales Team" diff --git a/crm_industry/i18n/tr.po b/crm_industry/i18n/tr.po index 9cb0fde5bde..5825b0cd2f1 100644 --- a/crm_industry/i18n/tr.po +++ b/crm_industry/i18n/tr.po @@ -19,31 +19,38 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" -#. module: crm_sector -#: model:ir.model,name:crm_sector.model_crm_lead +#. module: crm_industry +#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads +#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor +#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter +#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter +msgid "Industry" +msgstr "" + +#. module: crm_industry +#: model:ir.model,name:crm_industry.model_crm_lead msgid "Lead/Opportunity" msgstr "Aday/Fırsat" -#. module: crm_sector -#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_sector_id -msgid "Main Sector" -msgstr "Ana Sektör" +#. module: crm_industry +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_industry_id +msgid "Main Industry" +msgstr "" -#. module: crm_sector -#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_secondary_sector_ids -msgid "Secondary Sectors" +#. module: crm_industry +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_secondary_industry_ids +#, fuzzy +msgid "Secondary Industries" msgstr "İkincil Sektörler" -#. module: crm_sector -#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_leads -#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_oppor -#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_leads_filter -#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_opportunities_filter -msgid "Sector" -msgstr "Sektör" - -#. module: crm_sector -#: code:addons/crm_sector/models/crm_lead.py:22 +#. module: crm_industry +#: code:addons/crm_industry/models/crm_lead.py:21 #, python-format -msgid "The secondary sectors must be different from the main sector." +msgid "The secondary industries must be different from the main industry." msgstr "" + +#~ msgid "Main Sector" +#~ msgstr "Ana Sektör" + +#~ msgid "Sector" +#~ msgstr "Sektör" diff --git a/crm_industry/i18n/tr_TR.po b/crm_industry/i18n/tr_TR.po index f3fefcf780f..a56183aa431 100644 --- a/crm_industry/i18n/tr_TR.po +++ b/crm_industry/i18n/tr_TR.po @@ -18,33 +18,33 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=1; plural=0;\n" -#. module: crm_sector -#: model:ir.model,name:crm_sector.model_crm_lead -msgid "Lead/Opportunity" +#. module: crm_industry +#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads +#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor +#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter +#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter +msgid "Industry" msgstr "" -#. module: crm_sector -#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_sector_id -msgid "Main Sector" +#. module: crm_industry +#: model:ir.model,name:crm_industry.model_crm_lead +msgid "Lead/Opportunity" msgstr "" -#. module: crm_sector -#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_secondary_sector_ids -msgid "Secondary Sectors" +#. module: crm_industry +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_industry_id +msgid "Main Industry" msgstr "" -#. module: crm_sector -#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_leads -#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_oppor -#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_leads_filter -#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_opportunities_filter -msgid "Sector" +#. module: crm_industry +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_secondary_industry_ids +msgid "Secondary Industries" msgstr "" -#. module: crm_sector -#: code:addons/crm_sector/models/crm_lead.py:22 +#. module: crm_industry +#: code:addons/crm_industry/models/crm_lead.py:21 #, python-format -msgid "The secondary sectors must be different from the main sector." +msgid "The secondary industries must be different from the main industry." msgstr "" #~ msgid "Sales Team" diff --git a/crm_industry/i18n/zh_CN.po b/crm_industry/i18n/zh_CN.po index 16e8565ec66..2c485c96307 100644 --- a/crm_industry/i18n/zh_CN.po +++ b/crm_industry/i18n/zh_CN.po @@ -18,31 +18,31 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=1; plural=0;\n" -#. module: crm_sector -#: model:ir.model,name:crm_sector.model_crm_lead +#. module: crm_industry +#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads +#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor +#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter +#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter +msgid "Industry" +msgstr "" + +#. module: crm_industry +#: model:ir.model,name:crm_industry.model_crm_lead msgid "Lead/Opportunity" msgstr "线索/商机" -#. module: crm_sector -#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_sector_id -msgid "Main Sector" -msgstr "" - -#. module: crm_sector -#: model:ir.model.fields,field_description:crm_sector.field_crm_lead_secondary_sector_ids -msgid "Secondary Sectors" +#. module: crm_industry +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_industry_id +msgid "Main Industry" msgstr "" -#. module: crm_sector -#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_leads -#: model:ir.ui.view,arch_db:crm_sector.crm_case_form_view_oppor -#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_leads_filter -#: model:ir.ui.view,arch_db:crm_sector.view_crm_case_opportunities_filter -msgid "Sector" +#. module: crm_industry +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_secondary_industry_ids +msgid "Secondary Industries" msgstr "" -#. module: crm_sector -#: code:addons/crm_sector/models/crm_lead.py:22 +#. module: crm_industry +#: code:addons/crm_industry/models/crm_lead.py:21 #, python-format -msgid "The secondary sectors must be different from the main sector." +msgid "The secondary industries must be different from the main industry." msgstr "" From dd05619cb74801f590cc33a700580f9dd27b5d9f Mon Sep 17 00:00:00 2001 From: Maria Sparenberg Date: Fri, 14 Dec 2018 16:48:47 +0000 Subject: [PATCH 05/47] Translated using Weblate (German) Currently translated at 100.0% (5 of 5 strings) Translation: crm-11.0/crm-11.0-crm_industry Translate-URL: https://translation.odoo-community.org/projects/crm-11-0/crm-11-0-crm_industry/de/ --- crm_industry/i18n/de.po | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/crm_industry/i18n/de.po b/crm_industry/i18n/de.po index 3acb9d8e334..82033c4fba3 100644 --- a/crm_industry/i18n/de.po +++ b/crm_industry/i18n/de.po @@ -9,14 +9,15 @@ msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-06-09 08:00+0000\n" -"PO-Revision-Date: 2017-06-09 08:00+0000\n" -"Last-Translator: OCA Transbot , 2017\n" +"PO-Revision-Date: 2018-12-15 16:58+0000\n" +"Last-Translator: Maria Sparenberg \n" "Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" "Language: de\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" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.3\n" #. module: crm_industry #: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads @@ -24,7 +25,7 @@ msgstr "" #: model:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter #: model:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter msgid "Industry" -msgstr "" +msgstr "Branche" #. module: crm_industry #: model:ir.model,name:crm_industry.model_crm_lead @@ -34,19 +35,18 @@ msgstr "Lead/Chance" #. module: crm_industry #: model:ir.model.fields,field_description:crm_industry.field_crm_lead_industry_id msgid "Main Industry" -msgstr "" +msgstr "Hauptbranche" #. module: crm_industry #: model:ir.model.fields,field_description:crm_industry.field_crm_lead_secondary_industry_ids -#, fuzzy msgid "Secondary Industries" -msgstr "Nachrangige Sektoren" +msgstr "Sekundäre Branchen" #. module: crm_industry #: code:addons/crm_industry/models/crm_lead.py:21 -#, fuzzy, python-format +#, python-format msgid "The secondary industries must be different from the main industry." -msgstr "Der Hauptsektor muss sich von den Sekundären unterscheiden." +msgstr "Die Hauptbranche muss sich von den Sekundären unterscheiden." #~ msgid "Main Sector" #~ msgstr "Hauptsektor" From ada6c674cdbda9e33784456e4aaa2f9fb3a9fc2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marta=20V=C3=A1zquez=20Rodr=C3=ADguez?= Date: Mon, 4 Feb 2019 08:47:18 +0000 Subject: [PATCH 06/47] Translated using Weblate (Spanish) Currently translated at 100.0% (5 of 5 strings) Translation: crm-11.0/crm-11.0-crm_industry Translate-URL: https://translation.odoo-community.org/projects/crm-11-0/crm-11-0-crm_industry/es/ --- crm_industry/i18n/es.po | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/crm_industry/i18n/es.po b/crm_industry/i18n/es.po index 7077546a96d..641463c0196 100644 --- a/crm_industry/i18n/es.po +++ b/crm_industry/i18n/es.po @@ -9,14 +9,15 @@ msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-12-04 15:47+0000\n" -"PO-Revision-Date: 2017-12-04 15:47+0000\n" -"Last-Translator: OCA Transbot , 2017\n" +"PO-Revision-Date: 2019-02-04 10:50+0000\n" +"Last-Translator: Marta Vázquez Rodríguez \n" "Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" "Language: es\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" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.4\n" #. module: crm_industry #: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads @@ -24,7 +25,7 @@ msgstr "" #: model:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter #: model:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter msgid "Industry" -msgstr "" +msgstr "Industria" #. module: crm_industry #: model:ir.model,name:crm_industry.model_crm_lead @@ -34,19 +35,19 @@ msgstr "Iniciativa/Oportunidad" #. module: crm_industry #: model:ir.model.fields,field_description:crm_industry.field_crm_lead_industry_id msgid "Main Industry" -msgstr "" +msgstr "Industria principal" #. module: crm_industry #: model:ir.model.fields,field_description:crm_industry.field_crm_lead_secondary_industry_ids -#, fuzzy msgid "Secondary Industries" -msgstr "Sectores secundarios" +msgstr "Industrias secundarias" #. module: crm_industry #: code:addons/crm_industry/models/crm_lead.py:21 -#, fuzzy, python-format +#, python-format msgid "The secondary industries must be different from the main industry." -msgstr "Los sectores secundarios deben ser diferentes del sector principal." +msgstr "" +"Las industrias secundarias deben ser distintas de la industria principal." #~ msgid "Main Sector" #~ msgstr "Sector principal" From b648b5e1d9f075b324fa7f8e03ebdab9f68a822f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandre=20D=C3=ADaz?= Date: Wed, 22 May 2019 12:22:19 +0200 Subject: [PATCH 07/47] crm_industry: Migration to 12.0 --- crm_industry/README.rst | 11 +++--- crm_industry/__manifest__.py | 4 +- .../11.0.1.0.0/openupgrade_analysis.txt | 18 --------- .../11.0.1.0.0/openupgrade_analysis_work.txt | 23 ----------- .../migrations/11.0.1.0.0/post-migration.py | 39 ------------------- .../migrations/11.0.1.0.0/pre-migration.py | 12 ------ crm_industry/readme/CONTRIBUTORS.rst | 1 + crm_industry/static/description/index.html | 7 ++-- crm_industry/views/crm_lead_view.xml | 9 +++-- 9 files changed, 19 insertions(+), 105 deletions(-) delete mode 100644 crm_industry/migrations/11.0.1.0.0/openupgrade_analysis.txt delete mode 100644 crm_industry/migrations/11.0.1.0.0/openupgrade_analysis_work.txt delete mode 100644 crm_industry/migrations/11.0.1.0.0/post-migration.py delete mode 100644 crm_industry/migrations/11.0.1.0.0/pre-migration.py diff --git a/crm_industry/README.rst b/crm_industry/README.rst index ad831624a02..65f6a565d7f 100644 --- a/crm_industry/README.rst +++ b/crm_industry/README.rst @@ -14,13 +14,13 @@ CRM Industry :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fcrm-lightgray.png?logo=github - :target: https://github.com/OCA/crm/tree/11.0/crm_industry + :target: https://github.com/OCA/crm/tree/12.0/crm_industry :alt: OCA/crm .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/crm-11-0/crm-11-0-crm_industry + :target: https://translation.odoo-community.org/projects/crm-12-0/crm-12-0-crm_industry :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/111/11.0 + :target: https://runbot.odoo-community.org/runbot/111/12.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -38,7 +38,7 @@ Bug Tracker Bugs are tracked on `GitHub 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 `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -58,6 +58,7 @@ Contributors * Javier Iniesta * Luis M. Ontalba * Miquel Raïch +* Alexandre Díaz Maintainers ~~~~~~~~~~~ @@ -72,6 +73,6 @@ 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/crm `_ project on GitHub. +This module is part of the `OCA/crm `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/crm_industry/__manifest__.py b/crm_industry/__manifest__.py index 8e0dfd7099c..3815a82f892 100644 --- a/crm_industry/__manifest__.py +++ b/crm_industry/__manifest__.py @@ -4,9 +4,9 @@ { "name": "CRM Industry", "summary": "Link leads/opportunities to industries", - "version": "11.0.1.0.0", + "version": "12.0.1.0.0", "category": "Customer Relationship Management", - "website": "https://www.tecnativa.com", + "website": "https://github.com/OCA/crm", "author": "Tecnativa, " "Odoo Community Association (OCA)", "license": "AGPL-3", diff --git a/crm_industry/migrations/11.0.1.0.0/openupgrade_analysis.txt b/crm_industry/migrations/11.0.1.0.0/openupgrade_analysis.txt deleted file mode 100644 index 59932ad901d..00000000000 --- a/crm_industry/migrations/11.0.1.0.0/openupgrade_analysis.txt +++ /dev/null @@ -1,18 +0,0 @@ ----Fields in module 'crm_industry'--- -crm_industry / crm.lead / industry_id (many2one) : NEW relation: res.partner.industry -crm_industry / crm.lead / secondary_industry_ids (many2many): NEW relation: res.partner.industry -crm_sector / crm.lead / secondary_sector_ids (many2many): DEL relation: res.partner.sector -crm_sector / crm.lead / sector_id (many2one) : DEL relation: res.partner.sector ----XML records in module 'crm_industry'--- -NEW ir.ui.view: crm_industry.crm_case_form_view_leads -NEW ir.ui.view: crm_industry.crm_case_form_view_oppor -NEW ir.ui.view: crm_industry.crm_case_tree_view_leads -NEW ir.ui.view: crm_industry.crm_case_tree_view_oppor -NEW ir.ui.view: crm_industry.view_crm_case_leads_filter -NEW ir.ui.view: crm_industry.view_crm_case_opportunities_filter -DEL ir.ui.view: crm_sector.crm_case_form_view_leads -DEL ir.ui.view: crm_sector.crm_case_form_view_oppor -DEL ir.ui.view: crm_sector.crm_case_tree_view_leads -DEL ir.ui.view: crm_sector.crm_case_tree_view_oppor -DEL ir.ui.view: crm_sector.view_crm_case_leads_filter -DEL ir.ui.view: crm_sector.view_crm_case_opportunities_filter diff --git a/crm_industry/migrations/11.0.1.0.0/openupgrade_analysis_work.txt b/crm_industry/migrations/11.0.1.0.0/openupgrade_analysis_work.txt deleted file mode 100644 index 4c90d2a815b..00000000000 --- a/crm_industry/migrations/11.0.1.0.0/openupgrade_analysis_work.txt +++ /dev/null @@ -1,23 +0,0 @@ ----Fields in module 'crm_industry'--- -crm_sector / crm.lead / sector_id (many2one) : DEL relation: res.partner.sector -crm_industry / crm.lead / industry_id (many2one) : NEW relation: res.partner.industry -# DONE: Renamed in pre-migration - -crm_sector / crm.lead / secondary_sector_ids (many2many): DEL relation: res.partner.sector -crm_industry / crm.lead / secondary_industry_ids (many2many): NEW relation: res.partner.industry -# DONE: Renamed in pre-migration - ----XML records in module 'crm_industry'--- -NEW ir.ui.view: crm_industry.crm_case_form_view_leads -NEW ir.ui.view: crm_industry.crm_case_form_view_oppor -NEW ir.ui.view: crm_industry.crm_case_tree_view_leads -NEW ir.ui.view: crm_industry.crm_case_tree_view_oppor -NEW ir.ui.view: crm_industry.view_crm_case_leads_filter -NEW ir.ui.view: crm_industry.view_crm_case_opportunities_filter -DEL ir.ui.view: crm_sector.crm_case_form_view_leads -DEL ir.ui.view: crm_sector.crm_case_form_view_oppor -DEL ir.ui.view: crm_sector.crm_case_tree_view_leads -DEL ir.ui.view: crm_sector.crm_case_tree_view_oppor -DEL ir.ui.view: crm_sector.view_crm_case_leads_filter -DEL ir.ui.view: crm_sector.view_crm_case_opportunities_filter -# NOTHING TO DO \ No newline at end of file diff --git a/crm_industry/migrations/11.0.1.0.0/post-migration.py b/crm_industry/migrations/11.0.1.0.0/post-migration.py deleted file mode 100644 index 285549e65d2..00000000000 --- a/crm_industry/migrations/11.0.1.0.0/post-migration.py +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 2018 Eficent Business and IT Consulting Services, S.L. -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -from openupgradelib import openupgrade -from psycopg2.extensions import AsIs - - -def fill_crm_lead_industry_id(cr): - cr.execute( - """ - UPDATE crm_lead cl - SET industry_id = rpi.id - FROM res_partner_industry rpi - WHERE cl.%s IS NOT NULL AND cl.%s = rpi.%s - """, ( - AsIs(openupgrade.get_legacy_name('sector_id')), - AsIs(openupgrade.get_legacy_name('sector_id')), - AsIs(openupgrade.get_legacy_name('old_sector_id')), - ), - ) - - -def fill_crm_lead_industry_secondary(cr): - cr.execute( - """ - INSERT INTO crm_lead_res_partner_industry_rel (crm_lead_id, - res_partner_industry_id) - SELECT rel.crm_lead_id, rpi.id - FROM crm_lead_res_partner_sector_rel rel - LEFT JOIN res_partner_industry rpi - ON rel.res_partner_sector_id = rpi.%s - """, (AsIs(openupgrade.get_legacy_name('old_sector_id')),), - ) - - -@openupgrade.migrate(use_env=True) -def migrate(env, version): - cr = env.cr - fill_crm_lead_industry_id(cr) - fill_crm_lead_industry_secondary(cr) diff --git a/crm_industry/migrations/11.0.1.0.0/pre-migration.py b/crm_industry/migrations/11.0.1.0.0/pre-migration.py deleted file mode 100644 index 5dcd8804c27..00000000000 --- a/crm_industry/migrations/11.0.1.0.0/pre-migration.py +++ /dev/null @@ -1,12 +0,0 @@ -# Copyright 2018 Eficent Business and IT Consulting Services, S.L. -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). -from openupgradelib import openupgrade - -_column_renames = { - 'crm_lead': [('sector_id', None)], -} - - -@openupgrade.migrate(use_env=False) -def migrate(cr, version): - openupgrade.rename_columns(cr, _column_renames) diff --git a/crm_industry/readme/CONTRIBUTORS.rst b/crm_industry/readme/CONTRIBUTORS.rst index 5ce8c575b27..ffa26ffa419 100644 --- a/crm_industry/readme/CONTRIBUTORS.rst +++ b/crm_industry/readme/CONTRIBUTORS.rst @@ -3,3 +3,4 @@ * Javier Iniesta * Luis M. Ontalba * Miquel Raïch +* Alexandre Díaz diff --git a/crm_industry/static/description/index.html b/crm_industry/static/description/index.html index 28424387356..fe637ad32c7 100644 --- a/crm_industry/static/description/index.html +++ b/crm_industry/static/description/index.html @@ -367,7 +367,7 @@

CRM Industry

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

Beta License: AGPL-3 OCA/crm Translate me on Weblate Try me on Runbot

+

Beta License: AGPL-3 OCA/crm Translate me on Weblate Try me on Runbot

This module adds industries for leads and opportunities.

Table of contents

@@ -386,7 +386,7 @@

Bug Tracker

Bugs are tracked on GitHub 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.

+feedback.

Do not contact contributors directly about support or help with technical issues.

@@ -405,6 +405,7 @@

Contributors

  • Javier Iniesta <javieria@antiun.com>
  • Luis M. Ontalba <luis.martinez@tecnativa.com>
  • Miquel Raïch <miquel.raich@eficent.com>
  • +
  • Alexandre Díaz <alexandre.diaz@tecnativa.com>
  • @@ -414,7 +415,7 @@

    Maintainers

    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/crm project on GitHub.

    +

    This module is part of the OCA/crm project on GitHub.

    You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

    diff --git a/crm_industry/views/crm_lead_view.xml b/crm_industry/views/crm_lead_view.xml index f7467dee262..1d4b526a376 100644 --- a/crm_industry/views/crm_lead_view.xml +++ b/crm_industry/views/crm_lead_view.xml @@ -1,6 +1,7 @@ @@ -36,8 +37,9 @@ - - + @@ -77,7 +79,8 @@ - From 88b09a6d17781a846c4e282e7e44e38ccb4a0e72 Mon Sep 17 00:00:00 2001 From: oca-travis Date: Wed, 22 May 2019 22:17:31 +0000 Subject: [PATCH 08/47] Update crm_industry.pot --- crm_industry/i18n/crm_industry.pot | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/crm_industry/i18n/crm_industry.pot b/crm_industry/i18n/crm_industry.pot index f5402c8d524..d496caaa06b 100644 --- a/crm_industry/i18n/crm_industry.pot +++ b/crm_industry/i18n/crm_industry.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 11.0\n" +"Project-Id-Version: Odoo Server 12.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: <>\n" "Language-Team: \n" @@ -14,10 +14,10 @@ msgstr "" "Plural-Forms: \n" #. module: crm_industry -#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads -#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor -#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter -#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter +#: model_terms:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads +#: model_terms:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor +#: model_terms:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter +#: model_terms:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter msgid "Industry" msgstr "" @@ -27,12 +27,12 @@ msgid "Lead/Opportunity" msgstr "" #. module: crm_industry -#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_industry_id +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead__industry_id msgid "Main Industry" msgstr "" #. module: crm_industry -#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_secondary_industry_ids +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead__secondary_industry_ids msgid "Secondary Industries" msgstr "" From 10ece8d64fff1e7da3e80927d60a916dadfdc771 Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Sun, 16 Jun 2019 11:01:09 +0000 Subject: [PATCH 09/47] Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: crm-12.0/crm-12.0-crm_industry Translate-URL: https://translation.odoo-community.org/projects/crm-12-0/crm-12-0-crm_industry/ --- crm_industry/i18n/bg.po | 12 ++++++------ crm_industry/i18n/de.po | 12 ++++++------ crm_industry/i18n/es.po | 12 ++++++------ crm_industry/i18n/fr.po | 12 ++++++------ crm_industry/i18n/hr.po | 12 ++++++------ crm_industry/i18n/it.po | 12 ++++++------ crm_industry/i18n/nb.po | 12 ++++++------ crm_industry/i18n/nl_NL.po | 12 ++++++------ crm_industry/i18n/pt_BR.po | 12 ++++++------ crm_industry/i18n/sk.po | 12 ++++++------ crm_industry/i18n/sl.po | 12 ++++++------ crm_industry/i18n/sv.po | 12 ++++++------ crm_industry/i18n/tr.po | 12 ++++++------ crm_industry/i18n/tr_TR.po | 12 ++++++------ crm_industry/i18n/zh_CN.po | 12 ++++++------ 15 files changed, 90 insertions(+), 90 deletions(-) diff --git a/crm_industry/i18n/bg.po b/crm_industry/i18n/bg.po index 9cdf19ffe8d..39fbd945f57 100644 --- a/crm_industry/i18n/bg.po +++ b/crm_industry/i18n/bg.po @@ -19,10 +19,10 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: crm_industry -#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads -#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor -#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter -#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter +#: model_terms:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads +#: model_terms:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor +#: model_terms:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter +#: model_terms:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter msgid "Industry" msgstr "" @@ -32,12 +32,12 @@ msgid "Lead/Opportunity" msgstr "Следа/Възможност" #. module: crm_industry -#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_industry_id +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead__industry_id msgid "Main Industry" msgstr "" #. module: crm_industry -#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_secondary_industry_ids +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead__secondary_industry_ids msgid "Secondary Industries" msgstr "" diff --git a/crm_industry/i18n/de.po b/crm_industry/i18n/de.po index 82033c4fba3..51a8f8f02a6 100644 --- a/crm_industry/i18n/de.po +++ b/crm_industry/i18n/de.po @@ -20,10 +20,10 @@ msgstr "" "X-Generator: Weblate 3.3\n" #. module: crm_industry -#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads -#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor -#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter -#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter +#: model_terms:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads +#: model_terms:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor +#: model_terms:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter +#: model_terms:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter msgid "Industry" msgstr "Branche" @@ -33,12 +33,12 @@ msgid "Lead/Opportunity" msgstr "Lead/Chance" #. module: crm_industry -#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_industry_id +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead__industry_id msgid "Main Industry" msgstr "Hauptbranche" #. module: crm_industry -#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_secondary_industry_ids +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead__secondary_industry_ids msgid "Secondary Industries" msgstr "Sekundäre Branchen" diff --git a/crm_industry/i18n/es.po b/crm_industry/i18n/es.po index 641463c0196..ace95f91692 100644 --- a/crm_industry/i18n/es.po +++ b/crm_industry/i18n/es.po @@ -20,10 +20,10 @@ msgstr "" "X-Generator: Weblate 3.4\n" #. module: crm_industry -#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads -#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor -#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter -#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter +#: model_terms:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads +#: model_terms:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor +#: model_terms:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter +#: model_terms:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter msgid "Industry" msgstr "Industria" @@ -33,12 +33,12 @@ msgid "Lead/Opportunity" msgstr "Iniciativa/Oportunidad" #. module: crm_industry -#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_industry_id +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead__industry_id msgid "Main Industry" msgstr "Industria principal" #. module: crm_industry -#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_secondary_industry_ids +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead__secondary_industry_ids msgid "Secondary Industries" msgstr "Industrias secundarias" diff --git a/crm_industry/i18n/fr.po b/crm_industry/i18n/fr.po index 3cc2fd1d0cd..34b16cf8d69 100644 --- a/crm_industry/i18n/fr.po +++ b/crm_industry/i18n/fr.po @@ -20,10 +20,10 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: crm_industry -#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads -#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor -#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter -#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter +#: model_terms:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads +#: model_terms:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor +#: model_terms:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter +#: model_terms:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter msgid "Industry" msgstr "" @@ -33,12 +33,12 @@ msgid "Lead/Opportunity" msgstr "Piste/Opportunité" #. module: crm_industry -#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_industry_id +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead__industry_id msgid "Main Industry" msgstr "" #. module: crm_industry -#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_secondary_industry_ids +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead__secondary_industry_ids #, fuzzy msgid "Secondary Industries" msgstr "Secteurs d'activité secondaires" diff --git a/crm_industry/i18n/hr.po b/crm_industry/i18n/hr.po index 0505bfefd3c..3447c57b5b4 100644 --- a/crm_industry/i18n/hr.po +++ b/crm_industry/i18n/hr.po @@ -20,10 +20,10 @@ msgstr "" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" #. module: crm_industry -#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads -#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor -#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter -#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter +#: model_terms:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads +#: model_terms:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor +#: model_terms:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter +#: model_terms:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter msgid "Industry" msgstr "" @@ -33,12 +33,12 @@ msgid "Lead/Opportunity" msgstr "Potencijalni klijent" #. module: crm_industry -#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_industry_id +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead__industry_id msgid "Main Industry" msgstr "" #. module: crm_industry -#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_secondary_industry_ids +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead__secondary_industry_ids #, fuzzy msgid "Secondary Industries" msgstr "Sekundarni sektor" diff --git a/crm_industry/i18n/it.po b/crm_industry/i18n/it.po index 0afe182d371..33f9129b840 100644 --- a/crm_industry/i18n/it.po +++ b/crm_industry/i18n/it.po @@ -19,10 +19,10 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: crm_industry -#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads -#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor -#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter -#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter +#: model_terms:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads +#: model_terms:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor +#: model_terms:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter +#: model_terms:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter msgid "Industry" msgstr "" @@ -32,12 +32,12 @@ msgid "Lead/Opportunity" msgstr "Lead/Opportunità" #. module: crm_industry -#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_industry_id +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead__industry_id msgid "Main Industry" msgstr "" #. module: crm_industry -#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_secondary_industry_ids +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead__secondary_industry_ids #, fuzzy msgid "Secondary Industries" msgstr "Settori secondari" diff --git a/crm_industry/i18n/nb.po b/crm_industry/i18n/nb.po index 1e12792fa56..92bc3d3f804 100644 --- a/crm_industry/i18n/nb.po +++ b/crm_industry/i18n/nb.po @@ -19,10 +19,10 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: crm_industry -#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads -#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor -#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter -#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter +#: model_terms:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads +#: model_terms:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor +#: model_terms:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter +#: model_terms:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter msgid "Industry" msgstr "" @@ -32,12 +32,12 @@ msgid "Lead/Opportunity" msgstr "" #. module: crm_industry -#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_industry_id +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead__industry_id msgid "Main Industry" msgstr "" #. module: crm_industry -#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_secondary_industry_ids +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead__secondary_industry_ids msgid "Secondary Industries" msgstr "" diff --git a/crm_industry/i18n/nl_NL.po b/crm_industry/i18n/nl_NL.po index 7b68f9e9791..8c2bd502b5d 100644 --- a/crm_industry/i18n/nl_NL.po +++ b/crm_industry/i18n/nl_NL.po @@ -20,10 +20,10 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: crm_industry -#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads -#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor -#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter -#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter +#: model_terms:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads +#: model_terms:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor +#: model_terms:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter +#: model_terms:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter msgid "Industry" msgstr "" @@ -33,12 +33,12 @@ msgid "Lead/Opportunity" msgstr "" #. module: crm_industry -#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_industry_id +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead__industry_id msgid "Main Industry" msgstr "" #. module: crm_industry -#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_secondary_industry_ids +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead__secondary_industry_ids #, fuzzy msgid "Secondary Industries" msgstr "Secundaire Sectoren" diff --git a/crm_industry/i18n/pt_BR.po b/crm_industry/i18n/pt_BR.po index ac8f667e299..076eecc4820 100644 --- a/crm_industry/i18n/pt_BR.po +++ b/crm_industry/i18n/pt_BR.po @@ -20,10 +20,10 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: crm_industry -#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads -#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor -#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter -#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter +#: model_terms:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads +#: model_terms:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor +#: model_terms:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter +#: model_terms:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter msgid "Industry" msgstr "" @@ -33,12 +33,12 @@ msgid "Lead/Opportunity" msgstr "Prospector/Oportunidade" #. module: crm_industry -#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_industry_id +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead__industry_id msgid "Main Industry" msgstr "" #. module: crm_industry -#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_secondary_industry_ids +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead__secondary_industry_ids msgid "Secondary Industries" msgstr "" diff --git a/crm_industry/i18n/sk.po b/crm_industry/i18n/sk.po index ee78db6538b..7eecd9264fd 100644 --- a/crm_industry/i18n/sk.po +++ b/crm_industry/i18n/sk.po @@ -19,10 +19,10 @@ msgstr "" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" #. module: crm_industry -#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads -#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor -#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter -#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter +#: model_terms:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads +#: model_terms:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor +#: model_terms:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter +#: model_terms:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter msgid "Industry" msgstr "" @@ -32,12 +32,12 @@ msgid "Lead/Opportunity" msgstr "Iniciatíva/Príležitosť" #. module: crm_industry -#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_industry_id +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead__industry_id msgid "Main Industry" msgstr "" #. module: crm_industry -#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_secondary_industry_ids +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead__secondary_industry_ids msgid "Secondary Industries" msgstr "" diff --git a/crm_industry/i18n/sl.po b/crm_industry/i18n/sl.po index 3d7895e9bd5..83305f2fe77 100644 --- a/crm_industry/i18n/sl.po +++ b/crm_industry/i18n/sl.po @@ -20,10 +20,10 @@ msgstr "" "%100==4 ? 2 : 3);\n" #. module: crm_industry -#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads -#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor -#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter -#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter +#: model_terms:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads +#: model_terms:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor +#: model_terms:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter +#: model_terms:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter msgid "Industry" msgstr "" @@ -33,12 +33,12 @@ msgid "Lead/Opportunity" msgstr "Indic/priložnost" #. module: crm_industry -#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_industry_id +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead__industry_id msgid "Main Industry" msgstr "" #. module: crm_industry -#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_secondary_industry_ids +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead__secondary_industry_ids #, fuzzy msgid "Secondary Industries" msgstr "Sekundarni sektorji" diff --git a/crm_industry/i18n/sv.po b/crm_industry/i18n/sv.po index 3f2f87f82c1..75cd118c61d 100644 --- a/crm_industry/i18n/sv.po +++ b/crm_industry/i18n/sv.po @@ -19,10 +19,10 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: crm_industry -#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads -#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor -#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter -#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter +#: model_terms:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads +#: model_terms:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor +#: model_terms:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter +#: model_terms:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter msgid "Industry" msgstr "" @@ -32,12 +32,12 @@ msgid "Lead/Opportunity" msgstr "" #. module: crm_industry -#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_industry_id +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead__industry_id msgid "Main Industry" msgstr "" #. module: crm_industry -#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_secondary_industry_ids +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead__secondary_industry_ids msgid "Secondary Industries" msgstr "" diff --git a/crm_industry/i18n/tr.po b/crm_industry/i18n/tr.po index 5825b0cd2f1..8be3bf528cd 100644 --- a/crm_industry/i18n/tr.po +++ b/crm_industry/i18n/tr.po @@ -20,10 +20,10 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: crm_industry -#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads -#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor -#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter -#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter +#: model_terms:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads +#: model_terms:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor +#: model_terms:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter +#: model_terms:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter msgid "Industry" msgstr "" @@ -33,12 +33,12 @@ msgid "Lead/Opportunity" msgstr "Aday/Fırsat" #. module: crm_industry -#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_industry_id +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead__industry_id msgid "Main Industry" msgstr "" #. module: crm_industry -#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_secondary_industry_ids +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead__secondary_industry_ids #, fuzzy msgid "Secondary Industries" msgstr "İkincil Sektörler" diff --git a/crm_industry/i18n/tr_TR.po b/crm_industry/i18n/tr_TR.po index a56183aa431..bc187484ed1 100644 --- a/crm_industry/i18n/tr_TR.po +++ b/crm_industry/i18n/tr_TR.po @@ -19,10 +19,10 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: crm_industry -#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads -#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor -#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter -#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter +#: model_terms:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads +#: model_terms:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor +#: model_terms:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter +#: model_terms:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter msgid "Industry" msgstr "" @@ -32,12 +32,12 @@ msgid "Lead/Opportunity" msgstr "" #. module: crm_industry -#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_industry_id +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead__industry_id msgid "Main Industry" msgstr "" #. module: crm_industry -#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_secondary_industry_ids +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead__secondary_industry_ids msgid "Secondary Industries" msgstr "" diff --git a/crm_industry/i18n/zh_CN.po b/crm_industry/i18n/zh_CN.po index 2c485c96307..652f2eae634 100644 --- a/crm_industry/i18n/zh_CN.po +++ b/crm_industry/i18n/zh_CN.po @@ -19,10 +19,10 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: crm_industry -#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads -#: model:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor -#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter -#: model:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter +#: model_terms:ir.ui.view,arch_db:crm_industry.crm_case_form_view_leads +#: model_terms:ir.ui.view,arch_db:crm_industry.crm_case_form_view_oppor +#: model_terms:ir.ui.view,arch_db:crm_industry.view_crm_case_leads_filter +#: model_terms:ir.ui.view,arch_db:crm_industry.view_crm_case_opportunities_filter msgid "Industry" msgstr "" @@ -32,12 +32,12 @@ msgid "Lead/Opportunity" msgstr "线索/商机" #. module: crm_industry -#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_industry_id +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead__industry_id msgid "Main Industry" msgstr "" #. module: crm_industry -#: model:ir.model.fields,field_description:crm_industry.field_crm_lead_secondary_industry_ids +#: model:ir.model.fields,field_description:crm_industry.field_crm_lead__secondary_industry_ids msgid "Secondary Industries" msgstr "" From c74678d8dfc8656cc7ae4718e34e1a569f8b7bb8 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Mon, 29 Jul 2019 02:49:12 +0000 Subject: [PATCH 10/47] README.rst --- crm_industry/static/description/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crm_industry/static/description/index.html b/crm_industry/static/description/index.html index fe637ad32c7..b037d1d7d1e 100644 --- a/crm_industry/static/description/index.html +++ b/crm_industry/static/description/index.html @@ -3,7 +3,7 @@ - + CRM Industry