Browse Source

partner_second_lastname: Migration to 10.0

pull/696/head
Pedro M. Baeza 8 years ago
committed by Nikul-Chaudhary
parent
commit
61d2a88177
  1. 15
      partner_second_lastname/README.rst
  2. 16
      partner_second_lastname/__manifest__.py
  3. 36
      partner_second_lastname/i18n/am.po
  4. 36
      partner_second_lastname/i18n/ar.po
  5. 36
      partner_second_lastname/i18n/bg.po
  6. 36
      partner_second_lastname/i18n/bs.po
  7. 36
      partner_second_lastname/i18n/ca.po
  8. 36
      partner_second_lastname/i18n/cs.po
  9. 36
      partner_second_lastname/i18n/da.po
  10. 36
      partner_second_lastname/i18n/de.po
  11. 36
      partner_second_lastname/i18n/el_GR.po
  12. 36
      partner_second_lastname/i18n/en_GB.po
  13. 64
      partner_second_lastname/i18n/es.po
  14. 36
      partner_second_lastname/i18n/es_CR.po
  15. 36
      partner_second_lastname/i18n/es_EC.po
  16. 36
      partner_second_lastname/i18n/es_MX.po
  17. 36
      partner_second_lastname/i18n/es_VE.po
  18. 36
      partner_second_lastname/i18n/et.po
  19. 69
      partner_second_lastname/i18n/eu.po
  20. 27
      partner_second_lastname/i18n/fi.po
  21. 36
      partner_second_lastname/i18n/fr.po
  22. 36
      partner_second_lastname/i18n/fr_CA.po
  23. 36
      partner_second_lastname/i18n/fr_CH.po
  24. 36
      partner_second_lastname/i18n/gl.po
  25. 36
      partner_second_lastname/i18n/hr.po
  26. 36
      partner_second_lastname/i18n/hr_HR.po
  27. 36
      partner_second_lastname/i18n/hu.po
  28. 36
      partner_second_lastname/i18n/it.po
  29. 36
      partner_second_lastname/i18n/ja.po
  30. 36
      partner_second_lastname/i18n/lt.po
  31. 36
      partner_second_lastname/i18n/lv.po
  32. 36
      partner_second_lastname/i18n/mk.po
  33. 36
      partner_second_lastname/i18n/mn.po
  34. 36
      partner_second_lastname/i18n/nb.po
  35. 36
      partner_second_lastname/i18n/nb_NO.po
  36. 36
      partner_second_lastname/i18n/nl.po
  37. 36
      partner_second_lastname/i18n/nl_BE.po
  38. 36
      partner_second_lastname/i18n/nl_NL.po
  39. 36
      partner_second_lastname/i18n/pl.po
  40. 36
      partner_second_lastname/i18n/pt.po
  41. 36
      partner_second_lastname/i18n/pt_BR.po
  42. 36
      partner_second_lastname/i18n/pt_PT.po
  43. 36
      partner_second_lastname/i18n/ro.po
  44. 36
      partner_second_lastname/i18n/ru.po
  45. 36
      partner_second_lastname/i18n/sk.po
  46. 36
      partner_second_lastname/i18n/sl.po
  47. 36
      partner_second_lastname/i18n/sr@latin.po
  48. 36
      partner_second_lastname/i18n/sv.po
  49. 36
      partner_second_lastname/i18n/th.po
  50. 36
      partner_second_lastname/i18n/tr.po
  51. 36
      partner_second_lastname/i18n/tr_TR.po
  52. 36
      partner_second_lastname/i18n/vi.po
  53. 36
      partner_second_lastname/i18n/zh_CN.po
  54. 36
      partner_second_lastname/i18n/zh_TW.po
  55. 2
      partner_second_lastname/models/base_config_settings.py
  56. 29
      partner_second_lastname/models/res_partner.py
  57. 7
      partner_second_lastname/tests/__init__.py
  58. 35
      partner_second_lastname/tests/test_config.py
  59. 4
      partner_second_lastname/tests/test_name.py
  60. 3
      partner_second_lastname/tests/test_onchange.py
  61. 97
      partner_second_lastname/views/res_partner.xml
  62. 34
      partner_second_lastname/views/res_user.xml

15
partner_second_lastname/README.rst

@ -11,7 +11,7 @@ support having a second lastname for contact partners.
In some countries, it's important to have a second last name for contacts.
Contact partners will need to fulfill at least one of the name fields
Contact partners will need to fill at least one of the name fields
(*First name*, *First last name* or *Second last name*).
Configuration
@ -53,7 +53,7 @@ you easily in some corner cases.
.. 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/8.0
:target: https://runbot.odoo-community.org/runbot/134/10.0
Known issues / Roadmap
@ -71,7 +71,7 @@ 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 `here
<https://github.com/OCA/partner-contact/issues/new?body=module:%20partner_second_lastname%0Aversion:%208.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
<https://github.com/OCA/partner-contact/issues/new>`_.
Credits
@ -80,10 +80,9 @@ Credits
Contributors
------------
* `Grupo ESOC <http://grupoesoc.es>`_:
* `Jairo Llopis <mailto:j.llopis@grupoesoc.es>`_.
* `Antiun Ingeniería S.L. <http://www.antiun.com>`_:
* `Antonio Espinosa <mailto:antonioea@antiun.com>`_.
* Jairo Llopis <jairo.llopis@tecnativa.com>.
* Antonio Espinosa.
* Pedro M. Baeza <pedro.baeza@tecnativa.com>.
Maintainer
----------
@ -98,4 +97,4 @@ 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 http://odoo-community.org.
To contribute to this module, please visit https://odoo-community.org.

16
partner_second_lastname/__openerp__.py → partner_second_lastname/__manifest__.py

@ -1,24 +1,24 @@
# -*- coding: utf-8 -*-
# Copyright 2015 Grupo ESOC Ingeniería de Servicios, S.L.U. - Jairo Llopis
# Copyright 2015 Antiun Ingenieria S.L. - Antonio Espinosa
# Copyright 2017 Tecnativa - Pedro M. Baeza
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
# © 2015 Grupo ESOC Ingeniería de Servicios, S.L.U.
{
"name": "Partner second last name",
"summary": "Have split first and second lastnames",
"version": "8.0.4.1.0",
"version": "10.0.1.0.0",
"license": "AGPL-3",
"website": "https://grupoesoc.es",
"author": "Grupo ESOC Ingeniería de Servicios, "
"website": "https://www.tecnativa.com",
"author": "Tecnativa, "
"Odoo Community Association (OCA)",
"maintainer": "Odoo Community Association (OCA)",
"category": "Extra Tools",
"category": "Partner Management",
"depends": [
"partner_firstname"
"partner_firstname",
],
"data": [
"views/res_partner.xml",
"views/res_user.xml",
],
"installable": True,
'images': [],
}

36
partner_second_lastname/i18n/am.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "ተባባሪ"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr ""
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

36
partner_second_lastname/i18n/ar.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "الشريك"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr ""
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

36
partner_second_lastname/i18n/bg.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "Партньор"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr ""
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

36
partner_second_lastname/i18n/bs.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "Partner"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr ""
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

36
partner_second_lastname/i18n/ca.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "Empresa"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr ""
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

36
partner_second_lastname/i18n/cs.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "Společník"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr ""
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

36
partner_second_lastname/i18n/da.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "Partner"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr ""
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

36
partner_second_lastname/i18n/de.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: de\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "Partner"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr "Zweiter Nachname"
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

36
partner_second_lastname/i18n/el_GR.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "Συνεργάτης"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr ""
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

36
partner_second_lastname/i18n/en_GB.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "Partner"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr ""
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

64
partner_second_lastname/i18n/es.po

@ -1,21 +1,22 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_lastname2
# * partner_second_lastname
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 8.0-20150327\n"
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-08-13 11:16+0100\n"
"PO-Revision-Date: 2015-08-13 11:16+0100\n"
"Last-Translator: Jairo Llopis <j.llopis@grupoesoc.es>\n"
"Language-Team: \n"
"Language: es_ES\n"
"POT-Creation-Date: 2017-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 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: 8bit\n"
"Content-Transfer-Encoding: \n"
"Language: es\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 1.8.1\n"
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
@ -23,46 +24,13 @@ msgid "Partner"
msgstr "Empresa"
#. module: partner_second_lastname
#: field:res.partner,lastname2:0
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr "Segundo apellido"
#. module: partner_second_lastname
#: view:res.partner:partner_second_lastname.partner_form
#: view:res.partner:partner_second_lastname.partner_simple_form
msgid ""
"{\n"
" 'required': [('firstname', '=', False),\n"
" ('lastname2', '=', False),\n"
" ('is_company', '=', False)]\n"
" }"
msgstr ""
#. module: partner_second_lastname
#: view:res.users:partner_second_lastname.users_form
msgid ""
"{\n"
" 'required': [('firstname', '=', False),\n"
" ('lastname2', '=', False)]\n"
" }"
msgstr ""
#. module: partner_second_lastname
#: view:res.partner:partner_second_lastname.partner_form
#: view:res.partner:partner_second_lastname.partner_simple_form
msgid ""
"{\n"
" 'required': [('lastname', '=', False),\n"
" ('lastname2', '=', False),\n"
" ('is_company', '=', False)]\n"
" }"
msgstr ""
#. module: partner_second_lastname
#: view:res.users:partner_second_lastname.users_form
msgid ""
"{\n"
" 'required': [('lastname', '=', False),\n"
" ('lastname2', '=', False)]\n"
" }"
msgstr ""
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr "base.config.settings"

36
partner_second_lastname/i18n/es_CR.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "Empresa"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr ""
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

36
partner_second_lastname/i18n/es_EC.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "Empresa"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr ""
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

36
partner_second_lastname/i18n/es_MX.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "Empresa"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr ""
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

36
partner_second_lastname/i18n/es_VE.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "Empresa"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr ""
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

36
partner_second_lastname/i18n/et.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "Partner"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr ""
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

69
partner_second_lastname/i18n/eu.po

@ -0,0 +1,69 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# Translators:
# Esther Martín Menéndez <esthermartin001@gmail.com>, 2017
msgid ""
msgstr ""
"Project-Id-Version: partner-contact (8.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-02-21 16:57+0000\n"
"PO-Revision-Date: 2017-02-23 15:55+0000\n"
"Last-Translator: Esther Martín Menéndez <esthermartin001@gmail.com>\n"
"Language-Team: Basque (http://www.transifex.com/oca/OCA-partner-contact-8-0/language/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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "Kidea"
#. module: partner_second_lastname
#: field:res.partner,lastname2:0
msgid "Second last name"
msgstr ""
#. module: partner_second_lastname
#: view:res.partner:partner_second_lastname.partner_form
#: view:res.partner:partner_second_lastname.partner_simple_form
msgid ""
"{\n"
" 'required': [('firstname', '=', False),\n"
" ('lastname2', '=', False),\n"
" ('is_company', '=', False)]\n"
" }"
msgstr ""
#. module: partner_second_lastname
#: view:res.users:partner_second_lastname.users_form
msgid ""
"{\n"
" 'required': [('firstname', '=', False),\n"
" ('lastname2', '=', False)]\n"
" }"
msgstr ""
#. module: partner_second_lastname
#: view:res.partner:partner_second_lastname.partner_form
#: view:res.partner:partner_second_lastname.partner_simple_form
msgid ""
"{\n"
" 'required': [('lastname', '=', False),\n"
" ('lastname2', '=', False),\n"
" ('is_company', '=', False)]\n"
" }"
msgstr ""
#. module: partner_second_lastname
#: view:res.users:partner_second_lastname.users_form
msgid ""
"{\n"
" 'required': [('lastname', '=', False),\n"
" ('lastname2', '=', False)]\n"
" }"
msgstr ""

27
partner_second_lastname/i18n/partner_second_lastname.pot → partner_second_lastname/i18n/fi.po

@ -2,23 +2,25 @@
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 8.0-20150811\n"
"Project-Id-Version: partner-contact (8.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-08-13 09:15+0000\n"
"PO-Revision-Date: 2015-08-13 09:15+0000\n"
"POT-Creation-Date: 2016-01-19 01:46+0000\n"
"PO-Revision-Date: 2015-10-29 13:08+0000\n"
"Last-Translator: <>\n"
"Language-Team: \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"
"Plural-Forms: \n"
"Language: fi\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr ""
msgstr "Kumppani"
#. module: partner_second_lastname
#: field:res.partner,lastname2:0
@ -28,7 +30,8 @@ msgstr ""
#. module: partner_second_lastname
#: view:res.partner:partner_second_lastname.partner_form
#: view:res.partner:partner_second_lastname.partner_simple_form
msgid "{\n"
msgid ""
"{\n"
" 'required': [('firstname', '=', False),\n"
" ('lastname2', '=', False),\n"
" ('is_company', '=', False)]\n"
@ -37,7 +40,8 @@ msgstr ""
#. module: partner_second_lastname
#: view:res.users:partner_second_lastname.users_form
msgid "{\n"
msgid ""
"{\n"
" 'required': [('firstname', '=', False),\n"
" ('lastname2', '=', False)]\n"
" }"
@ -46,7 +50,8 @@ msgstr ""
#. module: partner_second_lastname
#: view:res.partner:partner_second_lastname.partner_form
#: view:res.partner:partner_second_lastname.partner_simple_form
msgid "{\n"
msgid ""
"{\n"
" 'required': [('lastname', '=', False),\n"
" ('lastname2', '=', False),\n"
" ('is_company', '=', False)]\n"
@ -55,9 +60,9 @@ msgstr ""
#. module: partner_second_lastname
#: view:res.users:partner_second_lastname.users_form
msgid "{\n"
msgid ""
"{\n"
" 'required': [('lastname', '=', False),\n"
" ('lastname2', '=', False)]\n"
" }"
msgstr ""

36
partner_second_lastname/i18n/fr.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "Partenaire"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr ""
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

36
partner_second_lastname/i18n/fr_CA.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "Partenaire"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr ""
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

36
partner_second_lastname/i18n/fr_CH.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "Partenaire"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr ""
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

36
partner_second_lastname/i18n/gl.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "Empresa"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr ""
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

36
partner_second_lastname/i18n/hr.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "Partner"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr ""
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

36
partner_second_lastname/i18n/hr_HR.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "Partner"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr ""
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

36
partner_second_lastname/i18n/hu.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "Partner"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr ""
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

36
partner_second_lastname/i18n/it.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "Partner"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr "Secondo cognome"
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

36
partner_second_lastname/i18n/ja.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "パートナ"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr ""
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

36
partner_second_lastname/i18n/lt.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "Partneris"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr ""
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

36
partner_second_lastname/i18n/lv.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "Partneris"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr ""
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

36
partner_second_lastname/i18n/mk.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "Партнер"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr ""
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

36
partner_second_lastname/i18n/mn.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "Харилцагч"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr ""
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

36
partner_second_lastname/i18n/nb.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "Partner"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr ""
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

36
partner_second_lastname/i18n/nb_NO.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "Partner"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr ""
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

36
partner_second_lastname/i18n/nl.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "Relatie"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr ""
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

36
partner_second_lastname/i18n/nl_BE.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "Relatie"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr ""
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

36
partner_second_lastname/i18n/nl_NL.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "Relatie"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr "Tweede achternaam"
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr "base.config.settings"

36
partner_second_lastname/i18n/pl.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "Partner"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr ""
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

36
partner_second_lastname/i18n/pt.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "Entidade"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr ""
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

36
partner_second_lastname/i18n/pt_BR.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/23907/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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "Parceiro"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr ""
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

36
partner_second_lastname/i18n/pt_PT.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "Parceiro"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr ""
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

36
partner_second_lastname/i18n/ro.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "Partener"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr ""
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

36
partner_second_lastname/i18n/ru.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "Контрагент"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr ""
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

36
partner_second_lastname/i18n/sk.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "Partner"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr ""
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

36
partner_second_lastname/i18n/sl.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "Partner"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr "Drugi priimek"
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

36
partner_second_lastname/i18n/sr@latin.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "Partner"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr ""
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

36
partner_second_lastname/i18n/sv.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "Företag"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr ""
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

36
partner_second_lastname/i18n/th.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "พาร์ทเนอร์"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr ""
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

36
partner_second_lastname/i18n/tr.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "İş Ortağı"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr ""
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

36
partner_second_lastname/i18n/tr_TR.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "Ortak"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr ""
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

36
partner_second_lastname/i18n/vi.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "Đối tác"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr ""
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

36
partner_second_lastname/i18n/zh_CN.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "业务伙伴"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr ""
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

36
partner_second_lastname/i18n/zh_TW.po

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_second_lastname
#
# 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-06-30 02:49+0000\n"
"PO-Revision-Date: 2017-06-30 02:49+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: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_res_partner
msgid "Partner"
msgstr "夥伴"
#. module: partner_second_lastname
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_alias_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_partner_lastname2
#: model:ir.model.fields,field_description:partner_second_lastname.field_res_users_lastname2
msgid "Second last name"
msgstr ""
#. module: partner_second_lastname
#: model:ir.model,name:partner_second_lastname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

2
partner_second_lastname/models/base_config_settings.py

@ -2,7 +2,7 @@
# © 2015 Antiun Ingenieria S.L. - Antonio Espinosa
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from openerp import models, api
from odoo import models, api
class BaseConfigSettings(models.TransientModel):

29
partner_second_lastname/models/res_partner.py

@ -1,15 +1,15 @@
# -*- coding: utf-8 -*-
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
# © 2015 Grupo ESOC Ingeniería de Servicios, S.L.U.
# © 2015 Antiun Ingenieria S.L. - Antonio Espinosa
# Copyright 2015 Grupo ESOC Ingeniería de Servicios, S.L.U. - Jairo Llopis
# Copyright 2015 Antiun Ingenieria S.L. - Antonio Espinosa
# Copyright 2017 Tecnativa - Pedro M. Baeza
from openerp import api, fields, models
from openerp.addons.partner_firstname.models import exceptions
from odoo import api, fields, models
from odoo.addons.partner_firstname import exceptions
class ResPartner(models.Model):
"""Adds a second last name."""
_inherit = "res.partner"
lastname2 = fields.Char("Second last name", oldname="lastname_second")
@ -41,20 +41,20 @@ class ResPartner(models.Model):
names.append(firstname)
return u" ".join(names)
@api.one
@api.depends("firstname", "lastname", "lastname2")
def _compute_name(self):
"""Write :attr:`~.name` according to splitted data."""
self.name = self._get_computed_name(
self.lastname, self.firstname, self.lastname2)
for partner in self:
partner.name = self._get_computed_name(
partner.lastname, partner.firstname, partner.lastname2,
)
@api.one
def _inverse_name(self):
"""Try to revert the effect of :meth:`._compute_name`."""
parts = self._get_inverse_name(self.name, self.is_company)
# Avoid to hit :meth:`~._check_name` with all 3 fields being ``False``
before, after = dict(), dict()
before, after = {}, {}
for key, value in parts.iteritems():
(before if value else after)[key] = value
if any([before[k] != self[k] for k in before.keys()]):
@ -96,17 +96,16 @@ class ResPartner(models.Model):
result['lastname2'] = parts[1]
return result
@api.one
@api.constrains("firstname", "lastname", "lastname2")
def _check_name(self):
"""Ensure at least one name is set."""
try:
super(ResPartner, self)._check_name()
except exceptions.EmptyNamesError as error:
if not self.lastname2:
raise error
except exceptions.EmptyNamesError:
for partner in self:
if not partner.lastname2:
raise
@api.one
@api.onchange("firstname", "lastname", "lastname2")
def _onchange_subnames(self):
"""Trigger onchange with :attr:`~.lastname2` too."""

7
partner_second_lastname/tests/__init__.py

@ -1,6 +1,7 @@
# -*- coding: utf-8 -*-
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
# © 2015 Grupo ESOC Ingeniería de Servicios, S.L.U.
from . import test_name, test_onchange
from openerp.addons.partner_firstname.tests import test_empty
from . import test_name
from . import test_onchange
from . import test_config
from odoo.addons.partner_firstname.tests import test_empty

35
partner_second_lastname/tests/test_config.py

@ -0,0 +1,35 @@
# -*- coding: utf-8 -*-
# Copyright 2017 Tecnativa - Pedro M. Baeza
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo.tests import common
class TestConfig(common.SavepointCase):
@classmethod
def setUpClass(cls):
super(TestConfig, cls).setUpClass()
cls.wizard = cls.env['base.config.settings'].create({})
cls.partner = cls.env['res.partner'].create({
'firstname': "First",
'lastname': "Last",
'lastname2': "Second",
})
def test_last_first(self):
self.wizard.partner_names_order = 'last_first'
self.wizard.set_partner_names_order()
self.wizard.action_recalculate_partners_name()
self.assertEqual(self.partner.name, "Last Second First")
def test_last_first_comma(self):
self.wizard.partner_names_order = 'last_first_comma'
self.wizard.set_partner_names_order()
self.wizard.action_recalculate_partners_name()
self.assertEqual(self.partner.name, "Last Second, First")
def test_first_last(self):
self.wizard.partner_names_order = 'first_last'
self.wizard.set_partner_names_order()
self.wizard.action_recalculate_partners_name()
self.assertEqual(self.partner.name, "First Last Second")

4
partner_second_lastname/tests/test_name.py

@ -3,8 +3,8 @@
# © 2015 Grupo ESOC Ingeniería de Servicios, S.L.U.
# © 2015 Antiun Ingenieria S.L. - Antonio Espinosa
from openerp.tests.common import TransactionCase
from openerp.addons.partner_firstname.tests.base import MailInstalled
from odoo.tests.common import TransactionCase
from odoo.addons.partner_firstname.tests.base import MailInstalled
class CompanyCase(TransactionCase):

3
partner_second_lastname/tests/test_onchange.py

@ -8,7 +8,7 @@
The form operates in onchange mode, with its limitations.
"""
from openerp.tests.common import TransactionCase
from odoo.tests.common import TransactionCase
class OnChangeCase(TransactionCase):
@ -31,6 +31,7 @@ class PartnerCompanyCase(OnChangeCase):
def tearDown(self):
"""Companies never have ``firstname`` nor ``lastname2``."""
super(PartnerCompanyCase, self).tearDown()
self.assertEqual(self.partner.firstname, False)
self.assertEqual(self.partner.lastname2, False)

97
partner_second_lastname/views/res_partner.xml

@ -1,105 +1,54 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
© 2015 Grupo ESOC Ingeniería de Servicios, S.L.U. -->
<openerp>
<data>
<record id="partner_simple_form" model="ir.ui.view">
<field name="name">Add second last name</field>
<!-- Copyright 2015 Tecnativa - Jairo Llopis
Copyright 2017 Tecnativa - Pedro M. Baeza
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo>
<record id="partner_simple_form" model="ir.ui.view">
<field name="model">res.partner</field>
<field name="inherit_id"
ref="partner_firstname.view_partner_simple_form_firstname"/>
<field name="inherit_id" ref="partner_firstname.view_partner_simple_form_firstname"/>
<field name="arch" type="xml">
<data>
<xpath expr="//field[@name='firstname']" position="attributes">
<attribute name="attrs">{
'required': [('lastname', '=', False),
('lastname2', '=', False),
('is_company', '=', False)]
}</attribute>
<attribute name="attrs">{'required': [('lastname', '=', False), ('lastname2', '=', False), ('is_company', '=', False)]}</attribute>
</xpath>
<xpath expr="//field[@name='lastname']" position="attributes">
<attribute name="attrs">{
'required': [('firstname', '=', False),
('lastname2', '=', False),
('is_company', '=', False)]
}</attribute>
<attribute name="attrs">{'required': [('firstname', '=', False), ('lastname2', '=', False), ('is_company', '=', False)]}</attribute>
</xpath>
<xpath expr="//field[@name='lastname']" position="after">
<field name="lastname2"
attrs="{'required': [('firstname', '=', False),
('lastname', '=', False),
('is_company', '=', False)]}"/>
<field name="lastname2" attrs="{'required': [('firstname', '=', False), ('lastname', '=', False), ('is_company', '=', False)]}"/>
</xpath>
</data>
</field>
</record>
</record>
<record id="partner_form" model="ir.ui.view">
<field name="name">Add second last name</field>
<record id="partner_form" model="ir.ui.view">
<field name="model">res.partner</field>
<field name="inherit_id"
ref="partner_firstname.view_partner_form_firstname"/>
<field name="inherit_id" ref="partner_firstname.view_partner_form_firstname"/>
<field name="arch" type="xml">
<data>
<!-- Main form -->
<xpath expr="//field[@name='firstname']" position="attributes">
<attribute name="attrs">{
'required': [('lastname', '=', False),
('lastname2', '=', False),
('is_company', '=', False)]
}</attribute>
<attribute name="attrs">{'required': [('lastname', '=', False), ('lastname2', '=', False), ('is_company', '=', False)]}</attribute>
</xpath>
<xpath expr="//field[@name='lastname']" position="attributes">
<attribute name="attrs">{
'required': [('firstname', '=', False),
('lastname2', '=', False),
('is_company', '=', False)]
}</attribute>
<attribute name="attrs">{'required': [('firstname', '=', False), ('lastname2', '=', False), ('is_company', '=', False)]}</attribute>
</xpath>
<xpath expr="//field[@name='lastname']" position="after">
<field name="lastname2"
attrs="{'required': [('firstname', '=', False),
('lastname', '=', False),
('is_company', '=', False)]}"/>
<field name="lastname2" attrs="{'required': [('firstname', '=', False), ('lastname', '=', False), ('is_company', '=', False)]}"/>
</xpath>
<!-- Inner contact form of child_ids -->
<xpath expr="//field[@name='child_ids']/form
//field[@name='firstname']"
position="attributes">
<attribute name="attrs">{
'required': [('lastname', '=', False),
('lastname2', '=', False),
('is_company', '=', False)]
}</attribute>
<xpath expr="//field[@name='child_ids']/form//field[@name='firstname']" position="attributes">
<attribute name="attrs">{'required': [('lastname', '=', False), ('lastname2', '=', False), ('is_company', '=', False)]}</attribute>
</xpath>
<xpath expr="//field[@name='child_ids']/form
//field[@name='lastname']"
position="attributes">
<attribute name="attrs">{
'required': [('firstname', '=', False),
('lastname2', '=', False),
('is_company', '=', False)]
}</attribute>
<xpath expr="//field[@name='child_ids']/form//field[@name='lastname']" position="attributes">
<attribute name="attrs">{'required': [('firstname', '=', False), ('lastname2', '=', False), ('is_company', '=', False)]}</attribute>
</xpath>
<xpath expr="//field[@name='child_ids']/form
//field[@name='lastname']"
position="after">
<field name="lastname2"
attrs="{'required': [('firstname', '=', False),
('lastname', '=', False),
('is_company', '=', False)]}"/>
<xpath expr="//field[@name='child_ids']/form//field[@name='lastname']" position="after">
<field name="lastname2" attrs="{'required': [('firstname', '=', False), ('lastname', '=', False), ('is_company', '=', False)]}"/>
</xpath>
</data>
</field>
</record>
</record>
</data>
</openerp>
</odoo>

34
partner_second_lastname/views/res_user.xml

@ -1,42 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
© 2015 Grupo ESOC Ingeniería de Servicios, S.L.U. -->
<!-- Copyright 2015 Grupo ESOC Ingeniería de Servicios, S.L.U. - Jairo Llopis
Copyright 2017 Tecnativa - Pedro M. Baeza
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo>
<openerp>
<data>
<!-- Required before modifying `base.vew_users_form`.
https://github.com/odoo/odoo/issues/6324#issuecomment-93534579 -->
<function model="res.groups" name="update_user_groups_view" />
<record id="users_form" model="ir.ui.view">
<record id="users_form" model="ir.ui.view">
<field name="name">Add second last name</field>
<field name="model">res.users</field>
<field name="inherit_id" ref="partner_firstname.view_users_form"/>
<field name="arch" type="xml">
<data>
<xpath expr="//field[@name='firstname']" position="attributes">
<attribute name="attrs">{
'required': [('lastname', '=', False),
('lastname2', '=', False)]
}</attribute>
<attribute name="attrs">{'required': [('lastname', '=', False), ('lastname2', '=', False)]}</attribute>
</xpath>
<xpath expr="//field[@name='lastname']" position="attributes">
<attribute name="attrs">{
'required': [('firstname', '=', False),
('lastname2', '=', False)]
}</attribute>
<attribute name="attrs">{'required': [('firstname', '=', False), ('lastname2', '=', False)]}</attribute>
</xpath>
<xpath expr="//field[@name='lastname']" position="after">
<field name="lastname2"
attrs="{'required': [('firstname', '=', False),
('lastname', '=', False)]}"/>
attrs="{'required': [('firstname', '=', False), ('lastname', '=', False)]}"
/>
</xpath>
</data>
</field>
</record>
</record>
</data>
</openerp>
</odoo>
Loading…
Cancel
Save