From d579e1f4e8a3e53eda9475d421669236944d98fd Mon Sep 17 00:00:00 2001 From: hugues de keyzer Date: Fri, 4 Feb 2022 16:45:36 +0100 Subject: [PATCH] [REM] partner_firstname is a copy (with a slight modification) of the oca module: https://github.com/OCA/partner-contact/tree/9.0/partner_firstname is not used in production. --- partner_firstname/README.rst | 118 --------- partner_firstname/__init__.py | 4 - partner_firstname/__openerp__.py | 32 --- partner_firstname/data/res_partner.yml | 19 -- partner_firstname/exceptions.py | 12 - partner_firstname/i18n/am.po | 57 ----- partner_firstname/i18n/ar.po | 57 ----- partner_firstname/i18n/bg.po | 57 ----- partner_firstname/i18n/bs.po | 57 ----- partner_firstname/i18n/ca.po | 57 ----- partner_firstname/i18n/cs.po | 57 ----- partner_firstname/i18n/da.po | 62 ----- partner_firstname/i18n/de.po | 92 ------- partner_firstname/i18n/el_GR.po | 57 ----- partner_firstname/i18n/en_GB.po | 57 ----- partner_firstname/i18n/es.po | 62 ----- partner_firstname/i18n/es_CR.po | 57 ----- partner_firstname/i18n/es_EC.po | 57 ----- partner_firstname/i18n/es_ES.po | 57 ----- partner_firstname/i18n/es_MX.po | 57 ----- partner_firstname/i18n/es_VE.po | 57 ----- partner_firstname/i18n/et.po | 57 ----- partner_firstname/i18n/eu.po | 57 ----- partner_firstname/i18n/fi.po | 57 ----- partner_firstname/i18n/fr.po | 58 ----- partner_firstname/i18n/fr_CA.po | 89 ------- partner_firstname/i18n/fr_CH.po | 58 ----- partner_firstname/i18n/gl.po | 57 ----- partner_firstname/i18n/hr.po | 57 ----- partner_firstname/i18n/hr_HR.po | 58 ----- partner_firstname/i18n/hu.po | 89 ------- partner_firstname/i18n/id.po | 89 ------- partner_firstname/i18n/it.po | 63 ----- partner_firstname/i18n/ja.po | 57 ----- partner_firstname/i18n/lt.po | 57 ----- partner_firstname/i18n/lv.po | 57 ----- partner_firstname/i18n/mk.po | 57 ----- partner_firstname/i18n/mn.po | 57 ----- partner_firstname/i18n/nb.po | 57 ----- partner_firstname/i18n/nb_NO.po | 57 ----- partner_firstname/i18n/nl.po | 63 ----- partner_firstname/i18n/nl_BE.po | 57 ----- partner_firstname/i18n/pl.po | 57 ----- partner_firstname/i18n/pt.po | 57 ----- partner_firstname/i18n/pt_BR.po | 65 ----- partner_firstname/i18n/pt_PT.po | 57 ----- partner_firstname/i18n/ro.po | 57 ----- partner_firstname/i18n/ru.po | 57 ----- partner_firstname/i18n/sk.po | 57 ----- partner_firstname/i18n/sl.po | 91 ------- partner_firstname/i18n/sr@latin.po | 57 ----- partner_firstname/i18n/sv.po | 57 ----- partner_firstname/i18n/th.po | 57 ----- partner_firstname/i18n/tr.po | 58 ----- partner_firstname/i18n/tr_TR.po | 57 ----- partner_firstname/i18n/vi.po | 57 ----- partner_firstname/i18n/zh_CN.po | 57 ----- partner_firstname/i18n/zh_TW.po | 57 ----- partner_firstname/models/__init__.py | 7 - .../models/base_config_settings.py | 70 ------ partner_firstname/models/res_partner.py | 232 ------------------ partner_firstname/models/res_users.py | 37 --- partner_firstname/static/description/icon.png | Bin 9455 -> 0 bytes partner_firstname/tests/__init__.py | 14 -- partner_firstname/tests/base.py | 74 ------ partner_firstname/tests/test_create.py | 81 ------ partner_firstname/tests/test_defaults.py | 65 ----- partner_firstname/tests/test_delete.py | 38 --- partner_firstname/tests/test_empty.py | 74 ------ partner_firstname/tests/test_name.py | 90 ------- partner_firstname/tests/test_onchange.py | 105 -------- partner_firstname/tests/test_order.py | 40 --- partner_firstname/tests/test_user_onchange.py | 53 ---- partner_firstname/views/base_config_view.xml | 31 --- partner_firstname/views/res_partner.xml | 90 ------- partner_firstname/views/res_user.xml | 27 -- 76 files changed, 4533 deletions(-) delete mode 100644 partner_firstname/README.rst delete mode 100644 partner_firstname/__init__.py delete mode 100644 partner_firstname/__openerp__.py delete mode 100644 partner_firstname/data/res_partner.yml delete mode 100644 partner_firstname/exceptions.py delete mode 100644 partner_firstname/i18n/am.po delete mode 100644 partner_firstname/i18n/ar.po delete mode 100644 partner_firstname/i18n/bg.po delete mode 100644 partner_firstname/i18n/bs.po delete mode 100644 partner_firstname/i18n/ca.po delete mode 100644 partner_firstname/i18n/cs.po delete mode 100644 partner_firstname/i18n/da.po delete mode 100644 partner_firstname/i18n/de.po delete mode 100644 partner_firstname/i18n/el_GR.po delete mode 100644 partner_firstname/i18n/en_GB.po delete mode 100644 partner_firstname/i18n/es.po delete mode 100644 partner_firstname/i18n/es_CR.po delete mode 100644 partner_firstname/i18n/es_EC.po delete mode 100644 partner_firstname/i18n/es_ES.po delete mode 100644 partner_firstname/i18n/es_MX.po delete mode 100644 partner_firstname/i18n/es_VE.po delete mode 100644 partner_firstname/i18n/et.po delete mode 100644 partner_firstname/i18n/eu.po delete mode 100644 partner_firstname/i18n/fi.po delete mode 100644 partner_firstname/i18n/fr.po delete mode 100644 partner_firstname/i18n/fr_CA.po delete mode 100644 partner_firstname/i18n/fr_CH.po delete mode 100644 partner_firstname/i18n/gl.po delete mode 100644 partner_firstname/i18n/hr.po delete mode 100644 partner_firstname/i18n/hr_HR.po delete mode 100644 partner_firstname/i18n/hu.po delete mode 100644 partner_firstname/i18n/id.po delete mode 100644 partner_firstname/i18n/it.po delete mode 100644 partner_firstname/i18n/ja.po delete mode 100644 partner_firstname/i18n/lt.po delete mode 100644 partner_firstname/i18n/lv.po delete mode 100644 partner_firstname/i18n/mk.po delete mode 100644 partner_firstname/i18n/mn.po delete mode 100644 partner_firstname/i18n/nb.po delete mode 100644 partner_firstname/i18n/nb_NO.po delete mode 100644 partner_firstname/i18n/nl.po delete mode 100644 partner_firstname/i18n/nl_BE.po delete mode 100644 partner_firstname/i18n/pl.po delete mode 100644 partner_firstname/i18n/pt.po delete mode 100644 partner_firstname/i18n/pt_BR.po delete mode 100644 partner_firstname/i18n/pt_PT.po delete mode 100644 partner_firstname/i18n/ro.po delete mode 100644 partner_firstname/i18n/ru.po delete mode 100644 partner_firstname/i18n/sk.po delete mode 100644 partner_firstname/i18n/sl.po delete mode 100644 partner_firstname/i18n/sr@latin.po delete mode 100644 partner_firstname/i18n/sv.po delete mode 100644 partner_firstname/i18n/th.po delete mode 100644 partner_firstname/i18n/tr.po delete mode 100644 partner_firstname/i18n/tr_TR.po delete mode 100644 partner_firstname/i18n/vi.po delete mode 100644 partner_firstname/i18n/zh_CN.po delete mode 100644 partner_firstname/i18n/zh_TW.po delete mode 100644 partner_firstname/models/__init__.py delete mode 100644 partner_firstname/models/base_config_settings.py delete mode 100644 partner_firstname/models/res_partner.py delete mode 100644 partner_firstname/models/res_users.py delete mode 100644 partner_firstname/static/description/icon.png delete mode 100644 partner_firstname/tests/__init__.py delete mode 100644 partner_firstname/tests/base.py delete mode 100644 partner_firstname/tests/test_create.py delete mode 100644 partner_firstname/tests/test_defaults.py delete mode 100644 partner_firstname/tests/test_delete.py delete mode 100644 partner_firstname/tests/test_empty.py delete mode 100644 partner_firstname/tests/test_name.py delete mode 100644 partner_firstname/tests/test_onchange.py delete mode 100644 partner_firstname/tests/test_order.py delete mode 100644 partner_firstname/tests/test_user_onchange.py delete mode 100644 partner_firstname/views/base_config_view.xml delete mode 100644 partner_firstname/views/res_partner.xml delete mode 100644 partner_firstname/views/res_user.xml diff --git a/partner_firstname/README.rst b/partner_firstname/README.rst deleted file mode 100644 index 339c07d95..000000000 --- a/partner_firstname/README.rst +++ /dev/null @@ -1,118 +0,0 @@ -.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License: AGPL-3 - -================================ -Partner first name and last name -================================ - -This module was written to extend the functionality of contacts to support -having separate last name and first name. - -Configuration -============= - -You can configure some common name patterns for the inverse function -in Settings > Configuration > General settings: - -* Lastname Firstname: For example 'Anderson Robert' -* Lastname, Firstname: For example 'Anderson, Robert' -* Firstname Lastname: For example 'Robert Anderson' - -After applying the changes, you can recalculate all partners name clicking -"Recalculate names" button. Note: This process could take so much time depending -how many partners there are in database. - -You can use *_get_inverse_name* method to get lastname and firstname from a simple string -and also *_get_computed_name* to get a name form the lastname and firstname. -These methods can be overridden to change the format specified above. - - -Usage -===== - -The field *name* becomes a stored function field concatenating the *last name* -and the *first name*. This avoids breaking compatibility with other modules. - -Users should fulfill manually the separate fields for *last name* and *first -name*, but in case you edit just the *name* field in some unexpected module, -there is an inverse function that tries to split that automatically. It assumes -that you write the *name* in format configured (*"Lastname Firstname"*, by default), -but it could lead to wrong splitting (because it's just blindly trying to -guess what you meant), so you better specify it manually. - -For the same reason, after installing, previous names for contacts will stay in -the *name* field, and the first time you edit any of them you will be asked to -supply the *last name* and *first name* (just once per contact). - -.. 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/9.0 - -For further information, please visit: - -* https://www.odoo.com/forum/help-1 - - -Known issues / Roadmap -====================== - -Patterns for the inverse function are configurable only at system level. Maybe -this configuration could depend on partner language, country or company, -as discussed at `this OCA issue `_ - - -Bug Tracker -=========== - -Bugs are tracked on `GitHub Issues -`_. In case of trouble, please -check there if your issue has already been reported. If you spotted it first, -help us smashing it by providing a detailed and welcomed feedback. - -Credits -======= - -Contributors ------------- - -* Nicolas Bessi -* Yannick Vaucher -* Vincent Renaville -* Guewen Baconnier -* Holger Brunn -* Jonathan Nemry -* Olivier Laurent -* Sandy Carter -* Alexis de Lattre -* Lorenzo Battistini -* Hans Henrik Gabelgaard -* Jairo Llopis -* Adrien Peiffer -* Ronald Portier -* Sylvain Van Hoof -* Pedro Baeza -* Dave Lasley - -Translations ------------- - -* Danish: Hans Henrik Gabelgaard -* Italian: Leonardo Donelli -* Spanish: Antonio Espinosa -* Antonio Espinosa - -Maintainer ----------- - -.. image:: http://odoo-community.org/logo.png - :alt: Odoo Community Association - :target: http://odoo-community.org - -This module is maintained by the OCA. - -OCA, or the Odoo Community Association, is a nonprofit organization whose -mission is to support the collaborative development of Odoo features and -promote its widespread use. - -To contribute to this module, please visit http://odoo-community.org. diff --git a/partner_firstname/__init__.py b/partner_firstname/__init__.py deleted file mode 100644 index 8a9bba4af..000000000 --- a/partner_firstname/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# -*- coding: utf-8 -*- -# © 2013 Nicolas Bessi (Camptocamp SA) -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -from . import models diff --git a/partner_firstname/__openerp__.py b/partner_firstname/__openerp__.py deleted file mode 100644 index ac702f90e..000000000 --- a/partner_firstname/__openerp__.py +++ /dev/null @@ -1,32 +0,0 @@ -# -*- coding: utf-8 -*- -# © 2013 Nicolas Bessi (Camptocamp SA) -# © 2014 Agile Business Group () -# © 2015 Grupo ESOC () -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - -{ - 'name': 'Partner first name and last name', - 'summary': "Split first name and last name for non company partners", - 'version': '9.0.2.0.0', - 'author': "Camptocamp, " - "Grupo ESOC Ingeniería de Servicios, " - "Tecnativa, " - "ACSONE SA/NV, " - "Odoo Community Association (OCA)", - 'license': "AGPL-3", - 'maintainer': 'Camptocamp, Acsone', - 'category': 'Extra Tools', - 'website': 'https://odoo-community.org', - 'depends': ['base_setup'], - 'data': [ - 'views/base_config_view.xml', - 'views/res_partner.xml', - 'views/res_user.xml', - 'data/res_partner.yml', - ], - 'demo': [], - 'test': [], - 'auto_install': False, - 'installable': True, - 'images': [] -} diff --git a/partner_firstname/data/res_partner.yml b/partner_firstname/data/res_partner.yml deleted file mode 100644 index a88e01841..000000000 --- a/partner_firstname/data/res_partner.yml +++ /dev/null @@ -1,19 +0,0 @@ -# -*- coding: utf-8 -*- - -# Copyright (C) -# 2015: Grupo ESOC -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . - -- !function {model: res.partner, name: _install_partner_firstname} diff --git a/partner_firstname/exceptions.py b/partner_firstname/exceptions.py deleted file mode 100644 index d2fdea566..000000000 --- a/partner_firstname/exceptions.py +++ /dev/null @@ -1,12 +0,0 @@ -# -*- coding: utf-8 -*- -# © 2014-2015 Grupo ESOC () -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -from openerp import _, exceptions - - -class EmptyNamesError(exceptions.ValidationError): - def __init__(self, record, value=_("No name is set.")): - self.record = record - self._value = value - self.name = _("Error(s) with partner %d's name.") % record.id - self.args = (self.name, value) diff --git a/partner_firstname/i18n/am.po b/partner_firstname/i18n/am.po deleted file mode 100644 index 0bd07b30d..000000000 --- a/partner_firstname/i18n/am.po +++ /dev/null @@ -1,57 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-31 00:06+0000\n" -"PO-Revision-Date: 2016-03-11 23:18+0000\n" -"Last-Translator: <>\n" -"Language-Team: Amharic (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "ተባባሪ" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "" diff --git a/partner_firstname/i18n/ar.po b/partner_firstname/i18n/ar.po deleted file mode 100644 index 316ace7f6..000000000 --- a/partner_firstname/i18n/ar.po +++ /dev/null @@ -1,57 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-01-07 04:30+0000\n" -"PO-Revision-Date: 2016-03-11 23:18+0000\n" -"Last-Translator: <>\n" -"Language-Team: Arabic (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "الشريك" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "المستخدمون" diff --git a/partner_firstname/i18n/bg.po b/partner_firstname/i18n/bg.po deleted file mode 100644 index ae31280cd..000000000 --- a/partner_firstname/i18n/bg.po +++ /dev/null @@ -1,57 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-10-06 12:10+0000\n" -"PO-Revision-Date: 2016-03-11 23:18+0000\n" -"Last-Translator: <>\n" -"Language-Team: Bulgarian (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "Партньор" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "" diff --git a/partner_firstname/i18n/bs.po b/partner_firstname/i18n/bs.po deleted file mode 100644 index bcf61f66f..000000000 --- a/partner_firstname/i18n/bs.po +++ /dev/null @@ -1,57 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-31 00:06+0000\n" -"PO-Revision-Date: 2016-03-11 23:18+0000\n" -"Last-Translator: <>\n" -"Language-Team: Bosnian (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "Partner" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "" diff --git a/partner_firstname/i18n/ca.po b/partner_firstname/i18n/ca.po deleted file mode 100644 index 4f2605b5b..000000000 --- a/partner_firstname/i18n/ca.po +++ /dev/null @@ -1,57 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-01-14 05:20+0000\n" -"PO-Revision-Date: 2016-03-11 23:18+0000\n" -"Last-Translator: <>\n" -"Language-Team: Catalan (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "Empresa" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "Usuaris" diff --git a/partner_firstname/i18n/cs.po b/partner_firstname/i18n/cs.po deleted file mode 100644 index f78065718..000000000 --- a/partner_firstname/i18n/cs.po +++ /dev/null @@ -1,57 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-31 00:06+0000\n" -"PO-Revision-Date: 2016-03-11 23:18+0000\n" -"Last-Translator: <>\n" -"Language-Team: Czech (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "Společník" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "" diff --git a/partner_firstname/i18n/da.po b/partner_firstname/i18n/da.po deleted file mode 100644 index f1c4474d3..000000000 --- a/partner_firstname/i18n/da.po +++ /dev/null @@ -1,62 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -# Antonio Trueba, 2016 -# Armando Vulcano Junior , 2015 -# Erwin van der Ploeg , 2016 -# Paolo Valier, 2016 -# Rudolf Schnapka , 2014 -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-01-07 04:30+0000\n" -"PO-Revision-Date: 2016-10-19 12:45+0000\n" -"Last-Translator: OCA Transbot \n" -"Language-Team: Danish (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "Partner" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "Brugere" diff --git a/partner_firstname/i18n/de.po b/partner_firstname/i18n/de.po deleted file mode 100644 index 83d652431..000000000 --- a/partner_firstname/i18n/de.po +++ /dev/null @@ -1,92 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -# Armando Vulcano Junior , 2015 -# Matjaž Mozetič , 2016 -# Rudolf Schnapka , 2016-2017 -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-26 02:52+0000\n" -"PO-Revision-Date: 2017-04-20 12:53+0000\n" -"Last-Translator: Rudolf Schnapka \n" -"Language-Team: German (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "Kontakte erfordern einen Namen." - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "Fehler beim Namen des Partners %d ." - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "Vorname" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "Nachname" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "Kein Name gepflegt." - -#. module: partner_firstname -#: model:ir.model.fields,help:partner_firstname.field_base_config_settings_partner_names_order -msgid "Order to compose partner fullname" -msgstr "Reihenfolge den vollständigen Namen zusammenzustellen" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "Partner" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_base_config_settings_partner_names_order -msgid "Partner names order" -msgstr "Namen-Reihenfolge" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_base_config_settings_partner_names_order_changed -msgid "Partner names order changed" -msgstr "Partnernamen-Reihenfolgeänderung" - -#. module: partner_firstname -#: model:ir.ui.view,arch_db:partner_firstname.view_general_configuration -msgid "Recalculate names" -msgstr "Namen neu ermitteln" - -#. module: partner_firstname -#: model:ir.ui.view,arch_db:partner_firstname.view_general_configuration -msgid "" -"Recalculate names for all partners. This process could take so much time if " -"there are more than 10,000 active partners" -msgstr "Namen aller Partner neu ermitteln. Dieser Vorgang kann, je nach Menge an Partnern, ziemlich lange dauern" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "Anwender" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_base_config_settings -msgid "base.config.settings" -msgstr "base.config.settings" diff --git a/partner_firstname/i18n/el_GR.po b/partner_firstname/i18n/el_GR.po deleted file mode 100644 index 3f88b6c28..000000000 --- a/partner_firstname/i18n/el_GR.po +++ /dev/null @@ -1,57 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-01-07 04:30+0000\n" -"PO-Revision-Date: 2016-03-11 23:18+0000\n" -"Last-Translator: <>\n" -"Language-Team: Greek (Greece) (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "Συνεργάτης" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "Χρήστες" diff --git a/partner_firstname/i18n/en_GB.po b/partner_firstname/i18n/en_GB.po deleted file mode 100644 index d8cdbe467..000000000 --- a/partner_firstname/i18n/en_GB.po +++ /dev/null @@ -1,57 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-31 00:06+0000\n" -"PO-Revision-Date: 2016-03-11 23:18+0000\n" -"Last-Translator: <>\n" -"Language-Team: English (United Kingdom) (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "Partner" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "" diff --git a/partner_firstname/i18n/es.po b/partner_firstname/i18n/es.po deleted file mode 100644 index 3538c332c..000000000 --- a/partner_firstname/i18n/es.po +++ /dev/null @@ -1,62 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -# Francisco Palm , 2015 -# Hotellook, 2014 -# Paolo Valier, 2016 -# Pedro M. Baeza , 2016 -# Rafael Blasco , 2016 -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-20 03:40+0000\n" -"PO-Revision-Date: 2016-12-23 08:32+0000\n" -"Last-Translator: Pedro M. Baeza \n" -"Language-Team: Spanish (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/es/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: es\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: partner_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "El contacto requiere un nombre." - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "Errores con el nombre de la empresa %d." - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "Nombre" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "Apellido" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "No se ha establecido ningún nombre." - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "Empresa" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "Usuarios" diff --git a/partner_firstname/i18n/es_CR.po b/partner_firstname/i18n/es_CR.po deleted file mode 100644 index 5834238c2..000000000 --- a/partner_firstname/i18n/es_CR.po +++ /dev/null @@ -1,57 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-31 00:06+0000\n" -"PO-Revision-Date: 2016-03-11 23:18+0000\n" -"Last-Translator: <>\n" -"Language-Team: Spanish (Costa Rica) (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "Empresa" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "" diff --git a/partner_firstname/i18n/es_EC.po b/partner_firstname/i18n/es_EC.po deleted file mode 100644 index 50b49c71d..000000000 --- a/partner_firstname/i18n/es_EC.po +++ /dev/null @@ -1,57 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-31 00:06+0000\n" -"PO-Revision-Date: 2016-03-11 23:18+0000\n" -"Last-Translator: <>\n" -"Language-Team: Spanish (Ecuador) (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "Empresa" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "" diff --git a/partner_firstname/i18n/es_ES.po b/partner_firstname/i18n/es_ES.po deleted file mode 100644 index 78bad47dc..000000000 --- a/partner_firstname/i18n/es_ES.po +++ /dev/null @@ -1,57 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-01-07 04:30+0000\n" -"PO-Revision-Date: 2016-03-11 23:18+0000\n" -"Last-Translator: <>\n" -"Language-Team: Spanish (Spain) (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/es_ES/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: es_ES\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: partner_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "Usuarios" diff --git a/partner_firstname/i18n/es_MX.po b/partner_firstname/i18n/es_MX.po deleted file mode 100644 index 6d310a5da..000000000 --- a/partner_firstname/i18n/es_MX.po +++ /dev/null @@ -1,57 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-11-30 01:37+0000\n" -"PO-Revision-Date: 2016-03-11 23:18+0000\n" -"Last-Translator: <>\n" -"Language-Team: Spanish (Mexico) (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "Compañero" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "" diff --git a/partner_firstname/i18n/es_VE.po b/partner_firstname/i18n/es_VE.po deleted file mode 100644 index b00367d8f..000000000 --- a/partner_firstname/i18n/es_VE.po +++ /dev/null @@ -1,57 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-31 00:06+0000\n" -"PO-Revision-Date: 2016-03-11 23:18+0000\n" -"Last-Translator: <>\n" -"Language-Team: Spanish (Venezuela) (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "Empresa" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "" diff --git a/partner_firstname/i18n/et.po b/partner_firstname/i18n/et.po deleted file mode 100644 index cc5856506..000000000 --- a/partner_firstname/i18n/et.po +++ /dev/null @@ -1,57 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-31 00:06+0000\n" -"PO-Revision-Date: 2016-03-11 23:18+0000\n" -"Last-Translator: <>\n" -"Language-Team: Estonian (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "Partner" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "" diff --git a/partner_firstname/i18n/eu.po b/partner_firstname/i18n/eu.po deleted file mode 100644 index d5117ab88..000000000 --- a/partner_firstname/i18n/eu.po +++ /dev/null @@ -1,57 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-02-18 04:59+0000\n" -"PO-Revision-Date: 2016-03-11 23:18+0000\n" -"Last-Translator: <>\n" -"Language-Team: Basque (http://www.transifex.com/oca/OCA-partner-contact-9-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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "Kidea" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "" diff --git a/partner_firstname/i18n/fi.po b/partner_firstname/i18n/fi.po deleted file mode 100644 index d0d94d7c4..000000000 --- a/partner_firstname/i18n/fi.po +++ /dev/null @@ -1,57 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-11-24 01:41+0000\n" -"PO-Revision-Date: 2016-03-11 23:18+0000\n" -"Last-Translator: <>\n" -"Language-Team: Finnish (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/fi/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: fi\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: partner_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "Kumppani" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "Käyttäjät" diff --git a/partner_firstname/i18n/fr.po b/partner_firstname/i18n/fr.po deleted file mode 100644 index 4c96e5195..000000000 --- a/partner_firstname/i18n/fr.po +++ /dev/null @@ -1,58 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -# Laurent Mignon (ACSONE) , 2016 -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-06-28 11:23+0000\n" -"PO-Revision-Date: 2016-06-16 15:35+0000\n" -"Last-Translator: Laurent Mignon (ACSONE) \n" -"Language-Team: French (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "Le nom est obligatoire sur les contacts." - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "Erreur(s) avec le num du contact %d." - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "Prénom" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "Nom" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "Aucun nom spécifié." - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "Partenaire" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "Utilisateurs" diff --git a/partner_firstname/i18n/fr_CA.po b/partner_firstname/i18n/fr_CA.po deleted file mode 100644 index ea97711f8..000000000 --- a/partner_firstname/i18n/fr_CA.po +++ /dev/null @@ -1,89 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-26 02:52+0000\n" -"PO-Revision-Date: 2017-04-04 15:25+0000\n" -"Last-Translator: OCA Transbot \n" -"Language-Team: French (Canada) (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,help:partner_firstname.field_base_config_settings_partner_names_order -msgid "Order to compose partner fullname" -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "Partenaire" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_base_config_settings_partner_names_order -msgid "Partner names order" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_base_config_settings_partner_names_order_changed -msgid "Partner names order changed" -msgstr "" - -#. module: partner_firstname -#: model:ir.ui.view,arch_db:partner_firstname.view_general_configuration -msgid "Recalculate names" -msgstr "" - -#. module: partner_firstname -#: model:ir.ui.view,arch_db:partner_firstname.view_general_configuration -msgid "" -"Recalculate names for all partners. This process could take so much time if " -"there are more than 10,000 active partners" -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_base_config_settings -msgid "base.config.settings" -msgstr "" diff --git a/partner_firstname/i18n/fr_CH.po b/partner_firstname/i18n/fr_CH.po deleted file mode 100644 index 3c6f39c70..000000000 --- a/partner_firstname/i18n/fr_CH.po +++ /dev/null @@ -1,58 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -# leemannd , 2016 -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-11-30 01:37+0000\n" -"PO-Revision-Date: 2016-12-01 10:37+0000\n" -"Last-Translator: leemannd \n" -"Language-Team: French (Switzerland) (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "Les contacts nécessitent un nom." - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "Erreur(s) avec le nom de %d." - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "Prénom" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "Nom de famille" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "Le nom n'est pas défini" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "Partenaire" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "Utilisateurs" diff --git a/partner_firstname/i18n/gl.po b/partner_firstname/i18n/gl.po deleted file mode 100644 index 64fae0550..000000000 --- a/partner_firstname/i18n/gl.po +++ /dev/null @@ -1,57 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-31 00:06+0000\n" -"PO-Revision-Date: 2016-03-11 23:18+0000\n" -"Last-Translator: <>\n" -"Language-Team: Galician (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "Empresa" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "" diff --git a/partner_firstname/i18n/hr.po b/partner_firstname/i18n/hr.po deleted file mode 100644 index b88460c33..000000000 --- a/partner_firstname/i18n/hr.po +++ /dev/null @@ -1,57 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-01-07 04:30+0000\n" -"PO-Revision-Date: 2016-03-11 23:18+0000\n" -"Last-Translator: <>\n" -"Language-Team: Croatian (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "Partner" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "Korisnici" diff --git a/partner_firstname/i18n/hr_HR.po b/partner_firstname/i18n/hr_HR.po deleted file mode 100644 index 054bd1169..000000000 --- a/partner_firstname/i18n/hr_HR.po +++ /dev/null @@ -1,58 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -# Bole , 2016 -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-06-28 11:23+0000\n" -"PO-Revision-Date: 2016-06-14 10:58+0000\n" -"Last-Translator: Bole \n" -"Language-Team: Croatian (Croatia) (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "Kontakti moraju imati naziv." - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "Greška(e) u nazivu partnera %d." - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "Ime" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "Prezime" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "Ime nije unešeno." - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "Partner" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "Korisnici" diff --git a/partner_firstname/i18n/hu.po b/partner_firstname/i18n/hu.po deleted file mode 100644 index d343ed87e..000000000 --- a/partner_firstname/i18n/hu.po +++ /dev/null @@ -1,89 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-26 02:52+0000\n" -"PO-Revision-Date: 2017-04-04 15:25+0000\n" -"Last-Translator: OCA Transbot \n" -"Language-Team: Hungarian (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,help:partner_firstname.field_base_config_settings_partner_names_order -msgid "Order to compose partner fullname" -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "Partner" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_base_config_settings_partner_names_order -msgid "Partner names order" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_base_config_settings_partner_names_order_changed -msgid "Partner names order changed" -msgstr "" - -#. module: partner_firstname -#: model:ir.ui.view,arch_db:partner_firstname.view_general_configuration -msgid "Recalculate names" -msgstr "" - -#. module: partner_firstname -#: model:ir.ui.view,arch_db:partner_firstname.view_general_configuration -msgid "" -"Recalculate names for all partners. This process could take so much time if " -"there are more than 10,000 active partners" -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_base_config_settings -msgid "base.config.settings" -msgstr "" diff --git a/partner_firstname/i18n/id.po b/partner_firstname/i18n/id.po deleted file mode 100644 index c76304528..000000000 --- a/partner_firstname/i18n/id.po +++ /dev/null @@ -1,89 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-11-21 01:49+0000\n" -"PO-Revision-Date: 2017-11-19 03:17+0000\n" -"Last-Translator: OCA Transbot \n" -"Language-Team: Indonesian (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/id/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: id\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#. module: partner_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,help:partner_firstname.field_base_config_settings_partner_names_order -msgid "Order to compose partner fullname" -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "Mitra" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_base_config_settings_partner_names_order -msgid "Partner names order" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_base_config_settings_partner_names_order_changed -msgid "Partner names order changed" -msgstr "" - -#. module: partner_firstname -#: model:ir.ui.view,arch_db:partner_firstname.view_general_configuration -msgid "Recalculate names" -msgstr "" - -#. module: partner_firstname -#: model:ir.ui.view,arch_db:partner_firstname.view_general_configuration -msgid "" -"Recalculate names for all partners. This process could take so much time if " -"there are more than 10,000 active partners" -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_base_config_settings -msgid "base.config.settings" -msgstr "" diff --git a/partner_firstname/i18n/it.po b/partner_firstname/i18n/it.po deleted file mode 100644 index 68b6a20df..000000000 --- a/partner_firstname/i18n/it.po +++ /dev/null @@ -1,63 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -# Antonio Trueba, 2016 -# Francisco Palm , 2015 -# Hotellook, 2014 -# Matjaž Mozetič , 2016 -# Paolo Valier, 2016 -# Paolo Valier, 2016 -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-04-14 11:14+0000\n" -"PO-Revision-Date: 2016-04-05 10:01+0000\n" -"Last-Translator: OCA Transbot \n" -"Language-Team: Italian (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "Errore(i) con il nome del partner %d." - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "Nome" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "Cognome" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "Il nome è impostato." - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "Partner" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "Utenti" diff --git a/partner_firstname/i18n/ja.po b/partner_firstname/i18n/ja.po deleted file mode 100644 index e9211d321..000000000 --- a/partner_firstname/i18n/ja.po +++ /dev/null @@ -1,57 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-31 00:06+0000\n" -"PO-Revision-Date: 2016-03-11 23:18+0000\n" -"Last-Translator: <>\n" -"Language-Team: Japanese (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "パートナ" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "" diff --git a/partner_firstname/i18n/lt.po b/partner_firstname/i18n/lt.po deleted file mode 100644 index 579d5db8d..000000000 --- a/partner_firstname/i18n/lt.po +++ /dev/null @@ -1,57 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-31 00:06+0000\n" -"PO-Revision-Date: 2016-03-11 23:18+0000\n" -"Last-Translator: <>\n" -"Language-Team: Lithuanian (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "Partneris" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "" diff --git a/partner_firstname/i18n/lv.po b/partner_firstname/i18n/lv.po deleted file mode 100644 index 74fc87620..000000000 --- a/partner_firstname/i18n/lv.po +++ /dev/null @@ -1,57 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-31 00:06+0000\n" -"PO-Revision-Date: 2016-03-11 23:18+0000\n" -"Last-Translator: <>\n" -"Language-Team: Latvian (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "Partneris" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "" diff --git a/partner_firstname/i18n/mk.po b/partner_firstname/i18n/mk.po deleted file mode 100644 index 722851697..000000000 --- a/partner_firstname/i18n/mk.po +++ /dev/null @@ -1,57 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-31 00:06+0000\n" -"PO-Revision-Date: 2016-03-11 23:18+0000\n" -"Last-Translator: <>\n" -"Language-Team: Macedonian (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "Партнер" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "" diff --git a/partner_firstname/i18n/mn.po b/partner_firstname/i18n/mn.po deleted file mode 100644 index 4a748bd1a..000000000 --- a/partner_firstname/i18n/mn.po +++ /dev/null @@ -1,57 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-31 00:06+0000\n" -"PO-Revision-Date: 2016-03-11 23:18+0000\n" -"Last-Translator: <>\n" -"Language-Team: Mongolian (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "Харилцагч" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "" diff --git a/partner_firstname/i18n/nb.po b/partner_firstname/i18n/nb.po deleted file mode 100644 index 1ef6d9b50..000000000 --- a/partner_firstname/i18n/nb.po +++ /dev/null @@ -1,57 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-31 00:06+0000\n" -"PO-Revision-Date: 2016-03-11 23:18+0000\n" -"Last-Translator: <>\n" -"Language-Team: Norwegian Bokmål (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "Partner" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "" diff --git a/partner_firstname/i18n/nb_NO.po b/partner_firstname/i18n/nb_NO.po deleted file mode 100644 index 496294ddf..000000000 --- a/partner_firstname/i18n/nb_NO.po +++ /dev/null @@ -1,57 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-31 00:06+0000\n" -"PO-Revision-Date: 2016-03-11 23:18+0000\n" -"Last-Translator: <>\n" -"Language-Team: Norwegian Bokmål (Norway) (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "Partner" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "" diff --git a/partner_firstname/i18n/nl.po b/partner_firstname/i18n/nl.po deleted file mode 100644 index 5c0886220..000000000 --- a/partner_firstname/i18n/nl.po +++ /dev/null @@ -1,63 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -# Antonio Trueba, 2016 -# Armando Vulcano Junior , 2015 -# Erwin van der Ploeg , 2016 -# Francisco Palm , 2015 -# lfreeke , 2015 -# Matjaž Mozetič , 2015-2016 -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-04-14 11:14+0000\n" -"PO-Revision-Date: 2016-04-05 10:01+0000\n" -"Last-Translator: OCA Transbot \n" -"Language-Team: Dutch (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "Een naam in verplicht bij een contact" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "Fout(en) met relatie %d's naam" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "Voornaam" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "Achternaam" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "Er is geen naam ingesteld" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "Relatie" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "Gebruikers" diff --git a/partner_firstname/i18n/nl_BE.po b/partner_firstname/i18n/nl_BE.po deleted file mode 100644 index 0cee0a09e..000000000 --- a/partner_firstname/i18n/nl_BE.po +++ /dev/null @@ -1,57 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-31 00:06+0000\n" -"PO-Revision-Date: 2016-03-11 23:18+0000\n" -"Last-Translator: <>\n" -"Language-Team: Dutch (Belgium) (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "Relatie" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "" diff --git a/partner_firstname/i18n/pl.po b/partner_firstname/i18n/pl.po deleted file mode 100644 index 50df9c659..000000000 --- a/partner_firstname/i18n/pl.po +++ /dev/null @@ -1,57 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-31 00:06+0000\n" -"PO-Revision-Date: 2016-03-11 23:18+0000\n" -"Last-Translator: <>\n" -"Language-Team: Polish (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" - -#. module: partner_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "Partner" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "" diff --git a/partner_firstname/i18n/pt.po b/partner_firstname/i18n/pt.po deleted file mode 100644 index e41305031..000000000 --- a/partner_firstname/i18n/pt.po +++ /dev/null @@ -1,57 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-11-24 01:41+0000\n" -"PO-Revision-Date: 2016-03-11 23:18+0000\n" -"Last-Translator: <>\n" -"Language-Team: Portuguese (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "Parceiro" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "" diff --git a/partner_firstname/i18n/pt_BR.po b/partner_firstname/i18n/pt_BR.po deleted file mode 100644 index f40b3206c..000000000 --- a/partner_firstname/i18n/pt_BR.po +++ /dev/null @@ -1,65 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -# Armando Vulcano Junior , 2015 -# Christophe CHAUVET , 2015 -# Christophe CHAUVET , 2015 -# danimaribeiro , 2015 -# FIRST AUTHOR , 2014 -# Hans Henrik Gabelgaard , 2015 -# Paolo Valier, 2016 -# Rudolf Schnapka , 2016 -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-11-24 01:41+0000\n" -"PO-Revision-Date: 2016-10-24 09:24+0000\n" -"Last-Translator: OCA Transbot \n" -"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/pt_BR/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: pt_BR\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" - -#. module: partner_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "Parceiro" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "Usuários" diff --git a/partner_firstname/i18n/pt_PT.po b/partner_firstname/i18n/pt_PT.po deleted file mode 100644 index 0c904af53..000000000 --- a/partner_firstname/i18n/pt_PT.po +++ /dev/null @@ -1,57 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-31 00:06+0000\n" -"PO-Revision-Date: 2016-03-11 23:18+0000\n" -"Last-Translator: <>\n" -"Language-Team: Portuguese (Portugal) (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "Parceiro" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "" diff --git a/partner_firstname/i18n/ro.po b/partner_firstname/i18n/ro.po deleted file mode 100644 index 52afc2984..000000000 --- a/partner_firstname/i18n/ro.po +++ /dev/null @@ -1,57 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-31 00:06+0000\n" -"PO-Revision-Date: 2016-03-11 23:18+0000\n" -"Last-Translator: <>\n" -"Language-Team: Romanian (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "Partener" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "" diff --git a/partner_firstname/i18n/ru.po b/partner_firstname/i18n/ru.po deleted file mode 100644 index 8bf9faa03..000000000 --- a/partner_firstname/i18n/ru.po +++ /dev/null @@ -1,57 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-31 00:06+0000\n" -"PO-Revision-Date: 2016-03-11 23:18+0000\n" -"Last-Translator: <>\n" -"Language-Team: Russian (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "Контрагент" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "" diff --git a/partner_firstname/i18n/sk.po b/partner_firstname/i18n/sk.po deleted file mode 100644 index 0260c67df..000000000 --- a/partner_firstname/i18n/sk.po +++ /dev/null @@ -1,57 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-20 03:40+0000\n" -"PO-Revision-Date: 2016-03-11 23:18+0000\n" -"Last-Translator: <>\n" -"Language-Team: Slovak (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "Partner" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "" diff --git a/partner_firstname/i18n/sl.po b/partner_firstname/i18n/sl.po deleted file mode 100644 index 1656b3e8e..000000000 --- a/partner_firstname/i18n/sl.po +++ /dev/null @@ -1,91 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -# Ahmet Altinisik , 2016 -# Matjaž Mozetič , 2015-2016 -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-26 02:52+0000\n" -"PO-Revision-Date: 2017-04-25 17:36+0000\n" -"Last-Translator: OCA Transbot \n" -"Language-Team: Slovenian (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "Za stike je potrebno ime." - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "Napaka(e) pri nazivu partnerja %d's ." - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "Lastno ime" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "Priimek" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "Ime ni nastavljeno." - -#. module: partner_firstname -#: model:ir.model.fields,help:partner_firstname.field_base_config_settings_partner_names_order -msgid "Order to compose partner fullname" -msgstr "Vrstni red za sestavo polnega naziva partnerja" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "Partner" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_base_config_settings_partner_names_order -msgid "Partner names order" -msgstr "Vrstni red nazivov partnerja" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_base_config_settings_partner_names_order_changed -msgid "Partner names order changed" -msgstr "Vrstni red nazivov partnerja spremenjen" - -#. module: partner_firstname -#: model:ir.ui.view,arch_db:partner_firstname.view_general_configuration -msgid "Recalculate names" -msgstr "Preračunaj nazive" - -#. module: partner_firstname -#: model:ir.ui.view,arch_db:partner_firstname.view_general_configuration -msgid "" -"Recalculate names for all partners. This process could take so much time if " -"there are more than 10,000 active partners" -msgstr "Preračunaj nazive za vse partnerje. Proces lahko traja zelo dolgo če je več kot 10,000 aktivnih partnerjev" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "Uporabniki" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_base_config_settings -msgid "base.config.settings" -msgstr "" diff --git a/partner_firstname/i18n/sr@latin.po b/partner_firstname/i18n/sr@latin.po deleted file mode 100644 index fe5580a00..000000000 --- a/partner_firstname/i18n/sr@latin.po +++ /dev/null @@ -1,57 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-31 00:06+0000\n" -"PO-Revision-Date: 2016-03-11 23:18+0000\n" -"Last-Translator: <>\n" -"Language-Team: Serbian (Latin) (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "Partner" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "" diff --git a/partner_firstname/i18n/sv.po b/partner_firstname/i18n/sv.po deleted file mode 100644 index 9796ce6c0..000000000 --- a/partner_firstname/i18n/sv.po +++ /dev/null @@ -1,57 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-31 00:06+0000\n" -"PO-Revision-Date: 2016-03-11 23:18+0000\n" -"Last-Translator: <>\n" -"Language-Team: Swedish (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "Företag" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "" diff --git a/partner_firstname/i18n/th.po b/partner_firstname/i18n/th.po deleted file mode 100644 index 0ce9dfa2c..000000000 --- a/partner_firstname/i18n/th.po +++ /dev/null @@ -1,57 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-31 00:06+0000\n" -"PO-Revision-Date: 2016-03-11 23:18+0000\n" -"Last-Translator: <>\n" -"Language-Team: Thai (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "พาร์ทเนอร์" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "" diff --git a/partner_firstname/i18n/tr.po b/partner_firstname/i18n/tr.po deleted file mode 100644 index 7475e2829..000000000 --- a/partner_firstname/i18n/tr.po +++ /dev/null @@ -1,58 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -# Ahmet Altinisik , 2016 -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-31 00:06+0000\n" -"PO-Revision-Date: 2016-12-30 22:03+0000\n" -"Last-Translator: Ahmet Altinisik \n" -"Language-Team: Turkish (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "kişiye ad girilmesi zorunludur." - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "iş ortağı %d'nin adında hata(lar)." - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "Adı" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "Soyadı" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "Ad girilmemiş" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "İş Ortağı" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "Kullanıcılar" diff --git a/partner_firstname/i18n/tr_TR.po b/partner_firstname/i18n/tr_TR.po deleted file mode 100644 index fc6fae5ff..000000000 --- a/partner_firstname/i18n/tr_TR.po +++ /dev/null @@ -1,57 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-01-06 03:40+0000\n" -"PO-Revision-Date: 2016-03-11 23:18+0000\n" -"Last-Translator: <>\n" -"Language-Team: Turkish (Turkey) (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "Ortak" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "Kullanıcılar" diff --git a/partner_firstname/i18n/vi.po b/partner_firstname/i18n/vi.po deleted file mode 100644 index afc28be60..000000000 --- a/partner_firstname/i18n/vi.po +++ /dev/null @@ -1,57 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-31 00:06+0000\n" -"PO-Revision-Date: 2016-03-11 23:18+0000\n" -"Last-Translator: <>\n" -"Language-Team: Vietnamese (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "Đối tác" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "" diff --git a/partner_firstname/i18n/zh_CN.po b/partner_firstname/i18n/zh_CN.po deleted file mode 100644 index 3b2424ffb..000000000 --- a/partner_firstname/i18n/zh_CN.po +++ /dev/null @@ -1,57 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-01-07 04:30+0000\n" -"PO-Revision-Date: 2016-03-11 23:18+0000\n" -"Last-Translator: <>\n" -"Language-Team: Chinese (China) (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "业务伙伴" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "用户" diff --git a/partner_firstname/i18n/zh_TW.po b/partner_firstname/i18n/zh_TW.po deleted file mode 100644 index 52d09b034..000000000 --- a/partner_firstname/i18n/zh_TW.po +++ /dev/null @@ -1,57 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_firstname -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: partner-contact (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-31 00:06+0000\n" -"PO-Revision-Date: 2016-03-11 23:18+0000\n" -"Last-Translator: <>\n" -"Language-Team: Chinese (Taiwan) (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/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_firstname -#: sql_constraint:res.partner:0 -msgid "Contacts require a name." -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:11 -#, python-format -msgid "Error(s) with partner %d's name." -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname -msgid "First name" -msgstr "" - -#. module: partner_firstname -#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname -#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname -msgid "Last name" -msgstr "" - -#. module: partner_firstname -#: code:addons/partner_firstname/exceptions.py:8 -#, python-format -msgid "No name is set." -msgstr "" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_partner -msgid "Partner" -msgstr "夥伴" - -#. module: partner_firstname -#: model:ir.model,name:partner_firstname.model_res_users -msgid "Users" -msgstr "" diff --git a/partner_firstname/models/__init__.py b/partner_firstname/models/__init__.py deleted file mode 100644 index 05e809bb7..000000000 --- a/partner_firstname/models/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# -*- coding: utf-8 -*- -# © 2015 Antiun Ingenieria S.L. - Antonio Espinosa -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - -from . import base_config_settings -from . import res_partner -from . import res_users diff --git a/partner_firstname/models/base_config_settings.py b/partner_firstname/models/base_config_settings.py deleted file mode 100644 index f438e42b7..000000000 --- a/partner_firstname/models/base_config_settings.py +++ /dev/null @@ -1,70 +0,0 @@ -# -*- coding: utf-8 -*- -# © 2015 Antiun Ingenieria S.L. - Antonio Espinosa -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - -import logging -from openerp import models, fields, api -_logger = logging.getLogger(__name__) - - -class BaseConfigSettings(models.TransientModel): - _inherit = 'base.config.settings' - - partner_names_order = fields.Selection( - string="Partner names order", - selection="_partner_names_order_selection", - help="Order to compose partner fullname", - required=True) - partner_names_order_changed = fields.Boolean( - readonly=True, compute="_compute_names_order_changed") - - def _partner_names_order_selection(self): - return [ - ('first_last', 'Firstname Lastname'), - ('last_first', 'Lastname Firstname'), - ('last_first_comma', 'Lastname, Firstname'), - ] - - def _partner_names_order_default(self): - return self.env['res.partner']._names_order_default() - - @api.multi - def get_default_partner_names_order(self): - return { - 'partner_names_order': self.env['ir.config_parameter'].get_param( - 'partner_names_order', self._partner_names_order_default()), - } - - @api.multi - @api.depends('partner_names_order') - def _compute_names_order_changed(self): - current = self.env['ir.config_parameter'].get_param( - 'partner_names_order', self._partner_names_order_default()) - for record in self: - record.partner_names_order_changed = bool( - record.partner_names_order != current - ) - - @api.onchange('partner_names_order') - def _onchange_partner_names_order(self): - self.partner_names_order_changed = self._compute_names_order_changed() - - @api.multi - def set_partner_names_order(self): - self.env['ir.config_parameter'].set_param( - 'partner_names_order', self.partner_names_order) - - @api.multi - def _partners_for_recalculating(self): - return self.env['res.partner'].search([ - ('is_company', '=', False), - ('firstname', '!=', False), ('lastname', '!=', False), - ]) - - @api.multi - def action_recalculate_partners_name(self): - partners = self._partners_for_recalculating() - _logger.info("Recalculating names for %d partners.", len(partners)) - partners._compute_name() - _logger.info("%d partners updated.", len(partners)) - return True diff --git a/partner_firstname/models/res_partner.py b/partner_firstname/models/res_partner.py deleted file mode 100644 index 014e2d80c..000000000 --- a/partner_firstname/models/res_partner.py +++ /dev/null @@ -1,232 +0,0 @@ -# -*- coding: utf-8 -*- -# © 2013 Nicolas Bessi (Camptocamp SA) -# © 2014 Agile Business Group () -# © 2015 Grupo ESOC () -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - -import logging -from openerp import api, fields, models -from .. import exceptions - - -_logger = logging.getLogger(__name__) - - -class ResPartner(models.Model): - """Adds last name and first name; name becomes a stored function field.""" - _inherit = 'res.partner' - - firstname = fields.Char("First name") - lastname = fields.Char("Last name") - name = fields.Char( - compute="_compute_name", - inverse="_inverse_name_after_cleaning_whitespace", - required=False, - store=True) - - @api.model - def create(self, vals): - """Add inverted names at creation if unavailable.""" - context = dict(self.env.context) - name = vals.get("name", context.get("default_name")) - - if name is not None: - # Calculate the splitted fields - inverted = self._get_inverse_name( - self._get_whitespace_cleaned_name(name), - vals.get("is_company", - self.default_get(["is_company"])["is_company"])) - - for key, value in inverted.iteritems(): - if not vals.get(key) or context.get("copy"): - vals[key] = value - - # Remove the combined fields - if "name" in vals: - del vals["name"] - if "default_name" in context: - del context["default_name"] - - return super(ResPartner, self.with_context(context)).create(vals) - - @api.multi - def copy(self, default=None): - """Ensure partners are copied right. - - Odoo adds ``(copy)`` to the end of :attr:`~.name`, but that would get - ignored in :meth:`~.create` because it also copies explicitly firstname - and lastname fields. - """ - return super(ResPartner, self.with_context(copy=True)).copy(default) - - @api.model - def default_get(self, fields_list): - """Invert name when getting default values.""" - result = super(ResPartner, self).default_get(fields_list) - - inverted = self._get_inverse_name( - self._get_whitespace_cleaned_name(result.get("name", "")), - result.get("is_company", False)) - - for field in inverted.keys(): - if field in fields_list: - result[field] = inverted.get(field) - - return result - - @api.model - def _names_order_default(self): - return 'last_first' - - @api.model - def _get_names_order(self): - """Get names order configuration from system parameters. - You can override this method to read configuration from language, - country, company or other""" - return self.env['ir.config_parameter'].get_param( - 'partner_names_order', self._names_order_default()) - - @api.model - def _get_computed_name(self, lastname, firstname): - """Compute the 'name' field according to splitted data. - You can override this method to change the order of lastname and - firstname the computed name""" - order = self._get_names_order() - if order == 'last_first_comma': - return u", ".join((p for p in (lastname, firstname) if p)) - elif order == 'first_last': - return u" ".join((p for p in (firstname, lastname) if p)) - else: - return u" ".join((p for p in (lastname, firstname) if p)) - - @api.one - @api.depends("firstname", "lastname") - def _compute_name(self): - """Write the 'name' field according to splitted data.""" - self.name = self._get_computed_name(self.lastname, self.firstname) - - @api.one - def _inverse_name_after_cleaning_whitespace(self): - """Clean whitespace in :attr:`~.name` and split it. - - The splitting logic is stored separately in :meth:`~._inverse_name`, so - submodules can extend that method and get whitespace cleaning for free. - """ - # Remove unneeded whitespace - clean = self._get_whitespace_cleaned_name(self.name) - - # Clean name avoiding infinite recursion - if self.name != clean: - self.name = clean - - # Save name in the real fields - else: - self._inverse_name() - - @api.model - def _get_whitespace_cleaned_name(self, name, comma=False): - """Remove redundant whitespace from :param:`name`. - - Removes leading, trailing and duplicated whitespace. - """ - if name: - name = u" ".join(name.split(None)) - if comma: - name = name.replace(" ,", ",") - name = name.replace(", ", ",") - return name - - @api.model - def _get_inverse_name(self, name, is_company=False): - """Compute the inverted name. - - - If the partner is a company, save it in the lastname. - - Otherwise, make a guess. - - This method can be easily overriden by other submodules. - You can also override this method to change the order of name's - attributes - - When this method is called, :attr:`~.name` already has unified and - trimmed whitespace. - """ - # Company name goes to the lastname - if is_company or not name: - parts = [name or False, False] - # Guess name splitting - else: - order = self._get_names_order() - # Remove redundant spaces - name = self._get_whitespace_cleaned_name( - name, comma=(order == 'last_first_comma')) - parts = name.split("," if order == 'last_first_comma' else " ", 1) - if len(parts) > 1: - if order == 'first_last': - parts = [u" ".join(parts[1:]), parts[0]] - else: - parts = [parts[0], u" ".join(parts[1:])] - else: - while len(parts) < 2: - parts.append(False) - return {"lastname": parts[0], "firstname": parts[1]} - - @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) - self.lastname, self.firstname = parts["lastname"], parts["firstname"] - - @api.one - @api.constrains("firstname", "lastname") - def _check_name(self): - """Ensure at least one name is set.""" - if ((self.type == 'contact' or self.is_company) and - not (self.firstname or self.lastname)): - raise exceptions.EmptyNamesError(self) - - @api.one - @api.onchange("firstname", "lastname") - def _onchange_subnames(self): - """Avoid recursion when the user changes one of these fields. - - This forces to skip the :attr:`~.name` inversion when the user is - setting it in a not-inverted way. - """ - # Modify self's context without creating a new Environment. - # See https://github.com/odoo/odoo/issues/7472#issuecomment-119503916. - self.env.context = self.with_context(skip_onchange=True).env.context - - @api.one - @api.onchange("name") - def _onchange_name(self): - """Ensure :attr:`~.name` is inverted in the UI.""" - if self.env.context.get("skip_onchange"): - # Do not skip next onchange - self.env.context = ( - self.with_context(skip_onchange=False).env.context) - else: - self._inverse_name_after_cleaning_whitespace() - - @api.model - def _install_partner_firstname(self): - """Save names correctly in the database. - - Before installing the module, field ``name`` contains all full names. - When installing it, this method parses those names and saves them - correctly into the database. This can be called later too if needed. - """ - # Find records with empty firstname and lastname - records = self.search([("firstname", "=", False), - ("lastname", "=", False)]) - - # Force calculations there - records._inverse_name() - _logger.info("%d partners updated installing module.", len(records)) - - # Disabling SQL constraint givint a more explicit error using a Python - # contstraint - _sql_constraints = [( - 'check_name', - "CHECK( 1=1 )", - 'Contacts require a name.' - )] diff --git a/partner_firstname/models/res_users.py b/partner_firstname/models/res_users.py deleted file mode 100644 index efe6f9a9f..000000000 --- a/partner_firstname/models/res_users.py +++ /dev/null @@ -1,37 +0,0 @@ -# -*- coding: utf-8 -*- -# © 2013 Nicolas Bessi (Camptocamp SA) -# © 2014 Agile Business Group () -# © 2015 Grupo ESOC () -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -import logging -from openerp import api, models - - -_logger = logging.getLogger(__name__) - - -class ResUser(models.Model): - _inherit = 'res.users' - - @api.model - def default_get(self, fields_list): - """Invert name when getting default values.""" - result = super(ResUser, self).default_get(fields_list) - - partner_model = self.env['res.partner'] - inverted = partner_model._get_inverse_name( - partner_model._get_whitespace_cleaned_name(result.get("name", "")), - result.get("is_company", False)) - - for field in inverted.keys(): - if field in fields_list: - result[field] = inverted.get(field) - - return result - - @api.onchange("firstname", "lastname") - def _compute_name(self): - """Write the 'name' field according to splitted data.""" - for rec in self: - rec.name = rec.partner_id._get_computed_name( - rec.lastname, rec.firstname) diff --git a/partner_firstname/static/description/icon.png b/partner_firstname/static/description/icon.png deleted file mode 100644 index 3a0328b516c4980e8e44cdb63fd945757ddd132d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9455 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 z 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 Xviia!U7SGha1wx#SCgwmn*{w2TRX*I diff --git a/partner_firstname/tests/__init__.py b/partner_firstname/tests/__init__.py deleted file mode 100644 index e85089b63..000000000 --- a/partner_firstname/tests/__init__.py +++ /dev/null @@ -1,14 +0,0 @@ -# -*- coding: utf-8 -*- -# © 2014 Nemry Jonathan (Acsone SA/NV) (http://www.acsone.eu) -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - -from . import ( - test_create, - test_defaults, - test_delete, - test_empty, - test_name, - test_onchange, - test_user_onchange, - test_order, -) diff --git a/partner_firstname/tests/base.py b/partner_firstname/tests/base.py deleted file mode 100644 index 15a2c795d..000000000 --- a/partner_firstname/tests/base.py +++ /dev/null @@ -1,74 +0,0 @@ -# -*- coding: utf-8 -*- -# © 2014 Nemry Jonathan (Acsone SA/NV) (http://www.acsone.eu) -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - -from openerp.tests.common import TransactionCase -from .. import exceptions as ex - - -class MailInstalled(): - def mail_installed(self): - """Check if ``mail`` module is installed.``""" - return (self.env["ir.module.module"] - .search([("name", "=", "mail")]) - .state == "installed") - - -class BaseCase(TransactionCase, MailInstalled): - def setUp(self): - super(BaseCase, self).setUp() - self.check_fields = True - self.expect(u"Núñez", u"Fernán") - self.create_original() - - def create_original(self): - self.original = self.env["res.partner"].create({ - "lastname": self.lastname, - "firstname": self.firstname}) - - def expect(self, lastname, firstname, name=None): - """Define what is expected in each field when ending.""" - self.lastname = lastname - self.firstname = firstname - self.name = name or u"%s %s" % (lastname, firstname) - - def tearDown(self): - if self.check_fields: - if not hasattr(self, "changed"): - self.changed = self.original - - for field in ("name", "lastname", "firstname"): - self.assertEqual( - getattr(self.changed, field), - getattr(self, field), - "Test failed with wrong %s" % field) - - super(BaseCase, self).tearDown() - - def test_copy(self): - """Copy the partner and compare the result.""" - self.expect(self.lastname, u"%s (copy)" % self.firstname) - self.changed = (self.original.with_context(copy=True, lang="en_US") - .copy()) - - def test_one_name(self): - """Test what happens when only one name is given.""" - name = u"Mönty" - self.expect(name, False, name) - self.original.name = name - - def test_no_names(self): - """Test that you cannot set a partner/user without names.""" - self.check_fields = False - with self.assertRaises(ex.EmptyNamesError): - self.original.firstname = self.original.lastname = False - - -class OnChangeCase(TransactionCase): - is_company = False - - def new_partner(self): - """Create an empty partner. Ensure it is (or not) a company.""" - new = self.env["res.partner"].new() - new.is_company = self.is_company - return new diff --git a/partner_firstname/tests/test_create.py b/partner_firstname/tests/test_create.py deleted file mode 100644 index 551939f21..000000000 --- a/partner_firstname/tests/test_create.py +++ /dev/null @@ -1,81 +0,0 @@ -# -*- coding: utf-8 -*- -# © 2015 Grupo ESOC Ingeniería de Servicios, S.L. - Jairo Llopis. -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - -"""Test default values for models.""" - -from openerp.tests.common import TransactionCase -from .base import MailInstalled - - -class PersonCase(TransactionCase): - """Test ``res.partner`` when it is a person.""" - context = {"default_is_company": False} - model = "res.partner" - - def setUp(self): - super(PersonCase, self).setUp() - self.good_values = { - "firstname": u"Núñez", - "lastname": u"Fernán", - } - self.good_values["name"] = "%s %s" % (self.good_values["lastname"], - self.good_values["firstname"]) - if "default_is_company" in self.context: - self.good_values["is_company"] = self.context["default_is_company"] - self.values = self.good_values.copy() - - def tearDown(self): - self.record = (self.env[self.model] - .with_context(self.context) - .create(self.values)) - for key, value in self.good_values.iteritems(): - self.assertEqual( - self.record[key], - value, - "Checking key %s" % key) - - super(PersonCase, self).tearDown() - - def test_no_name(self): - """Name is calculated.""" - del self.values["name"] - - def test_wrong_name_value(self): - """Wrong name value is ignored, name is calculated.""" - self.values["name"] = u"BÄD" - - def test_wrong_name_context(self): - """Wrong name context is ignored, name is calculated.""" - del self.values["name"] - self.context["default_name"] = u"BÄD" - - def test_wrong_name_value_and_context(self): - """Wrong name value and context is ignored, name is calculated.""" - self.values["name"] = u"BÄD1" - self.context["default_name"] = u"BÄD2" - - -class CompanyCase(PersonCase): - """Test ``res.partner`` when it is a company.""" - context = {"default_is_company": True} - - def setUp(self): - super(CompanyCase, self).setUp() - self.good_values.update(lastname=self.values["name"], firstname=False) - self.values = self.good_values.copy() - - -class UserCase(PersonCase, MailInstalled): - """Test ``res.users``.""" - model = "res.users" - context = {"default_login": "user@example.com"} - - def tearDown(self): - # Cannot create users if ``mail`` is installed - if self.mail_installed(): - # Skip tests - super(PersonCase, self).tearDown() - else: - # Run tests - super(UserCase, self).tearDown() diff --git a/partner_firstname/tests/test_defaults.py b/partner_firstname/tests/test_defaults.py deleted file mode 100644 index ab6c3a969..000000000 --- a/partner_firstname/tests/test_defaults.py +++ /dev/null @@ -1,65 +0,0 @@ -# -*- coding: utf-8 -*- -# © 2015 Grupo ESOC Ingeniería de Servicios, S.L. - Jairo Llopis. -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - -"""Test default values for models.""" - -from openerp.tests.common import TransactionCase -from .base import MailInstalled - - -class PersonCase(TransactionCase): - """Test ``res.partner`` when it is a person.""" - context = {"default_is_company": False} - model = "res.partner" - - def setUp(self): - super(PersonCase, self).setUp() - self.values = { - "firstname": u"Núñez", - "lastname": u"Fernán", - } - self.values["name"] = "%s %s" % (self.values["lastname"], - self.values["firstname"]) - if "default_is_company" in self.context: - self.values["is_company"] = self.context["default_is_company"] - - def tearDown(self): - for key, value in self.values.iteritems(): - self.assertEqual( - self.defaults.get(key), - value, - "Checking key %s" % key) - - return super(PersonCase, self).tearDown() - - def test_default_get(self): - """Getting default values for fields includes new fields.""" - self.defaults = (self.env[self.model] - .with_context(self.context, - default_name=self.values["name"]) - .default_get(self.values.keys())) - - -class CompanyCase(PersonCase): - """Test ``res.partner`` when it is a company.""" - context = {"default_is_company": True} - - def tearDown(self): - self.values.update(lastname=self.values["name"], firstname=False) - return super(CompanyCase, self).tearDown() - - -class UserCase(PersonCase, MailInstalled): - """Test ``res.users``.""" - model = "res.users" - context = {"default_login": "user@example.com"} - - def tearDown(self): - # Cannot create users if ``mail`` is installed - if self.mail_installed(): - # Skip tests - super(PersonCase, self).tearDown() - else: - # Run tests - super(UserCase, self).tearDown() diff --git a/partner_firstname/tests/test_delete.py b/partner_firstname/tests/test_delete.py deleted file mode 100644 index 0729502f1..000000000 --- a/partner_firstname/tests/test_delete.py +++ /dev/null @@ -1,38 +0,0 @@ -# -*- coding: utf-8 -*- -# © 2015 Grupo ESOC -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - -from openerp.tests.common import TransactionCase -from .base import MailInstalled - - -class CompanyCase(TransactionCase): - model = "res.partner" - context = {"default_is_company": True} - - def test_computing_after_unlink(self): - """Test what happens if recomputed after unlinking. - - This test might seem useless, but really this happens when module - ``partner_relations`` is installed. - - See https://github.com/OCA/partner-contact/issues/154. - """ - data = {"name": u"Söme name"} - record = self.env[self.model].with_context(**self.context).create(data) - record.unlink() - record.recompute() - - -class PersonCase(CompanyCase): - context = {"default_is_company": False} - - -class UserCase(CompanyCase, MailInstalled): - model = "res.users" - context = {"default_login": "user@example.com"} - - def test_computing_after_unlink(self): - # Cannot create users if ``mail`` is installed - if not self.mail_installed(): - super(UserCase, self).test_computing_after_unlink() diff --git a/partner_firstname/tests/test_empty.py b/partner_firstname/tests/test_empty.py deleted file mode 100644 index 4728ca20c..000000000 --- a/partner_firstname/tests/test_empty.py +++ /dev/null @@ -1,74 +0,0 @@ -# -*- coding: utf-8 -*- -# © 2014-2015 Grupo ESOC -# © 2016 Yannick Vaucher (Camptocamp) -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -"""Test situations where names are empty. - -To have more accurate results, remove the ``mail`` module before testing. -""" -from openerp.tests.common import TransactionCase -from .base import MailInstalled -from .. import exceptions as ex - - -class CompanyCase(TransactionCase): - """Test ``res.partner`` when it is a company.""" - model = "res.partner" - context = {"default_is_company": True} - - def tearDown(self): - try: - data = {"name": self.name} - model = self.env[self.model].with_context(**self.context) - with self.assertRaises(ex.EmptyNamesError): - model.create(data) - finally: - super(CompanyCase, self).tearDown() - - def test_name_empty_string(self): - """Test what happens when the name is an empty string.""" - self.name = "" - - def test_name_false(self): - """Test what happens when the name is ``False``.""" - self.name = False - - -class PersonCase(CompanyCase): - """Test ``res.partner`` when it is a person.""" - context = {"default_is_company": False, "default_type": 'contact'} - - -class UserCase(CompanyCase, MailInstalled): - """Test ``res.users``.""" - model = "res.users" - context = {"default_login": "user@example.com"} - - def tearDown(self): - # Cannot create users if ``mail`` is installed - if self.mail_installed(): - # Skip tests - super(CompanyCase, self).tearDown() - else: - # Run tests - super(UserCase, self).tearDown() - - -class AddressCase(TransactionCase): - """Test ``res.partner`` when it is a address.""" - - def test_new_empty_invoice_address(self): - """Create an invoice patner without name.""" - self.original = self.env["res.partner"].create({ - "is_company": False, - "type": 'invoice', - "lastname": "", - "firstname": ""}) - - def test_new_empty_shipping_address(self): - """Create an shipping patner without name.""" - self.original = self.env["res.partner"].create({ - "is_company": False, - "type": 'delivery', - "lastname": "", - "firstname": ""}) diff --git a/partner_firstname/tests/test_name.py b/partner_firstname/tests/test_name.py deleted file mode 100644 index f471ad16e..000000000 --- a/partner_firstname/tests/test_name.py +++ /dev/null @@ -1,90 +0,0 @@ -# -*- coding: utf-8 -*- - -# Authors: Nemry Jonathan -# Copyright (c) 2014 Acsone SA/NV (http://www.acsone.eu) -# All Rights Reserved -# -# WARNING: This program as such is intended to be used by professional -# programmers who take the whole responsibility of assessing all potential -# consequences resulting from its eventual inadequacies and bugs. -# End users who are looking for a ready-to-use solution with commercial -# guarantees and support are strongly advised to contact a Free Software -# Service Company. -# -# This program is Free Software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -"""Test naming logic. - -To have more accurate results, remove the ``mail`` module before testing. -""" - -from .base import BaseCase - - -class PartnerContactCase(BaseCase): - def test_update_lastname(self): - """Change lastname.""" - self.expect(u"newlästname", self.firstname) - self.original.name = self.name - - def test_update_firstname(self): - """Change firstname.""" - self.expect(self.lastname, u"newfïrstname") - self.original.name = self.name - - def test_whitespace_cleanup(self): - """Check that whitespace in name gets cleared.""" - self.expect(u"newlästname", u"newfïrstname") - self.original.name = " newlästname newfïrstname " - - # Need this to refresh the ``name`` field - self.original.invalidate_cache() - - -class PartnerCompanyCase(BaseCase): - def create_original(self): - super(PartnerCompanyCase, self).create_original() - self.original.is_company = True - - def test_copy(self): - """Copy the partner and compare the result.""" - super(PartnerCompanyCase, self).test_copy() - self.expect(self.name, False, self.name) - - def test_company_inverse(self): - """Test the inverse method in a company record.""" - name = u"Thïs is a Companŷ" - self.expect(name, False, name) - self.original.name = name - - -class UserCase(PartnerContactCase): - def create_original(self): - name = u"%s %s" % (self.lastname, self.firstname) - - # Cannot create users if ``mail`` is installed - if self.mail_installed(): - self.original = self.env.ref("base.user_demo") - self.original.name = name - else: - self.original = self.env["res.users"].create({ - "name": name, - "login": "firstnametest@example.com"}) - - def test_copy(self): - """Copy the partner and compare the result.""" - # Skip if ``mail`` is installed - if not self.mail_installed(): - super(UserCase, self).test_copy() diff --git a/partner_firstname/tests/test_onchange.py b/partner_firstname/tests/test_onchange.py deleted file mode 100644 index 573f30522..000000000 --- a/partner_firstname/tests/test_onchange.py +++ /dev/null @@ -1,105 +0,0 @@ -# -*- coding: utf-8 -*- -# © 2015 Grupo ESOC -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - -"""These tests try to mimic the behavior of the UI form. - -The form operates in onchange mode, with its limitations. -""" - -from .base import OnChangeCase - - -class PartnerCompanyCase(OnChangeCase): - is_company = True - - def test_create_from_form(self): - """A user creates a company from the form.""" - name = u"Sôme company" - with self.env.do_in_onchange(): - # User presses ``new`` - partner = self.new_partner() - - # User sets a name, which triggers onchanges - partner.name = name - partner._onchange_name() - - self.assertEqual(partner.name, name) - self.assertEqual(partner.firstname, False) - self.assertEqual(partner.lastname, name) - - def test_empty_name_and_subnames(self): - """If the user empties ``name``, subnames must be ``False``. - - Otherwise, the ``required`` attr will not work as expected. - """ - with self.env.do_in_onchange(): - # User presses ``new`` - partner = self.new_partner() - - # User sets a name, which triggers onchanges - partner.name = u"Foó" - partner._onchange_name() - - # User unsets name, which triggers onchanges - partner.name = u"" - partner._onchange_name() - - self.assertEqual(partner.firstname, False) - self.assertEqual(partner.lastname, False) - - -class PartnerContactCase(OnChangeCase): - def test_create_from_form_only_firstname(self): - """A user creates a contact with only the firstname from the form.""" - firstname = u"Fïrst" - with self.env.do_in_onchange(): - # User presses ``new`` - partner = self.new_partner() - - # Changes firstname, which triggers onchanges - partner.firstname = firstname - partner._onchange_subnames() - partner._onchange_name() - - self.assertEqual(partner.lastname, False) - self.assertEqual(partner.firstname, firstname) - self.assertEqual(partner.name, firstname) - - def test_create_from_form_only_lastname(self): - """A user creates a contact with only the lastname from the form.""" - lastname = u"Läst" - with self.env.do_in_onchange(): - # User presses ``new`` - partner = self.new_partner() - - # Changes lastname, which triggers onchanges - partner.lastname = lastname - partner._onchange_subnames() - partner._onchange_name() - - self.assertEqual(partner.firstname, False) - self.assertEqual(partner.lastname, lastname) - self.assertEqual(partner.name, lastname) - - def test_create_from_form_all(self): - """A user creates a contact with all names from the form.""" - firstname = u"Fïrst" - lastname = u"Läst" - with self.env.do_in_onchange(): - # User presses ``new`` - partner = self.new_partner() - - # Changes firstname, which triggers onchanges - partner.firstname = firstname - partner._onchange_subnames() - partner._onchange_name() - - # Changes lastname, which triggers onchanges - partner.lastname = lastname - partner._onchange_subnames() - partner._onchange_name() - - self.assertEqual(partner.lastname, lastname) - self.assertEqual(partner.firstname, firstname) - self.assertEqual(partner.name, u" ".join((lastname, firstname))) diff --git a/partner_firstname/tests/test_order.py b/partner_firstname/tests/test_order.py deleted file mode 100644 index afc978b05..000000000 --- a/partner_firstname/tests/test_order.py +++ /dev/null @@ -1,40 +0,0 @@ -# -*- coding: utf-8 -*- -# © 2015 Antiun Ingenieria S.L. - Antonio Espinosa -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - -from openerp.tests.common import TransactionCase - - -class PartnerNamesOrder(TransactionCase): - def order_set(self, order): - return self.env['ir.config_parameter'].set_param( - 'partner_names_order', order) - - def test_get_computed_name(self): - lastname = u"García Lorca" - firstname = u"Federico" - cases = ( - ('last_first', u"García Lorca Federico"), - ('last_first_comma', u"García Lorca, Federico"), - ('first_last', u"Federico García Lorca"), - ) - - for order, name in cases: - self.order_set(order) - result = self.env['res.partner']._get_computed_name( - lastname, firstname) - self.assertEqual(result, name) - - def test_get_inverse_name(self): - lastname = u"Flanker" - firstname = u"Petër" - cases = ( - ('last_first', u"Flanker Petër"), - ('last_first_comma', u"Flanker, Petër"), - ('first_last', u"Petër Flanker"), - ) - for order, name in cases: - self.order_set(order) - result = self.env['res.partner']._get_inverse_name(name) - self.assertEqual(result['lastname'], lastname) - self.assertEqual(result['firstname'], firstname) diff --git a/partner_firstname/tests/test_user_onchange.py b/partner_firstname/tests/test_user_onchange.py deleted file mode 100644 index 46fe41b74..000000000 --- a/partner_firstname/tests/test_user_onchange.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- coding: utf-8 -*- -# © 2016 Yannick Vaucher (Camptocamp SA) -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). - -from openerp.tests.common import TransactionCase - - -class UserOnchangeCase(TransactionCase): - - def test_create_from_form_only_firstname(self): - """In a new users form, a user set only the firstname.""" - firstname = u"Zoë" - with self.env.do_in_onchange(): - # Changes firstname, which triggers onchanges - self.user.firstname = firstname - self.user._compute_name() - - self.assertEqual(self.user.lastname, False) - self.assertEqual(self.user.firstname, firstname) - self.assertEqual(self.user.name, firstname) - - def test_create_from_form_only_lastname(self): - """In a new user form, a user set only the lastname.""" - lastname = u"Żywioł" - with self.env.do_in_onchange(): - # Changes lastname, which triggers onchanges - self.user.lastname = lastname - self.user._compute_name() - - self.assertEqual(self.user.firstname, False) - self.assertEqual(self.user.lastname, lastname) - self.assertEqual(self.user.name, lastname) - - def test_create_from_form_all(self): - """In a new user form, a user set all names.""" - firstname = u"Zoë" - lastname = u"Żywioł" - with self.env.do_in_onchange(): - # Changes firstname, which triggers onchanges - self.user.firstname = firstname - self.user._compute_name() - - # Changes lastname, which triggers onchanges - self.user.lastname = lastname - self.user._compute_name() - - self.assertEqual(self.user.lastname, lastname) - self.assertEqual(self.user.firstname, firstname) - self.assertEqual(self.user.name, u" ".join((lastname, firstname))) - - def setUp(self): - super(UserOnchangeCase, self).setUp() - self.user = self.env["res.users"].new() diff --git a/partner_firstname/views/base_config_view.xml b/partner_firstname/views/base_config_view.xml deleted file mode 100644 index 424b5d28f..000000000 --- a/partner_firstname/views/base_config_view.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - Add partner_names_order config parameter - base.config.settings - - - - - - - - - - diff --git a/partner_firstname/views/res_partner.xml b/partner_firstname/views/res_partner.xml deleted file mode 100644 index c72e2c5c8..000000000 --- a/partner_firstname/views/res_partner.xml +++ /dev/null @@ -1,90 +0,0 @@ - - - - - Add firstname and lastname - res.partner - - - - - { - 'readonly': [('is_company', '=', False)], - 'required': [('is_company', '=', True)] - } - - - - - - - - - - - - - - Add firstname and surnames - res.partner - - - - - { - 'readonly': [('is_company', '=', False)], - 'required': [('is_company', '=', True)] - } - - - -
- - - - -
-
- - - - { - 'readonly': [('is_company', '=', False)], - 'required': [('is_company', '=', True)] - } - - - -
- - - - - -
-
-
-
-
- -
diff --git a/partner_firstname/views/res_user.xml b/partner_firstname/views/res_user.xml deleted file mode 100644 index c0ad141cb..000000000 --- a/partner_firstname/views/res_user.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - Add firstname and surnames - res.users - - - - - True - False - - - - - - - - - - - - -