diff --git a/base_partner_sequence/README.rst b/base_partner_sequence/README.rst new file mode 100644 index 000000000..acdb03db3 --- /dev/null +++ b/base_partner_sequence/README.rst @@ -0,0 +1,84 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +===================== +Base Partner Sequence +===================== + +This module adds the possibility to define a sequence for +the partner's reference. This reference is then set as default +when you create a new partner, using the defined sequence. + +The reference field is treated as a commercial field, i.e. it +is managed from the commercial partner and then propagated to +the partner's contacts. The field is visible on the contacts, +but it can only be modified from the commercial partner. + +No references are assigned for contacts such as shipping and +invoice addresses. + +Installation +============ + +There are no special instructions regarding installation. + +Configuration +============= + +No configuration is needed. + +Usage +===== + +To use this module, you need to: + +.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas + :alt: Try me on Runbot + :target: https://runbot.odoo-community.org/runbot/134/10.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 smashing it by providing a detailed and welcomed feedback. + +Credits +======= + +Images +------ + +* Odoo Community Association: `Icon `_. + +Contributors +------------ + +* Thomas Rehn +* Stefan Rijnhart +* Yannick Vaucher +* Sandy Carter +* Laurent Mignon (ACSONE) +* Guewen Baconnier +* Alexandre Fayolle +* Vicent Cubells +* Akim Juillerat + + +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/base_partner_sequence/__init__.py b/base_partner_sequence/__init__.py new file mode 100644 index 000000000..0b9e04a87 --- /dev/null +++ b/base_partner_sequence/__init__.py @@ -0,0 +1,8 @@ +# Copyright 2004-2009 Tiny SPRL (). +# Copyright 2013 initOS GmbH & Co. KG (). +# Copyright 2016 Tecnativa - Vicent Cubells +# Copyright 2016 Camptocamp - Akim Juillerat (). +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from . import models +from . import tests diff --git a/base_partner_sequence/__manifest__.py b/base_partner_sequence/__manifest__.py new file mode 100644 index 000000000..867b9b6ed --- /dev/null +++ b/base_partner_sequence/__manifest__.py @@ -0,0 +1,26 @@ +# Copyright 2004-2009 Tiny SPRL (). +# Copyright 2013 initOS GmbH & Co. KG (). +# Copyright 2016 Tecnativa - Vicent Cubells +# Copyright 2016 Camptocamp - Akim Juillerat (). +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +{ + "author": "Tiny/initOS GmbH & Co. KG," + "ACSONE SA/NV," + "Tecnativa, " + "Odoo Community Association (OCA), " + "Camptocamp, ", + "name": "Add a sequence on customers' code", + "version": "11.0.1.0.0", + "category": "Generic Modules/Base", + "website": "http://www.initos.com", + "depends": [ + 'base', + ], + "summary": "Sets customer's code from a sequence", + "data": [ + 'data/partner_sequence.xml', + 'views/partner_view.xml', + ], + "installable": True, + "license": "AGPL-3", +} diff --git a/base_partner_sequence/data/partner_sequence.xml b/base_partner_sequence/data/partner_sequence.xml new file mode 100644 index 000000000..77e3f7674 --- /dev/null +++ b/base_partner_sequence/data/partner_sequence.xml @@ -0,0 +1,9 @@ + + + + Partner code + res.partner + P/ + 5 + + diff --git a/base_partner_sequence/i18n/am.po b/base_partner_sequence/i18n/am.po new file mode 100644 index 000000000..7ee793570 --- /dev/null +++ b/base_partner_sequence/i18n/am.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Amharic (https://www.transifex.com/oca/teams/23907/am/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: am\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "ተባባሪ" diff --git a/base_partner_sequence/i18n/ar.po b/base_partner_sequence/i18n/ar.po new file mode 100644 index 000000000..f5f027c4e --- /dev/null +++ b/base_partner_sequence/i18n/ar.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/ar/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ar\n" +"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "الشريك" diff --git a/base_partner_sequence/i18n/bg.po b/base_partner_sequence/i18n/bg.po new file mode 100644 index 000000000..5b1a93172 --- /dev/null +++ b/base_partner_sequence/i18n/bg.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-12-31 01:39+0000\n" +"PO-Revision-Date: 2016-12-31 01:39+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Bulgarian (https://www.transifex.com/oca/teams/23907/bg/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: bg\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:69 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Партньор" diff --git a/base_partner_sequence/i18n/bs.po b/base_partner_sequence/i18n/bs.po new file mode 100644 index 000000000..64dc31c0f --- /dev/null +++ b/base_partner_sequence/i18n/bs.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Bosnian (https://www.transifex.com/oca/teams/23907/bs/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: bs\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: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Partner" diff --git a/base_partner_sequence/i18n/ca.po b/base_partner_sequence/i18n/ca.po new file mode 100644 index 000000000..de0d379a4 --- /dev/null +++ b/base_partner_sequence/i18n/ca.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ca\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Empresa" diff --git a/base_partner_sequence/i18n/cs.po b/base_partner_sequence/i18n/cs.po new file mode 100644 index 000000000..4fc1f008c --- /dev/null +++ b/base_partner_sequence/i18n/cs.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Czech (https://www.transifex.com/oca/teams/23907/cs/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: cs\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Společník" diff --git a/base_partner_sequence/i18n/da.po b/base_partner_sequence/i18n/da.po new file mode 100644 index 000000000..ada1b86ff --- /dev/null +++ b/base_partner_sequence/i18n/da.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-12-21 03:40+0000\n" +"PO-Revision-Date: 2016-12-21 03:40+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Danish (https://www.transifex.com/oca/teams/23907/da/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: da\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:69 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Partner" diff --git a/base_partner_sequence/i18n/de.po b/base_partner_sequence/i18n/de.po new file mode 100644 index 000000000..b2d209e70 --- /dev/null +++ b/base_partner_sequence/i18n/de.po @@ -0,0 +1,21 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 7.0-20131013-231025\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2013-11-13 13:47+0000\n" +"PO-Revision-Date: 2013-11-13 13:47+0000\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: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Partner" + diff --git a/base_partner_sequence/i18n/el_GR.po b/base_partner_sequence/i18n/el_GR.po new file mode 100644 index 000000000..a5d287893 --- /dev/null +++ b/base_partner_sequence/i18n/el_GR.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Greek (Greece) (https://www.transifex.com/oca/teams/23907/el_GR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: el_GR\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Συνεργάτης" diff --git a/base_partner_sequence/i18n/en_GB.po b/base_partner_sequence/i18n/en_GB.po new file mode 100644 index 000000000..c4b0c132a --- /dev/null +++ b/base_partner_sequence/i18n/en_GB.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: English (United Kingdom) (https://www.transifex.com/oca/teams/23907/en_GB/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: en_GB\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Partner" diff --git a/base_partner_sequence/i18n/es.po b/base_partner_sequence/i18n/es.po new file mode 100644 index 000000000..98e6fad17 --- /dev/null +++ b/base_partner_sequence/i18n/es.po @@ -0,0 +1,31 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +# Pedro M. Baeza , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-11-21 01:48+0000\n" +"PO-Revision-Date: 2017-11-21 01:48+0000\n" +"Last-Translator: Pedro M. Baeza , 2017\n" +"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:73 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "Debe proveer algún valor o un ID." + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Empresa" diff --git a/base_partner_sequence/i18n/es_CR.po b/base_partner_sequence/i18n/es_CR.po new file mode 100644 index 000000000..e1ae8c940 --- /dev/null +++ b/base_partner_sequence/i18n/es_CR.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Spanish (Costa Rica) (https://www.transifex.com/oca/teams/23907/es_CR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es_CR\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Empresa" diff --git a/base_partner_sequence/i18n/es_EC.po b/base_partner_sequence/i18n/es_EC.po new file mode 100644 index 000000000..db3c90b3a --- /dev/null +++ b/base_partner_sequence/i18n/es_EC.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Spanish (Ecuador) (https://www.transifex.com/oca/teams/23907/es_EC/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es_EC\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Empresa" diff --git a/base_partner_sequence/i18n/es_MX.po b/base_partner_sequence/i18n/es_MX.po new file mode 100644 index 000000000..2db6106d0 --- /dev/null +++ b/base_partner_sequence/i18n/es_MX.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Spanish (Mexico) (https://www.transifex.com/oca/teams/23907/es_MX/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es_MX\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Empresa" diff --git a/base_partner_sequence/i18n/es_VE.po b/base_partner_sequence/i18n/es_VE.po new file mode 100644 index 000000000..f2767cc7d --- /dev/null +++ b/base_partner_sequence/i18n/es_VE.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Spanish (Venezuela) (https://www.transifex.com/oca/teams/23907/es_VE/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es_VE\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Empresa" diff --git a/base_partner_sequence/i18n/et.po b/base_partner_sequence/i18n/et.po new file mode 100644 index 000000000..0eb77bfc6 --- /dev/null +++ b/base_partner_sequence/i18n/et.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Estonian (https://www.transifex.com/oca/teams/23907/et/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: et\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Partner" diff --git a/base_partner_sequence/i18n/eu.po b/base_partner_sequence/i18n/eu.po new file mode 100644 index 000000000..54f72902d --- /dev/null +++ b/base_partner_sequence/i18n/eu.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Basque (https://www.transifex.com/oca/teams/23907/eu/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: eu\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Kidea" diff --git a/base_partner_sequence/i18n/fi.po b/base_partner_sequence/i18n/fi.po new file mode 100644 index 000000000..b52155278 --- /dev/null +++ b/base_partner_sequence/i18n/fi.po @@ -0,0 +1,31 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: partner-contact (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-01-19 01:46+0000\n" +"PO-Revision-Date: 2015-05-21 21:57+0000\n" +"Last-Translator: <>\n" +"Language-Team: Finnish (http://www.transifex.com/oca/OCA-partner-contact-8-0/language/fi/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fi\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Kumppani" + +#. module: base_partner_sequence +#: view:res.partner:base_partner_sequence.view_partner_form +msgid "" +"{\n" +" 'readonly': [('is_company', '=', False),\n" +" ('parent_id', '!=', False)]}" +msgstr "" diff --git a/base_partner_sequence/i18n/fr.po b/base_partner_sequence/i18n/fr.po new file mode 100644 index 000000000..c7d4c7a6c --- /dev/null +++ b/base_partner_sequence/i18n/fr.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-11-21 01:48+0000\n" +"PO-Revision-Date: 2017-11-21 01:48+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fr\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:73 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Contact" diff --git a/base_partner_sequence/i18n/fr_CA.po b/base_partner_sequence/i18n/fr_CA.po new file mode 100644 index 000000000..ecde352d6 --- /dev/null +++ b/base_partner_sequence/i18n/fr_CA.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: French (Canada) (https://www.transifex.com/oca/teams/23907/fr_CA/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fr_CA\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Partenaire" diff --git a/base_partner_sequence/i18n/fr_CH.po b/base_partner_sequence/i18n/fr_CH.po new file mode 100644 index 000000000..686c41bef --- /dev/null +++ b/base_partner_sequence/i18n/fr_CH.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: French (Switzerland) (https://www.transifex.com/oca/teams/23907/fr_CH/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fr_CH\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Partenaire" diff --git a/base_partner_sequence/i18n/gl.po b/base_partner_sequence/i18n/gl.po new file mode 100644 index 000000000..a2225ccf3 --- /dev/null +++ b/base_partner_sequence/i18n/gl.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Galician (https://www.transifex.com/oca/teams/23907/gl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: gl\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Empresa" diff --git a/base_partner_sequence/i18n/hr.po b/base_partner_sequence/i18n/hr.po new file mode 100644 index 000000000..c56ed808b --- /dev/null +++ b/base_partner_sequence/i18n/hr.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-12-31 01:39+0000\n" +"PO-Revision-Date: 2016-12-31 01:39+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: hr\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: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:69 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Partner" diff --git a/base_partner_sequence/i18n/hr_HR.po b/base_partner_sequence/i18n/hr_HR.po new file mode 100644 index 000000000..c5714c7ef --- /dev/null +++ b/base_partner_sequence/i18n/hr_HR.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-31 03:41+0000\n" +"PO-Revision-Date: 2017-05-31 03:41+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/hr_HR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: hr_HR\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: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:73 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "Mora biti upisana vrijedonst u polju ili postojati ID partnera" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Partner" diff --git a/base_partner_sequence/i18n/hu.po b/base_partner_sequence/i18n/hu.po new file mode 100644 index 000000000..4e5a0f3f4 --- /dev/null +++ b/base_partner_sequence/i18n/hu.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Hungarian (https://www.transifex.com/oca/teams/23907/hu/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: hu\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Partner" diff --git a/base_partner_sequence/i18n/it.po b/base_partner_sequence/i18n/it.po new file mode 100644 index 000000000..5a6822300 --- /dev/null +++ b/base_partner_sequence/i18n/it.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-31 03:41+0000\n" +"PO-Revision-Date: 2017-05-31 03:41+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: it\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:73 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "Devono essere forniti i valori dei campi o un identificativo" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Partner" diff --git a/base_partner_sequence/i18n/ja.po b/base_partner_sequence/i18n/ja.po new file mode 100644 index 000000000..20b5e19a2 --- /dev/null +++ b/base_partner_sequence/i18n/ja.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Japanese (https://www.transifex.com/oca/teams/23907/ja/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ja\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "パートナ" diff --git a/base_partner_sequence/i18n/lt.po b/base_partner_sequence/i18n/lt.po new file mode 100644 index 000000000..a26275ab5 --- /dev/null +++ b/base_partner_sequence/i18n/lt.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Lithuanian (https://www.transifex.com/oca/teams/23907/lt/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: lt\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Partneris" diff --git a/base_partner_sequence/i18n/lv.po b/base_partner_sequence/i18n/lv.po new file mode 100644 index 000000000..c41d4e99b --- /dev/null +++ b/base_partner_sequence/i18n/lv.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Latvian (https://www.transifex.com/oca/teams/23907/lv/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: lv\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Partneris" diff --git a/base_partner_sequence/i18n/mk.po b/base_partner_sequence/i18n/mk.po new file mode 100644 index 000000000..64b50c1ab --- /dev/null +++ b/base_partner_sequence/i18n/mk.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Macedonian (https://www.transifex.com/oca/teams/23907/mk/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: mk\n" +"Plural-Forms: nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Партнер" diff --git a/base_partner_sequence/i18n/mn.po b/base_partner_sequence/i18n/mn.po new file mode 100644 index 000000000..0d76bf6e4 --- /dev/null +++ b/base_partner_sequence/i18n/mn.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Mongolian (https://www.transifex.com/oca/teams/23907/mn/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: mn\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Харилцагч" diff --git a/base_partner_sequence/i18n/nb.po b/base_partner_sequence/i18n/nb.po new file mode 100644 index 000000000..1d5f2a69e --- /dev/null +++ b/base_partner_sequence/i18n/nb.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Norwegian Bokmål (https://www.transifex.com/oca/teams/23907/nb/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: nb\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Partner" diff --git a/base_partner_sequence/i18n/nb_NO.po b/base_partner_sequence/i18n/nb_NO.po new file mode 100644 index 000000000..4e6b8aabb --- /dev/null +++ b/base_partner_sequence/i18n/nb_NO.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Norwegian Bokmål (Norway) (https://www.transifex.com/oca/teams/23907/nb_NO/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: nb_NO\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Partner" diff --git a/base_partner_sequence/i18n/nl.po b/base_partner_sequence/i18n/nl.po new file mode 100644 index 000000000..4c25db464 --- /dev/null +++ b/base_partner_sequence/i18n/nl.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-11-21 01:48+0000\n" +"PO-Revision-Date: 2017-11-21 01:48+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Dutch (https://www.transifex.com/oca/teams/23907/nl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: nl\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:73 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Relatie" diff --git a/base_partner_sequence/i18n/nl_BE.po b/base_partner_sequence/i18n/nl_BE.po new file mode 100644 index 000000000..da4f0328f --- /dev/null +++ b/base_partner_sequence/i18n/nl_BE.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Dutch (Belgium) (https://www.transifex.com/oca/teams/23907/nl_BE/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: nl_BE\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Relatie" diff --git a/base_partner_sequence/i18n/nl_NL.po b/base_partner_sequence/i18n/nl_NL.po new file mode 100644 index 000000000..975f2f7c7 --- /dev/null +++ b/base_partner_sequence/i18n/nl_NL.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# Peter Hageman , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-06-10 01:50+0000\n" +"PO-Revision-Date: 2017-06-10 01:50+0000\n" +"Last-Translator: Peter Hageman , 2017\n" +"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/teams/23907/nl_NL/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: nl_NL\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:73 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Relatie" diff --git a/base_partner_sequence/i18n/pl.po b/base_partner_sequence/i18n/pl.po new file mode 100644 index 000000000..e48b7ad51 --- /dev/null +++ b/base_partner_sequence/i18n/pl.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Polish (https://www.transifex.com/oca/teams/23907/pl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pl\n" +"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>=14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Partner" diff --git a/base_partner_sequence/i18n/pt.po b/base_partner_sequence/i18n/pt.po new file mode 100644 index 000000000..64b49ae85 --- /dev/null +++ b/base_partner_sequence/i18n/pt.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# Tiago Baptista , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-12-21 03:40+0000\n" +"PO-Revision-Date: 2016-12-21 03:40+0000\n" +"Last-Translator: Tiago Baptista , 2016\n" +"Language-Team: Portuguese (https://www.transifex.com/oca/teams/23907/pt/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pt\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:69 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Parceiro" diff --git a/base_partner_sequence/i18n/pt_BR.po b/base_partner_sequence/i18n/pt_BR.po new file mode 100644 index 000000000..207979b3f --- /dev/null +++ b/base_partner_sequence/i18n/pt_BR.po @@ -0,0 +1,32 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# danimaribeiro , 2015 +msgid "" +msgstr "" +"Project-Id-Version: partner-contact (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-08-28 15:54+0000\n" +"PO-Revision-Date: 2015-07-22 18:40+0000\n" +"Last-Translator: danimaribeiro \n" +"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-partner-contact-8-0/language/pt_BR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pt_BR\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Parceiro" + +#. module: base_partner_sequence +#: view:res.partner:base_partner_sequence.view_partner_form +msgid "" +"{\n" +" 'readonly': [('is_company', '=', False),\n" +" ('parent_id', '!=', False)]}" +msgstr "" diff --git a/base_partner_sequence/i18n/pt_PT.po b/base_partner_sequence/i18n/pt_PT.po new file mode 100644 index 000000000..da646a673 --- /dev/null +++ b/base_partner_sequence/i18n/pt_PT.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# Tiago Baptista , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-01-20 18:18+0000\n" +"PO-Revision-Date: 2017-01-20 18:18+0000\n" +"Last-Translator: Tiago Baptista , 2017\n" +"Language-Team: Portuguese (Portugal) (https://www.transifex.com/oca/teams/23907/pt_PT/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pt_PT\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:69 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Parceiro" diff --git a/base_partner_sequence/i18n/ro.po b/base_partner_sequence/i18n/ro.po new file mode 100644 index 000000000..dd635d1e2 --- /dev/null +++ b/base_partner_sequence/i18n/ro.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Romanian (https://www.transifex.com/oca/teams/23907/ro/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ro\n" +"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Partener" diff --git a/base_partner_sequence/i18n/ru.po b/base_partner_sequence/i18n/ru.po new file mode 100644 index 000000000..63957857e --- /dev/null +++ b/base_partner_sequence/i18n/ru.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Russian (https://www.transifex.com/oca/teams/23907/ru/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ru\n" +"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Контрагент" diff --git a/base_partner_sequence/i18n/sk.po b/base_partner_sequence/i18n/sk.po new file mode 100644 index 000000000..5ed13d87c --- /dev/null +++ b/base_partner_sequence/i18n/sk.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Slovak (https://www.transifex.com/oca/teams/23907/sk/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sk\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Partner" diff --git a/base_partner_sequence/i18n/sl.po b/base_partner_sequence/i18n/sl.po new file mode 100644 index 000000000..50b45f20f --- /dev/null +++ b/base_partner_sequence/i18n/sl.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-12-21 03:40+0000\n" +"PO-Revision-Date: 2016-12-21 03:40+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sl\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:69 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Partner" diff --git a/base_partner_sequence/i18n/sr@latin.po b/base_partner_sequence/i18n/sr@latin.po new file mode 100644 index 000000000..d8b8cc1c0 --- /dev/null +++ b/base_partner_sequence/i18n/sr@latin.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Serbian (Latin) (https://www.transifex.com/oca/teams/23907/sr@latin/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sr@latin\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: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Partner" diff --git a/base_partner_sequence/i18n/sv.po b/base_partner_sequence/i18n/sv.po new file mode 100644 index 000000000..be777d0da --- /dev/null +++ b/base_partner_sequence/i18n/sv.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Swedish (https://www.transifex.com/oca/teams/23907/sv/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sv\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Företag" diff --git a/base_partner_sequence/i18n/th.po b/base_partner_sequence/i18n/th.po new file mode 100644 index 000000000..45fc638e2 --- /dev/null +++ b/base_partner_sequence/i18n/th.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Thai (https://www.transifex.com/oca/teams/23907/th/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: th\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "พาร์ทเนอร์" diff --git a/base_partner_sequence/i18n/tr.po b/base_partner_sequence/i18n/tr.po new file mode 100644 index 000000000..090cf1c38 --- /dev/null +++ b/base_partner_sequence/i18n/tr.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Turkish (https://www.transifex.com/oca/teams/23907/tr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: tr\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "İş Ortağı" diff --git a/base_partner_sequence/i18n/tr_TR.po b/base_partner_sequence/i18n/tr_TR.po new file mode 100644 index 000000000..b81a2a9ba --- /dev/null +++ b/base_partner_sequence/i18n/tr_TR.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/tr_TR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: tr_TR\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Ortak" diff --git a/base_partner_sequence/i18n/vi.po b/base_partner_sequence/i18n/vi.po new file mode 100644 index 000000000..98df599ea --- /dev/null +++ b/base_partner_sequence/i18n/vi.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Vietnamese (https://www.transifex.com/oca/teams/23907/vi/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: vi\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Đối tác" diff --git a/base_partner_sequence/i18n/zh_CN.po b/base_partner_sequence/i18n/zh_CN.po new file mode 100644 index 000000000..6b4f06b5c --- /dev/null +++ b/base_partner_sequence/i18n/zh_CN.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Chinese (China) (https://www.transifex.com/oca/teams/23907/zh_CN/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: zh_CN\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "业务伙伴" diff --git a/base_partner_sequence/i18n/zh_TW.po b/base_partner_sequence/i18n/zh_TW.po new file mode 100644 index 000000000..06430b262 --- /dev/null +++ b/base_partner_sequence/i18n/zh_TW.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Chinese (Taiwan) (https://www.transifex.com/oca/teams/23907/zh_TW/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: zh_TW\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "夥伴" diff --git a/base_partner_sequence/models/__init__.py b/base_partner_sequence/models/__init__.py new file mode 100644 index 000000000..0ebe9647a --- /dev/null +++ b/base_partner_sequence/models/__init__.py @@ -0,0 +1,7 @@ +# Copyright 2004-2009 Tiny SPRL (). +# Copyright 2013 initOS GmbH & Co. KG (). +# Copyright 2016 Tecnativa - Vicent Cubells +# Copyright 2016 Camptocamp - Akim Juillerat (). +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from . import partner diff --git a/base_partner_sequence/models/partner.py b/base_partner_sequence/models/partner.py new file mode 100644 index 000000000..8a3c74b84 --- /dev/null +++ b/base_partner_sequence/models/partner.py @@ -0,0 +1,66 @@ +# Copyright 2004-2009 Tiny SPRL (). +# Copyright 2013 initOS GmbH & Co. KG (). +# Copyright 2016 Tecnativa - Vicent Cubells +# Copyright 2016 Camptocamp - Akim Juillerat (). +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from odoo import api, models, exceptions, _ + + +class ResPartner(models.Model): + """Assigns 'ref' from a sequence on creation and copying""" + + _inherit = 'res.partner' + + @api.multi + def _get_next_ref(self, vals=None): + return self.env['ir.sequence'].next_by_code('res.partner') + + @api.model + def create(self, vals): + if not vals.get('ref') and self._needsRef(vals=vals): + vals['ref'] = self._get_next_ref(vals=vals) + return super(ResPartner, self).create(vals) + + @api.multi + def copy(self, default=None): + default = default or {} + if self._needsRef(): + default['ref'] = self._get_next_ref() + return super(ResPartner, self).copy(default) + + @api.multi + def write(self, vals): + for partner in self: + if not vals.get('ref') and partner._needsRef(vals) and \ + not partner.ref: + vals['ref'] = self._get_next_ref(vals=vals) + super(ResPartner, partner).write(vals) + return True + + @api.multi + def _needsRef(self, vals=None): + """ + Checks whether a sequence value should be assigned to a partner's 'ref' + + :param vals: known field values of the partner object + :return: true iff a sequence value should be assigned to the\ + partner's 'ref' + """ + if not vals and not self: # pragma: no cover + raise exceptions.UserError(_( + 'Either field values or an id must be provided.')) + # only assign a 'ref' to commercial partners + if self: + vals = {} + vals['is_company'] = self.is_company + vals['parent_id'] = self.parent_id + return vals.get('is_company') or not vals.get('parent_id') + + @api.model + def _commercial_fields(self): + """ + Make the partner reference a field that is propagated + to the partner's contacts + """ + return super(ResPartner, self)._commercial_fields() + ['ref'] diff --git a/base_partner_sequence/static/description/icon.png b/base_partner_sequence/static/description/icon.png new file mode 100644 index 000000000..3a0328b51 Binary files /dev/null and b/base_partner_sequence/static/description/icon.png differ diff --git a/base_partner_sequence/tests/__init__.py b/base_partner_sequence/tests/__init__.py new file mode 100644 index 000000000..675c51b6e --- /dev/null +++ b/base_partner_sequence/tests/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# Copyright 2004-2009 Tiny SPRL (). +# Copyright 2013 initOS GmbH & Co. KG (). +# Copyright 2016 Tecnativa - Vicent Cubells +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from . import test_base_partner_sequence diff --git a/base_partner_sequence/tests/test_base_partner_sequence.py b/base_partner_sequence/tests/test_base_partner_sequence.py new file mode 100644 index 000000000..32c68f2b1 --- /dev/null +++ b/base_partner_sequence/tests/test_base_partner_sequence.py @@ -0,0 +1,35 @@ +# -*- coding: utf-8 -*- +# Copyright 2015 ACSONE SA/NV (). +# Copyright 2016 Tecnativa - Vicent Cubells +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +import openerp.tests.common as common + + +class TestBasePartnerSequence(common.TransactionCase): + + def setUp(self): + super(TestBasePartnerSequence, self).setUp() + + self.res_partner = self.env['res.partner'] + self.partner = self.res_partner.create({ + 'name': "test1", + 'email': "test@test.com"}) + + def test_ref_sequence_on_partner(self): + # Test sequence on creating partner and copying it + self.assertTrue(self.partner.ref, "A partner has always a ref.") + + copy = self.partner.copy() + self.assertTrue(copy.ref, "A partner with ref created by copy " + "has a ref by default.") + + def test_ref_sequence_on_contact(self): + # Test if sequence doesn't increase on creating a contact child + contact = self.res_partner.create({ + 'name': "contact1", + 'email': "contact@contact.com", + 'parent_id': self.partner.id}) + self.assertEqual( + self.partner.ref, contact.ref, "All it's ok as sequence doesn't " + "increase.") diff --git a/base_partner_sequence/views/partner_view.xml b/base_partner_sequence/views/partner_view.xml new file mode 100644 index 000000000..f4207a625 --- /dev/null +++ b/base_partner_sequence/views/partner_view.xml @@ -0,0 +1,16 @@ + + + + + Make partner reference readonly when non-commercial + res.partner + + + + {'readonly': [('is_company', '=', False), ('parent_id', '!=', False)]} + + + + + +