Browse Source

Merge pull request #531 from Comunitea/11.0-mig-base_partner_sequence

11.0 migrated base_partner_sequence
pull/566/head
Pedro M. Baeza 7 years ago
committed by GitHub
parent
commit
617b4be782
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 84
      base_partner_sequence/README.rst
  2. 8
      base_partner_sequence/__init__.py
  3. 26
      base_partner_sequence/__manifest__.py
  4. 9
      base_partner_sequence/data/partner_sequence.xml
  5. 30
      base_partner_sequence/i18n/am.po
  6. 30
      base_partner_sequence/i18n/ar.po
  7. 30
      base_partner_sequence/i18n/bg.po
  8. 30
      base_partner_sequence/i18n/bs.po
  9. 30
      base_partner_sequence/i18n/ca.po
  10. 30
      base_partner_sequence/i18n/cs.po
  11. 30
      base_partner_sequence/i18n/da.po
  12. 21
      base_partner_sequence/i18n/de.po
  13. 30
      base_partner_sequence/i18n/el_GR.po
  14. 30
      base_partner_sequence/i18n/en_GB.po
  15. 31
      base_partner_sequence/i18n/es.po
  16. 30
      base_partner_sequence/i18n/es_CR.po
  17. 30
      base_partner_sequence/i18n/es_EC.po
  18. 30
      base_partner_sequence/i18n/es_MX.po
  19. 30
      base_partner_sequence/i18n/es_VE.po
  20. 30
      base_partner_sequence/i18n/et.po
  21. 30
      base_partner_sequence/i18n/eu.po
  22. 31
      base_partner_sequence/i18n/fi.po
  23. 30
      base_partner_sequence/i18n/fr.po
  24. 30
      base_partner_sequence/i18n/fr_CA.po
  25. 30
      base_partner_sequence/i18n/fr_CH.po
  26. 30
      base_partner_sequence/i18n/gl.po
  27. 30
      base_partner_sequence/i18n/hr.po
  28. 30
      base_partner_sequence/i18n/hr_HR.po
  29. 30
      base_partner_sequence/i18n/hu.po
  30. 30
      base_partner_sequence/i18n/it.po
  31. 30
      base_partner_sequence/i18n/ja.po
  32. 30
      base_partner_sequence/i18n/lt.po
  33. 30
      base_partner_sequence/i18n/lv.po
  34. 30
      base_partner_sequence/i18n/mk.po
  35. 30
      base_partner_sequence/i18n/mn.po
  36. 30
      base_partner_sequence/i18n/nb.po
  37. 30
      base_partner_sequence/i18n/nb_NO.po
  38. 30
      base_partner_sequence/i18n/nl.po
  39. 30
      base_partner_sequence/i18n/nl_BE.po
  40. 30
      base_partner_sequence/i18n/nl_NL.po
  41. 30
      base_partner_sequence/i18n/pl.po
  42. 30
      base_partner_sequence/i18n/pt.po
  43. 32
      base_partner_sequence/i18n/pt_BR.po
  44. 30
      base_partner_sequence/i18n/pt_PT.po
  45. 30
      base_partner_sequence/i18n/ro.po
  46. 30
      base_partner_sequence/i18n/ru.po
  47. 30
      base_partner_sequence/i18n/sk.po
  48. 30
      base_partner_sequence/i18n/sl.po
  49. 30
      base_partner_sequence/i18n/sr@latin.po
  50. 30
      base_partner_sequence/i18n/sv.po
  51. 30
      base_partner_sequence/i18n/th.po
  52. 30
      base_partner_sequence/i18n/tr.po
  53. 30
      base_partner_sequence/i18n/tr_TR.po
  54. 30
      base_partner_sequence/i18n/vi.po
  55. 30
      base_partner_sequence/i18n/zh_CN.po
  56. 30
      base_partner_sequence/i18n/zh_TW.po
  57. 7
      base_partner_sequence/models/__init__.py
  58. 66
      base_partner_sequence/models/partner.py
  59. BIN
      base_partner_sequence/static/description/icon.png
  60. 7
      base_partner_sequence/tests/__init__.py
  61. 35
      base_partner_sequence/tests/test_base_partner_sequence.py
  62. 16
      base_partner_sequence/views/partner_view.xml

84
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
<https://github.com/OCA/partner-contact/issues>`_. In case of trouble, please
check there if your issue has already been reported. If you spotted it first,
help us smashing it by providing a detailed and welcomed feedback.
Credits
=======
Images
------
* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.
Contributors
------------
* Thomas Rehn <thomas.rehn@initos.com>
* Stefan Rijnhart <stefan@therp.nl>
* Yannick Vaucher <yannick.vaucher@camptocamp.com>
* Sandy Carter <sandy.carter@savoirfairelinux.com>
* Laurent Mignon (ACSONE) <laurent.mignon@acsone.eu>
* Guewen Baconnier <guewen.baconnier@camptocamp.com>
* Alexandre Fayolle <alexandre.fayolle@camptocamp.com>
* Vicent Cubells <vicent.cubells@tecnativa.com>
* Akim Juillerat <akim.juillerat@camptocamp.com>
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.

8
base_partner_sequence/__init__.py

@ -0,0 +1,8 @@
# Copyright 2004-2009 Tiny SPRL (<http://tiny.be>).
# Copyright 2013 initOS GmbH & Co. KG (<http://www.initos.com>).
# Copyright 2016 Tecnativa - Vicent Cubells
# Copyright 2016 Camptocamp - Akim Juillerat (<http://www.camptocamp.com>).
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from . import models
from . import tests

26
base_partner_sequence/__manifest__.py

@ -0,0 +1,26 @@
# Copyright 2004-2009 Tiny SPRL (<http://tiny.be>).
# Copyright 2013 initOS GmbH & Co. KG (<http://www.initos.com>).
# Copyright 2016 Tecnativa - Vicent Cubells
# Copyright 2016 Camptocamp - Akim Juillerat (<http://www.camptocamp.com>).
# 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",
}

9
base_partner_sequence/data/partner_sequence.xml

@ -0,0 +1,9 @@
<?xml version="1.0"?>
<odoo noupdate="1">
<record model="ir.sequence" id="seq_res_partner">
<field name="name">Partner code</field>
<field name="code">res.partner</field>
<field name="prefix">P/</field>
<field name="padding">5</field>
</record>
</odoo>

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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 "ተባባሪ"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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 "الشريك"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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 "Партньор"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

21
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"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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 "Συνεργάτης"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

31
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 <transbot@odoo-community.org>, 2017
# Pedro M. Baeza <pedro.baeza@gmail.com>, 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 <pedro.baeza@gmail.com>, 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"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

31
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 ""

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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 "パートナ"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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 "Партнер"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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 "Харилцагч"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

30
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 <hageman.p@gmail.com>, 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 <hageman.p@gmail.com>, 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"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

30
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 <tiago@baptista.net>, 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 <tiago@baptista.net>, 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"

32
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 <danimaribeiro@gmail.com>, 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 <danimaribeiro@gmail.com>\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 ""

30
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 <tiago@baptista.net>, 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 <tiago@baptista.net>, 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"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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 "Контрагент"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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 "พาร์ทเนอร์"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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ğı"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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 "业务伙伴"

30
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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 "夥伴"

7
base_partner_sequence/models/__init__.py

@ -0,0 +1,7 @@
# Copyright 2004-2009 Tiny SPRL (<http://tiny.be>).
# Copyright 2013 initOS GmbH & Co. KG (<http://www.initos.com>).
# Copyright 2016 Tecnativa - Vicent Cubells
# Copyright 2016 Camptocamp - Akim Juillerat (<http://www.camptocamp.com>).
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from . import partner

66
base_partner_sequence/models/partner.py

@ -0,0 +1,66 @@
# Copyright 2004-2009 Tiny SPRL (<http://tiny.be>).
# Copyright 2013 initOS GmbH & Co. KG (<http://www.initos.com>).
# Copyright 2016 Tecnativa - Vicent Cubells
# Copyright 2016 Camptocamp - Akim Juillerat (<http://www.camptocamp.com>).
# 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']

BIN
base_partner_sequence/static/description/icon.png

After

Width: 128  |  Height: 128  |  Size: 9.2 KiB

7
base_partner_sequence/tests/__init__.py

@ -0,0 +1,7 @@
# -*- coding: utf-8 -*-
# Copyright 2004-2009 Tiny SPRL (<http://tiny.be>).
# Copyright 2013 initOS GmbH & Co. KG (<http://www.initos.com>).
# Copyright 2016 Tecnativa - Vicent Cubells
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from . import test_base_partner_sequence

35
base_partner_sequence/tests/test_base_partner_sequence.py

@ -0,0 +1,35 @@
# -*- coding: utf-8 -*-
# Copyright 2015 ACSONE SA/NV (<http://acsone.eu>).
# 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.")

16
base_partner_sequence/views/partner_view.xml

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<record id="view_partner_form" model="ir.ui.view">
<field name="name">Make partner reference readonly when non-commercial</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_form"/>
<field name="arch" type="xml">
<field name="ref" position="attributes">
<attribute name="attrs">{'readonly': [('is_company', '=', False), ('parent_id', '!=', False)]}</attribute>
</field>
</field>
</record>
</odoo>
Loading…
Cancel
Save