From 693e45b030de180d4759bdc220038af9e09101d7 Mon Sep 17 00:00:00 2001 From: Jairo Llopis Date: Tue, 19 May 2015 14:01:42 +0200 Subject: [PATCH 01/12] Add module partner_contact_birthdate. --- partner_contact_birthdate/README.rst | 79 ++++++++++++++++++ partner_contact_birthdate/__init__.py | 19 +++++ partner_contact_birthdate/__openerp__.py | 31 +++++++ .../data/res_partner.yml | 19 +++++ partner_contact_birthdate/i18n/de.po | 37 ++++++++ partner_contact_birthdate/i18n/es.po | 38 +++++++++ partner_contact_birthdate/i18n/fr.po | 36 ++++++++ .../i18n/partner_contact_birthdate.pot | 33 ++++++++ partner_contact_birthdate/i18n/sl.po | 37 ++++++++ partner_contact_birthdate/models.py | 58 +++++++++++++ .../static/description/icon.png | Bin 0 -> 9455 bytes partner_contact_birthdate/tests/__init__.py | 19 +++++ .../tests/test_birthdate.py | 53 ++++++++++++ .../views/res_partner.xml | 19 +++++ 14 files changed, 478 insertions(+) create mode 100644 partner_contact_birthdate/README.rst create mode 100644 partner_contact_birthdate/__init__.py create mode 100644 partner_contact_birthdate/__openerp__.py create mode 100644 partner_contact_birthdate/data/res_partner.yml create mode 100644 partner_contact_birthdate/i18n/de.po create mode 100644 partner_contact_birthdate/i18n/es.po create mode 100644 partner_contact_birthdate/i18n/fr.po create mode 100644 partner_contact_birthdate/i18n/partner_contact_birthdate.pot create mode 100644 partner_contact_birthdate/i18n/sl.po create mode 100644 partner_contact_birthdate/models.py create mode 100644 partner_contact_birthdate/static/description/icon.png create mode 100644 partner_contact_birthdate/tests/__init__.py create mode 100644 partner_contact_birthdate/tests/test_birthdate.py create mode 100644 partner_contact_birthdate/views/res_partner.xml diff --git a/partner_contact_birthdate/README.rst b/partner_contact_birthdate/README.rst new file mode 100644 index 000000000..590cd7f74 --- /dev/null +++ b/partner_contact_birthdate/README.rst @@ -0,0 +1,79 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :alt: License: AGPL-3 + +Module name +=========== + +This module was written to extend the functionality of Odoo to support setting +a birthdate using a date format and allow you to benefit of a clearer API and +UI. + +Installation +============ + +To install this module, you need to: + +* Ensure that the current contents of the *birthdate* field in the + *res.partner* model in your database are empty or in a format easily readable + by the python function strptime_ in case you want this module to + automatically convert those to the new format. +* Install the OCA repository `partner-contact`_. +* Update your modules list. +* Search and install this module. + +Configuration +============= + +No configuration is needed. + +Usage +===== + +To use this module, you need to: + +* Edit or create a partner. +* Ensure it is **not** a company. +* Go to the *Personal Information* sheet. +* Set the birthdate there. + +For further information, please visit: + +* https://www.odoo.com/forum/help-1 +* https://github.com/OCA/partner-contact/ + +Known issues / Roadmap +====================== + +* If you have data in your *res.partner* records' *birthdate* field that cannot + be converted to date by Pyhton's strptime_ function, those records will have + an empty *birthdate_date* after install. + +Credits +======= + +Contributors +------------ + +* EL Hadji DEM +* Jairo Llopis +* Matjaž Mozetič +* Rudolf Schnapka + +Maintainer +---------- + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +This module is maintained by the OCA. + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +To contribute to this module, please visit http://odoo-community.org. + + +.. _partner-contact: https://github.com/OCA/partner-contact/ +.. _strptime: https://docs.python.org/2/library/datetime.html#datetime.datetime.strptime diff --git a/partner_contact_birthdate/__init__.py b/partner_contact_birthdate/__init__.py new file mode 100644 index 000000000..3b3430c28 --- /dev/null +++ b/partner_contact_birthdate/__init__.py @@ -0,0 +1,19 @@ +# -*- coding: utf-8 -*- + +# Odoo, Open Source Management Solution +# Copyright (C) 2014-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 . + +from . import models diff --git a/partner_contact_birthdate/__openerp__.py b/partner_contact_birthdate/__openerp__.py new file mode 100644 index 000000000..d7758ddb2 --- /dev/null +++ b/partner_contact_birthdate/__openerp__.py @@ -0,0 +1,31 @@ +# -*- coding: utf-8 -*- + +# Odoo, Open Source Management Solution +# Copyright (C) 2014-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 . + +{ + "name": "Contact's birthdate", + "version": "8.0.1.0.0", + "author": "Odoo Community Association (OCA)", + "category": "Customer Relationship Management", + "website": "https://odoo-community.org/", + "depends": [ + "partner_contact_personal_information_page", + ], + "data": [ + "views/res_partner.xml", + ], +} diff --git a/partner_contact_birthdate/data/res_partner.yml b/partner_contact_birthdate/data/res_partner.yml new file mode 100644 index 000000000..2b3d5efe9 --- /dev/null +++ b/partner_contact_birthdate/data/res_partner.yml @@ -0,0 +1,19 @@ +# -*- coding: utf-8 -*- + +# Odoo, Open Source Management Solution +# Copyright (C) 2014-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: _birthdate_install} diff --git a/partner_contact_birthdate/i18n/de.po b/partner_contact_birthdate/i18n/de.po new file mode 100644 index 000000000..fb55fa663 --- /dev/null +++ b/partner_contact_birthdate/i18n/de.po @@ -0,0 +1,37 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * base_contact +# +# Rudolf Schnapka , 2014. +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 7.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-05-20 07:17+0000\n" +"PO-Revision-Date: 2015-05-20 09:20+0100\n" +"Last-Translator: Rudolf Schnapka \n" +"Language-Team: German \n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: \n" +"X-Generator: Poedit 1.7.6\n" + +#. module: partner_contact_birthdate +#: field:res.partner,birthdate_date:0 +msgid "Birthdate" +msgstr "Geburtsdatum" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models.py:52 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "Partner" diff --git a/partner_contact_birthdate/i18n/es.po b/partner_contact_birthdate/i18n/es.po new file mode 100644 index 000000000..186164de1 --- /dev/null +++ b/partner_contact_birthdate/i18n/es.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0-20150514\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-05-20 07:17+0000\n" +"PO-Revision-Date: 2015-05-20 09:21+0100\n" +"Last-Translator: Jairo Llopis \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 1.7.6\n" +"Language: es_ES\n" + +#. module: partner_contact_birthdate +#: field:res.partner,birthdate_date:0 +msgid "Birthdate" +msgstr "Fecha de nacimiento" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models.py:52 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" +"No se pudo convertir '{0.birthdate}' en fecha en el res.partner {0.id} ({0." +"name}). Omitiéndolo." + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "Empresa" diff --git a/partner_contact_birthdate/i18n/fr.po b/partner_contact_birthdate/i18n/fr.po new file mode 100644 index 000000000..027d1e9b6 --- /dev/null +++ b/partner_contact_birthdate/i18n/fr.po @@ -0,0 +1,36 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * base_contact +# +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 7.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-05-20 07:17+0000\n" +"PO-Revision-Date: 2015-05-20 09:20+0100\n" +"Last-Translator: EL Hadji DEM \n" +"Language-Team: \n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: \n" +"X-Generator: Poedit 1.7.6\n" + +#. module: partner_contact_birthdate +#: field:res.partner,birthdate_date:0 +msgid "Birthdate" +msgstr "Date de naissance" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models.py:52 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "Partenaire" diff --git a/partner_contact_birthdate/i18n/partner_contact_birthdate.pot b/partner_contact_birthdate/i18n/partner_contact_birthdate.pot new file mode 100644 index 000000000..cff48d4de --- /dev/null +++ b/partner_contact_birthdate/i18n/partner_contact_birthdate.pot @@ -0,0 +1,33 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0-20150514\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-05-20 07:17+0000\n" +"PO-Revision-Date: 2015-05-20 07:17+0000\n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: partner_contact_birthdate +#: field:res.partner,birthdate_date:0 +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models.py:52 +#, python-format +msgid "Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "" + diff --git a/partner_contact_birthdate/i18n/sl.po b/partner_contact_birthdate/i18n/sl.po new file mode 100644 index 000000000..bd5a0da26 --- /dev/null +++ b/partner_contact_birthdate/i18n/sl.po @@ -0,0 +1,37 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * base_contact +# +# Matjaž Mozetič , 2015. +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 7.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-05-20 07:17+0000\n" +"PO-Revision-Date: 2015-05-20 09:22+0100\n" +"Last-Translator: Matjaž Mozetič \n" +"Language-Team: Slovenian \n" +"Language: sl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: \n" +"X-Generator: Poedit 1.7.6\n" + +#. module: partner_contact_birthdate +#: field:res.partner,birthdate_date:0 +msgid "Birthdate" +msgstr "Rojstni datum" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models.py:52 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "Partner" diff --git a/partner_contact_birthdate/models.py b/partner_contact_birthdate/models.py new file mode 100644 index 000000000..2686fed6d --- /dev/null +++ b/partner_contact_birthdate/models.py @@ -0,0 +1,58 @@ +# -*- coding: utf-8 -*- + +# Odoo, Open Source Management Solution +# Copyright (C) 2014-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 . + +from openerp import _, api, fields, models +import logging + + +_logger = logging.getLogger(__name__) + + +class Partner(models.Model): + """Partner with birth date in date format.""" + _inherit = "res.partner" + + # New birthdate field in date format + birthdate_date = fields.Date("Birthdate") + + # Make the old Char field to reflect the new Date field + birthdate = fields.Char( + compute="_birthdate_compute", + inverse="_birthdate_inverse", + store=True) + + @api.one + @api.depends("birthdate_date") + def _birthdate_compute(self): + """Store a string of the new date in the old field.""" + self.birthdate = self.birthdate_date + + @api.one + def _birthdate_inverse(self): + """Convert the old Char date to the new Date format.""" + try: + self.birthdate_date = self.birthdate + except ValueError: + _logger.warn( + _("Could not convert '{0.birthdate}' to date in " + "res.partner {0.id} ({0.name}). Skipping.").format(self)) + + @api.model + def _birthdate_install(self): + """Export all old birthdates to the new format.""" + self.search([('birthdate', "!=", False)])._inverse_birthdate() diff --git a/partner_contact_birthdate/static/description/icon.png b/partner_contact_birthdate/static/description/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..3a0328b516c4980e8e44cdb63fd945757ddd132d GIT binary patch literal 9455 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 z z?n?eq1XP>p-IM$Z^C;2L3itnbJZAip*Zo0aw2bs8@(s^~*8T9go!%dHcAz2lM;`yp zD=7&xjFV$S&5uDaiScyD?B-i1ze`+CoRtz`Wn+Zl&#s4&}MO{@N!ufrzjG$B79)Y2d3tBk&)TxUTw@QS0TEL_?njX|@vq?Uz(nBFK5Pq7*xj#u*R&i|?7+6# z+|r_n#SW&LXhtheZdah{ZVoqwyT{D>MC3nkFF#N)xLi{p7J1jXlmVeb;cP5?e(=f# zuT7fvjSbjS781v?7{)-X3*?>tq?)Yd)~|1{BDS(pqC zC}~H#WXlkUW*H5CDOo<)#x7%RY)A;ShGhI5s*#cRDA8YgqG(HeKDx+#(ZQ?386dv! zlXCO)w91~Vw4AmOcATuV653fa9R$fyK8ul%rG z-wfS zihugoZyr38Im?Zuh6@RcF~t1anQu7>#lPpb#}4cOA!EM11`%f*07RqOVkmX{p~KJ9 z^zP;K#|)$`^Rb{rnHGH{~>1(fawV0*Z#)}M`m8-?ZJV<+e}s9wE# z)l&az?w^5{)`S(%MRzxdNqrs1n*-=jS^_jqE*5XDrA0+VE`5^*p3CuM<&dZEeCjoz zR;uu_H9ZPZV|fQq`Cyw4nscrVwi!fE6ciMmX$!_hN7uF;jjKG)d2@aC4ropY)8etW=xJvni)8eHi`H$%#zn^WJ5NLc-rqk|u&&4Z6fD_m&JfSI1Bvb?b<*n&sfl0^t z=HnmRl`XrFvMKB%9}>PaA`m-fK6a0(8=qPkWS5bb4=v?XcWi&hRY?O5HdulRi4?fN zlsJ*N-0Qw+Yic@s0(2uy%F@ib;GjXt01Fmx5XbRo6+n|pP(&nodMoap^z{~q ziEeaUT@Mxe3vJSfI6?uLND(CNr=#^W<1b}jzW58bIfyWTDle$mmS(|x-0|2UlX+9k zQ^EX7Nw}?EzVoBfT(-LT|=9N@^hcn-_p&sqG z&*oVs2JSU+N4ZD`FhCAWaS;>|wH2G*Id|?pa#@>tyxX`+4HyIArWDvVrX)2WAOQff z0qyHu&-S@i^MS-+j--!pr4fPBj~_8({~e1bfcl0wI1kaoN>mJL6KUPQm5N7lB(ui1 zE-o%kq)&djzWJ}ob<-GfDlkB;F31j-VHKvQUGQ3sp`CwyGJk_i!y^sD0fqC@$9|jO zOqN!r!8-p==F@ZVP=U$qSpY(gQ0)59P1&t@y?5rvg<}E+GB}26NYPp4f2YFQrQtot5mn3wu_qprZ=>Ig-$ zbW26Ws~IgY>}^5w`vTB(G`PTZaDiGBo5o(tp)qli|NeV( z@H_=R8V39rt5J5YB2Ky?4eJJ#b`_iBe2ot~6%7mLt5t8Vwi^Jy7|jWXqa3amOIoRb zOr}WVFP--DsS`1WpN%~)t3R!arKF^Q$e12KEqU36AWwnCBICpH4XCsfnyrHr>$I$4 z!DpKX$OKLWarN7nv@!uIA+~RNO)l$$w}p(;b>mx8pwYvu;dD_unryX_NhT8*Tj>BTrTTL&!?O+%Rv;b?B??gSzdp?6Uug9{ zd@V08Z$BdI?fpoCS$)t4mg4rT8Q_I}h`0d-vYZ^|dOB*Q^S|xqTV*vIg?@fVFSmMpaw0qtTRbx} z({Pg?#{2`sc9)M5N$*N|4;^t$+QP?#mov zGVC@I*lBVrOU-%2y!7%)fAKjpEFsgQc4{amtiHb95KQEwvf<(3T<9-Zm$xIew#P22 zc2Ix|App^>v6(3L_MCU0d3W##AB0M~3D00EWoKZqsJYT(#@w$Y_H7G22M~ApVFTRHMI_3be)Lkn#0F*V8Pq zc}`Cjy$bE;FJ6H7p=0y#R>`}-m4(0F>%@P|?7fx{=R^uFdISRnZ2W_xQhD{YuR3t< z{6yxu=4~JkeA;|(J6_nv#>Nvs&FuLA&PW^he@t(UwFFE8)|a!R{`E`K`i^ZnyE4$k z;(749Ix|oi$c3QbEJ3b~D_kQsPz~fIUKym($a_7dJ?o+40*OLl^{=&oq$<#Q(yyrp z{J-FAniyAw9tPbe&IhQ|a`DqFTVQGQ&Gq3!C2==4x{6EJwiPZ8zub-iXoUtkJiG{} zPaR&}_fn8_z~(=;5lD-aPWD3z8PZS@AaUiomF!G8I}Mf>e~0g#BelA-5#`cj;O5>N Xviia!U7SGha1wx#SCgwmn*{w2TRX*I literal 0 HcmV?d00001 diff --git a/partner_contact_birthdate/tests/__init__.py b/partner_contact_birthdate/tests/__init__.py new file mode 100644 index 000000000..73d8cb813 --- /dev/null +++ b/partner_contact_birthdate/tests/__init__.py @@ -0,0 +1,19 @@ +# -*- coding: utf-8 -*- + +# Odoo, Open Source Management Solution +# Copyright (C) 2014-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 . + +from . import test_birthdate diff --git a/partner_contact_birthdate/tests/test_birthdate.py b/partner_contact_birthdate/tests/test_birthdate.py new file mode 100644 index 000000000..1782d3a40 --- /dev/null +++ b/partner_contact_birthdate/tests/test_birthdate.py @@ -0,0 +1,53 @@ +# -*- coding: utf-8 -*- + +# Odoo, Open Source Management Solution +# Copyright (C) 2014-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 . + +from openerp import fields +from openerp.tests.common import TransactionCase +from datetime import date + + +class GoodCase(TransactionCase): + def setUp(self): + super(GoodCase, self).setUp() + self.partner = self.env["res.partner"].create({"name": str(self)}) + self.birthdate = date.today() + + def tearDown(self): + self.assertEqual(self.partner.birthdate, self.partner.birthdate_date) + super(GoodCase, self).tearDown() + + def test_new_to_old(self): + self.partner.birthdate_date = self.birthdate + + def test_old_to_new(self): + self.partner.birthdate = fields.Date.to_string(self.birthdate) + + +class BadCase(TransactionCase): + def setUp(self): + super(BadCase, self).setUp() + self.partner = self.env["res.partner"].create({"name": str(self)}) + self.birthdate = date.today() + + def tearDown(self): + self.assertNotEqual(self.partner.birthdate, + self.partner.birthdate_date) + super(BadCase, self).tearDown() + + def test_old_to_new(self): + self.partner.birthdate = "Not a date" diff --git a/partner_contact_birthdate/views/res_partner.xml b/partner_contact_birthdate/views/res_partner.xml new file mode 100644 index 000000000..d3ec7399b --- /dev/null +++ b/partner_contact_birthdate/views/res_partner.xml @@ -0,0 +1,19 @@ + + + + + + Birthdate Date field + res.partner + + + + + + + + + + + + From 4372129d182ae0ef560f6d158294a7a4300209a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matja=C5=BE=20Mozeti=C4=8D?= Date: Sun, 2 Aug 2015 08:44:09 +0200 Subject: [PATCH 02/12] Translations and templates sync --- partner_contact_birthdate/i18n/sl.po | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/partner_contact_birthdate/i18n/sl.po b/partner_contact_birthdate/i18n/sl.po index bd5a0da26..9bf95203f 100644 --- a/partner_contact_birthdate/i18n/sl.po +++ b/partner_contact_birthdate/i18n/sl.po @@ -7,16 +7,16 @@ msgid "" msgstr "" "Project-Id-Version: OpenERP Server 7.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-05-20 07:17+0000\n" -"PO-Revision-Date: 2015-05-20 09:22+0100\n" -"Last-Translator: Matjaž Mozetič \n" +"POT-Creation-Date: 2015-08-02 08:17+0200\n" +"PO-Revision-Date: 2015-08-02 08:17+0200\n" +"Last-Translator: Matjaz Mozetic \n" "Language-Team: Slovenian \n" "Language: sl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: \n" -"X-Generator: Poedit 1.7.6\n" +"X-Generator: Poedit 1.8.2\n" #. module: partner_contact_birthdate #: field:res.partner,birthdate_date:0 @@ -30,6 +30,8 @@ msgid "" "Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " "Skipping." msgstr "" +"Ni možna pretvorba '{0.birthdate}' v datum v res.partner {0.id} ({0." +"name}). Preskoči." #. module: partner_contact_birthdate #: model:ir.model,name:partner_contact_birthdate.model_res_partner From 3a7fe05b6455910e5b30a8531e63fd83bbbd2d34 Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Tue, 1 Sep 2015 13:48:55 -0400 Subject: [PATCH 03/12] OCA Transbot updated translations from Transifex --- partner_contact_birthdate/i18n/nl.po | 36 ++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 partner_contact_birthdate/i18n/nl.po diff --git a/partner_contact_birthdate/i18n/nl.po b/partner_contact_birthdate/i18n/nl.po new file mode 100644 index 000000000..d58d21ef5 --- /dev/null +++ b/partner_contact_birthdate/i18n/nl.po @@ -0,0 +1,36 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: partner-contact (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-09-23 21:40+0000\n" +"PO-Revision-Date: 2015-08-06 21:25+0000\n" +"Last-Translator: <>\n" +"Language-Team: Dutch (http://www.transifex.com/oca/OCA-partner-contact-8-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_contact_birthdate +#: field:res.partner,birthdate_date:0 +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models.py:52 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "Partner" From 43227fd5ad1371d98c72594d81b37ba2c7a26d66 Mon Sep 17 00:00:00 2001 From: Denis Leemann Date: Mon, 18 Jan 2016 11:12:09 +0100 Subject: [PATCH 04/12] Fix multiple tabs "contact information" --- partner_contact_birthdate/views/res_partner.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/partner_contact_birthdate/views/res_partner.xml b/partner_contact_birthdate/views/res_partner.xml index d3ec7399b..5f0374dd4 100644 --- a/partner_contact_birthdate/views/res_partner.xml +++ b/partner_contact_birthdate/views/res_partner.xml @@ -2,7 +2,7 @@ - + Birthdate Date field res.partner From 93d9c71c9d5f4bb837988b6f54a5546adb1d5b79 Mon Sep 17 00:00:00 2001 From: Denis Leemann Date: Mon, 18 Jan 2016 13:18:40 +0100 Subject: [PATCH 05/12] Port of Birthdate --- partner_contact_birthdate/README.rst | 1 + partner_contact_birthdate/__init__.py | 17 +------------ partner_contact_birthdate/__openerp__.py | 24 +++++-------------- .../data/res_partner.yml | 16 +------------ partner_contact_birthdate/models/__init__.py | 5 ++++ .../{models.py => models/res_partner.py} | 17 +------------ partner_contact_birthdate/tests/__init__.py | 17 +------------ .../tests/test_birthdate.py | 16 +------------ .../views/res_partner.xml | 9 +++---- 9 files changed, 22 insertions(+), 100 deletions(-) create mode 100644 partner_contact_birthdate/models/__init__.py rename partner_contact_birthdate/{models.py => models/res_partner.py} (65%) diff --git a/partner_contact_birthdate/README.rst b/partner_contact_birthdate/README.rst index 590cd7f74..d367fd71b 100644 --- a/partner_contact_birthdate/README.rst +++ b/partner_contact_birthdate/README.rst @@ -58,6 +58,7 @@ Contributors * Jairo Llopis * Matjaž Mozetič * Rudolf Schnapka +* Denis Leemann Maintainer ---------- diff --git a/partner_contact_birthdate/__init__.py b/partner_contact_birthdate/__init__.py index 3b3430c28..2fe0926df 100644 --- a/partner_contact_birthdate/__init__.py +++ b/partner_contact_birthdate/__init__.py @@ -1,19 +1,4 @@ # -*- coding: utf-8 -*- - -# Odoo, Open Source Management Solution # Copyright (C) 2014-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 . - +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from . import models diff --git a/partner_contact_birthdate/__openerp__.py b/partner_contact_birthdate/__openerp__.py index d7758ddb2..fe8b7472c 100644 --- a/partner_contact_birthdate/__openerp__.py +++ b/partner_contact_birthdate/__openerp__.py @@ -1,25 +1,12 @@ # -*- coding: utf-8 -*- - -# Odoo, Open Source Management Solution -# Copyright (C) 2014-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 . +# Copyright 2014-2015 Grupo ESOC +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { "name": "Contact's birthdate", - "version": "8.0.1.0.0", - "author": "Odoo Community Association (OCA)", + "version": "9.0.1.0.0", + "author": "Jairo Llopis," + "Odoo Community Association (OCA)", "category": "Customer Relationship Management", "website": "https://odoo-community.org/", "depends": [ @@ -28,4 +15,5 @@ "data": [ "views/res_partner.xml", ], + 'installable': True, } diff --git a/partner_contact_birthdate/data/res_partner.yml b/partner_contact_birthdate/data/res_partner.yml index 2b3d5efe9..d6be2f47e 100644 --- a/partner_contact_birthdate/data/res_partner.yml +++ b/partner_contact_birthdate/data/res_partner.yml @@ -1,19 +1,5 @@ # -*- coding: utf-8 -*- - -# Odoo, Open Source Management Solution # Copyright (C) 2014-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 . +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - !function {model: res.partner, name: _birthdate_install} diff --git a/partner_contact_birthdate/models/__init__.py b/partner_contact_birthdate/models/__init__.py new file mode 100644 index 000000000..bc4712911 --- /dev/null +++ b/partner_contact_birthdate/models/__init__.py @@ -0,0 +1,5 @@ +# -*- coding: utf-8 -*- +# Copyright 2014-2015 Grupo ESOC +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from . import res_partner diff --git a/partner_contact_birthdate/models.py b/partner_contact_birthdate/models/res_partner.py similarity index 65% rename from partner_contact_birthdate/models.py rename to partner_contact_birthdate/models/res_partner.py index 2686fed6d..d98771922 100644 --- a/partner_contact_birthdate/models.py +++ b/partner_contact_birthdate/models/res_partner.py @@ -1,21 +1,6 @@ # -*- coding: utf-8 -*- - -# Odoo, Open Source Management Solution # Copyright (C) 2014-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 . - +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from openerp import _, api, fields, models import logging diff --git a/partner_contact_birthdate/tests/__init__.py b/partner_contact_birthdate/tests/__init__.py index 73d8cb813..90bda5ac1 100644 --- a/partner_contact_birthdate/tests/__init__.py +++ b/partner_contact_birthdate/tests/__init__.py @@ -1,19 +1,4 @@ # -*- coding: utf-8 -*- - -# Odoo, Open Source Management Solution # Copyright (C) 2014-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 . - +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from . import test_birthdate diff --git a/partner_contact_birthdate/tests/test_birthdate.py b/partner_contact_birthdate/tests/test_birthdate.py index 1782d3a40..7cfa2e695 100644 --- a/partner_contact_birthdate/tests/test_birthdate.py +++ b/partner_contact_birthdate/tests/test_birthdate.py @@ -1,20 +1,6 @@ # -*- coding: utf-8 -*- - -# Odoo, Open Source Management Solution # Copyright (C) 2014-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 . +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from openerp import fields from openerp.tests.common import TransactionCase diff --git a/partner_contact_birthdate/views/res_partner.xml b/partner_contact_birthdate/views/res_partner.xml index 5f0374dd4..49c636171 100644 --- a/partner_contact_birthdate/views/res_partner.xml +++ b/partner_contact_birthdate/views/res_partner.xml @@ -1,6 +1,8 @@ - - + + + Birthdate Date field @@ -15,5 +17,4 @@ - - + From ef1d8f3007dcdcd4c945a30a8d7194fcae496453 Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Sat, 20 Aug 2016 19:41:36 -0400 Subject: [PATCH 06/12] OCA Transbot updated translations from Transifex --- partner_contact_birthdate/i18n/da.po | 37 +++++++++++++++++++++++++ partner_contact_birthdate/i18n/de.po | 30 ++++++++++---------- partner_contact_birthdate/i18n/es.po | 29 +++++++++---------- partner_contact_birthdate/i18n/fr.po | 29 +++++++++---------- partner_contact_birthdate/i18n/hr_HR.po | 37 +++++++++++++++++++++++++ partner_contact_birthdate/i18n/it.po | 37 +++++++++++++++++++++++++ partner_contact_birthdate/i18n/pt_BR.po | 37 +++++++++++++++++++++++++ partner_contact_birthdate/i18n/sl.po | 34 +++++++++++------------ 8 files changed, 210 insertions(+), 60 deletions(-) create mode 100644 partner_contact_birthdate/i18n/da.po create mode 100644 partner_contact_birthdate/i18n/hr_HR.po create mode 100644 partner_contact_birthdate/i18n/it.po create mode 100644 partner_contact_birthdate/i18n/pt_BR.po diff --git a/partner_contact_birthdate/i18n/da.po b/partner_contact_birthdate/i18n/da.po new file mode 100644 index 000000000..fdefab75b --- /dev/null +++ b/partner_contact_birthdate/i18n/da.po @@ -0,0 +1,37 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-08-18 02:46+0000\n" +"PO-Revision-Date: 2016-08-18 02:46+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Danish (https://www.transifex.com/oca/teams/23907/da/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: da\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "Partner" diff --git a/partner_contact_birthdate/i18n/de.po b/partner_contact_birthdate/i18n/de.po index fb55fa663..68840b2a1 100644 --- a/partner_contact_birthdate/i18n/de.po +++ b/partner_contact_birthdate/i18n/de.po @@ -1,30 +1,30 @@ -# Translation of OpenERP Server. +# Translation of Odoo Server. # This file contains the translation of the following modules: -# * base_contact -# -# Rudolf Schnapka , 2014. +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: OpenERP Server 7.0\n" +"Project-Id-Version: Odoo Server 9.0c\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-05-20 07:17+0000\n" -"PO-Revision-Date: 2015-05-20 09:20+0100\n" -"Last-Translator: Rudolf Schnapka \n" -"Language-Team: German \n" -"Language: de\n" +"POT-Creation-Date: 2016-08-18 02:46+0000\n" +"PO-Revision-Date: 2016-08-18 02:46+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: \n" -"X-Generator: Poedit 1.7.6\n" +"Content-Transfer-Encoding: \n" +"Language: de\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: partner_contact_birthdate -#: field:res.partner,birthdate_date:0 +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date msgid "Birthdate" msgstr "Geburtsdatum" #. module: partner_contact_birthdate -#: code:addons/partner_contact_birthdate/models.py:52 +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 #, python-format msgid "" "Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " diff --git a/partner_contact_birthdate/i18n/es.po b/partner_contact_birthdate/i18n/es.po index 186164de1..c2490c61f 100644 --- a/partner_contact_birthdate/i18n/es.po +++ b/partner_contact_birthdate/i18n/es.po @@ -1,36 +1,37 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * partner_contact_birthdate -# +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 8.0-20150514\n" +"Project-Id-Version: Odoo Server 9.0c\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-05-20 07:17+0000\n" -"PO-Revision-Date: 2015-05-20 09:21+0100\n" -"Last-Translator: Jairo Llopis \n" -"Language-Team: \n" +"POT-Creation-Date: 2016-08-18 02:46+0000\n" +"PO-Revision-Date: 2016-08-18 02:46+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" +"Content-Transfer-Encoding: \n" +"Language: es\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Poedit 1.7.6\n" -"Language: es_ES\n" #. module: partner_contact_birthdate -#: field:res.partner,birthdate_date:0 +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date msgid "Birthdate" msgstr "Fecha de nacimiento" #. module: partner_contact_birthdate -#: code:addons/partner_contact_birthdate/models.py:52 +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 #, python-format msgid "" "Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " "Skipping." msgstr "" -"No se pudo convertir '{0.birthdate}' en fecha en el res.partner {0.id} ({0." -"name}). Omitiéndolo." +"No se pudo convertir '{0.birthdate}' en fecha en el res.partner {0.id} " +"({0.name}). Omitiéndolo." #. module: partner_contact_birthdate #: model:ir.model,name:partner_contact_birthdate.model_res_partner diff --git a/partner_contact_birthdate/i18n/fr.po b/partner_contact_birthdate/i18n/fr.po index 027d1e9b6..bfe5c2703 100644 --- a/partner_contact_birthdate/i18n/fr.po +++ b/partner_contact_birthdate/i18n/fr.po @@ -1,29 +1,30 @@ -# Translation of OpenERP Server. +# Translation of Odoo Server. # This file contains the translation of the following modules: -# * base_contact -# +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: OpenERP Server 7.0\n" +"Project-Id-Version: Odoo Server 9.0c\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-05-20 07:17+0000\n" -"PO-Revision-Date: 2015-05-20 09:20+0100\n" -"Last-Translator: EL Hadji DEM \n" -"Language-Team: \n" -"Language: fr\n" +"POT-Creation-Date: 2016-08-18 02:46+0000\n" +"PO-Revision-Date: 2016-08-18 02:46+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: \n" -"X-Generator: Poedit 1.7.6\n" +"Content-Transfer-Encoding: \n" +"Language: fr\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: partner_contact_birthdate -#: field:res.partner,birthdate_date:0 +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date msgid "Birthdate" msgstr "Date de naissance" #. module: partner_contact_birthdate -#: code:addons/partner_contact_birthdate/models.py:52 +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 #, python-format msgid "" "Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " diff --git a/partner_contact_birthdate/i18n/hr_HR.po b/partner_contact_birthdate/i18n/hr_HR.po new file mode 100644 index 000000000..7325044d3 --- /dev/null +++ b/partner_contact_birthdate/i18n/hr_HR.po @@ -0,0 +1,37 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# Bole , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-08-18 02:46+0000\n" +"PO-Revision-Date: 2016-08-18 02:46+0000\n" +"Last-Translator: Bole , 2016\n" +"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/hr_HR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: hr_HR\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" + +#. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "Partner" diff --git a/partner_contact_birthdate/i18n/it.po b/partner_contact_birthdate/i18n/it.po new file mode 100644 index 000000000..828fc86e9 --- /dev/null +++ b/partner_contact_birthdate/i18n/it.po @@ -0,0 +1,37 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-08-18 02:46+0000\n" +"PO-Revision-Date: 2016-08-18 02:46+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: it\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "Partner" diff --git a/partner_contact_birthdate/i18n/pt_BR.po b/partner_contact_birthdate/i18n/pt_BR.po new file mode 100644 index 000000000..a4b605e05 --- /dev/null +++ b/partner_contact_birthdate/i18n/pt_BR.po @@ -0,0 +1,37 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-08-18 02:46+0000\n" +"PO-Revision-Date: 2016-08-18 02:46+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/23907/pt_BR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pt_BR\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "Parceiro" diff --git a/partner_contact_birthdate/i18n/sl.po b/partner_contact_birthdate/i18n/sl.po index 9bf95203f..796c0b851 100644 --- a/partner_contact_birthdate/i18n/sl.po +++ b/partner_contact_birthdate/i18n/sl.po @@ -1,37 +1,37 @@ -# Translation of OpenERP Server. +# Translation of Odoo Server. # This file contains the translation of the following modules: -# * base_contact -# -# Matjaž Mozetič , 2015. +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: OpenERP Server 7.0\n" +"Project-Id-Version: Odoo Server 9.0c\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-08-02 08:17+0200\n" -"PO-Revision-Date: 2015-08-02 08:17+0200\n" -"Last-Translator: Matjaz Mozetic \n" -"Language-Team: Slovenian \n" -"Language: sl\n" +"POT-Creation-Date: 2016-08-18 02:46+0000\n" +"PO-Revision-Date: 2016-08-18 02:46+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: \n" -"X-Generator: Poedit 1.8.2\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_contact_birthdate -#: field:res.partner,birthdate_date:0 +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date msgid "Birthdate" msgstr "Rojstni datum" #. module: partner_contact_birthdate -#: code:addons/partner_contact_birthdate/models.py:52 +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 #, python-format msgid "" "Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " "Skipping." msgstr "" -"Ni možna pretvorba '{0.birthdate}' v datum v res.partner {0.id} ({0." -"name}). Preskoči." +"Ni možna pretvorba '{0.birthdate}' v datum v res.partner {0.id} ({0.name})." +" Preskoči." #. module: partner_contact_birthdate #: model:ir.model,name:partner_contact_birthdate.model_res_partner From 0e84f689451f808233d55948cdbe1cc67d66380f Mon Sep 17 00:00:00 2001 From: invitu Date: Fri, 11 Nov 2016 16:08:15 -1000 Subject: [PATCH 07/12] =?UTF-8?q?[MIG]=20Migration=20partner=5Fcontact=5Fb?= =?UTF-8?q?irthdate=20partner=5Fcontact=5Fgender=20part=E2=80=A6=20(#315)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [MIG] Migration partner_contact_birthdate partner_contact_gender partner_contact_personal_information_page to v10 --- partner_contact_birthdate/__init__.py | 1 + .../{__openerp__.py => __manifest__.py} | 8 ++++-- .../data/res_partner.yml | 5 ---- partner_contact_birthdate/hooks.py | 10 +++++++ .../models/res_partner.py | 9 ++---- .../views/res_partner.xml | 28 +++++++++---------- 6 files changed, 31 insertions(+), 30 deletions(-) rename partner_contact_birthdate/{__openerp__.py => __manifest__.py} (72%) delete mode 100644 partner_contact_birthdate/data/res_partner.yml create mode 100644 partner_contact_birthdate/hooks.py diff --git a/partner_contact_birthdate/__init__.py b/partner_contact_birthdate/__init__.py index 2fe0926df..00ff9b00b 100644 --- a/partner_contact_birthdate/__init__.py +++ b/partner_contact_birthdate/__init__.py @@ -2,3 +2,4 @@ # Copyright (C) 2014-2015 Grupo ESOC # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from . import models +from .hooks import post_init_hook diff --git a/partner_contact_birthdate/__openerp__.py b/partner_contact_birthdate/__manifest__.py similarity index 72% rename from partner_contact_birthdate/__openerp__.py rename to partner_contact_birthdate/__manifest__.py index fe8b7472c..a8566aa2a 100644 --- a/partner_contact_birthdate/__openerp__.py +++ b/partner_contact_birthdate/__manifest__.py @@ -4,16 +4,18 @@ { "name": "Contact's birthdate", - "version": "9.0.1.0.0", - "author": "Jairo Llopis," + "version": "10.0.1.0.0", + "author": "Tecnativa," "Odoo Community Association (OCA)", "category": "Customer Relationship Management", - "website": "https://odoo-community.org/", + "website": "https://www.tecnativa.com/", "depends": [ "partner_contact_personal_information_page", ], "data": [ "views/res_partner.xml", ], + "post_init_hook": "post_init_hook", + "license": "AGPL-3", 'installable': True, } diff --git a/partner_contact_birthdate/data/res_partner.yml b/partner_contact_birthdate/data/res_partner.yml deleted file mode 100644 index d6be2f47e..000000000 --- a/partner_contact_birthdate/data/res_partner.yml +++ /dev/null @@ -1,5 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2014-2015 Grupo ESOC -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - -- !function {model: res.partner, name: _birthdate_install} diff --git a/partner_contact_birthdate/hooks.py b/partner_contact_birthdate/hooks.py new file mode 100644 index 000000000..f3d2ca69e --- /dev/null +++ b/partner_contact_birthdate/hooks.py @@ -0,0 +1,10 @@ +# -*- coding: utf-8 -*- + +from odoo import SUPERUSER_ID +from odoo.api import Environment + + +def post_init_hook(cr, pool): + env = Environment(cr, SUPERUSER_ID, {}) + env['res.partner'].search( + [('birthdate', "!=", False)])._birthdate_inverse() diff --git a/partner_contact_birthdate/models/res_partner.py b/partner_contact_birthdate/models/res_partner.py index d98771922..829771d11 100644 --- a/partner_contact_birthdate/models/res_partner.py +++ b/partner_contact_birthdate/models/res_partner.py @@ -1,14 +1,14 @@ # -*- coding: utf-8 -*- # Copyright (C) 2014-2015 Grupo ESOC # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -from openerp import _, api, fields, models +from odoo import _, api, fields, models import logging _logger = logging.getLogger(__name__) -class Partner(models.Model): +class ResPartner(models.Model): """Partner with birth date in date format.""" _inherit = "res.partner" @@ -36,8 +36,3 @@ class Partner(models.Model): _logger.warn( _("Could not convert '{0.birthdate}' to date in " "res.partner {0.id} ({0.name}). Skipping.").format(self)) - - @api.model - def _birthdate_install(self): - """Export all old birthdates to the new format.""" - self.search([('birthdate', "!=", False)])._inverse_birthdate() diff --git a/partner_contact_birthdate/views/res_partner.xml b/partner_contact_birthdate/views/res_partner.xml index 49c636171..4b2d1d1ac 100644 --- a/partner_contact_birthdate/views/res_partner.xml +++ b/partner_contact_birthdate/views/res_partner.xml @@ -1,20 +1,18 @@ - - - - - Birthdate Date field - res.partner - - - - - - - - - + + + Birthdate Date field + res.partner + + + + + + + + + From cc8ae6651941e0218f94e37a6dff791ca4ec0117 Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Tue, 29 Nov 2016 08:29:55 -0500 Subject: [PATCH 08/12] OCA Transbot updated translations from Transifex --- partner_contact_birthdate/i18n/am.po | 38 ++++++++++++++++++++ partner_contact_birthdate/i18n/ar.po | 38 ++++++++++++++++++++ partner_contact_birthdate/i18n/bg.po | 38 ++++++++++++++++++++ partner_contact_birthdate/i18n/bs.po | 38 ++++++++++++++++++++ partner_contact_birthdate/i18n/ca.po | 38 ++++++++++++++++++++ partner_contact_birthdate/i18n/cs.po | 38 ++++++++++++++++++++ partner_contact_birthdate/i18n/de.po | 9 +++-- partner_contact_birthdate/i18n/el_GR.po | 38 ++++++++++++++++++++ partner_contact_birthdate/i18n/en_GB.po | 38 ++++++++++++++++++++ partner_contact_birthdate/i18n/es.po | 9 +++-- partner_contact_birthdate/i18n/es_CR.po | 38 ++++++++++++++++++++ partner_contact_birthdate/i18n/es_EC.po | 38 ++++++++++++++++++++ partner_contact_birthdate/i18n/es_MX.po | 38 ++++++++++++++++++++ partner_contact_birthdate/i18n/es_VE.po | 38 ++++++++++++++++++++ partner_contact_birthdate/i18n/et.po | 38 ++++++++++++++++++++ partner_contact_birthdate/i18n/eu.po | 38 ++++++++++++++++++++ partner_contact_birthdate/i18n/fi.po | 38 ++++++++++++++++++++ partner_contact_birthdate/i18n/fr.po | 11 ++++-- partner_contact_birthdate/i18n/fr_CA.po | 38 ++++++++++++++++++++ partner_contact_birthdate/i18n/fr_CH.po | 38 ++++++++++++++++++++ partner_contact_birthdate/i18n/gl.po | 38 ++++++++++++++++++++ partner_contact_birthdate/i18n/hr.po | 38 ++++++++++++++++++++ partner_contact_birthdate/i18n/hr_HR.po | 17 +++++---- partner_contact_birthdate/i18n/hu.po | 38 ++++++++++++++++++++ partner_contact_birthdate/i18n/it.po | 13 ++++--- partner_contact_birthdate/i18n/ja.po | 38 ++++++++++++++++++++ partner_contact_birthdate/i18n/lt.po | 38 ++++++++++++++++++++ partner_contact_birthdate/i18n/lv.po | 38 ++++++++++++++++++++ partner_contact_birthdate/i18n/mk.po | 38 ++++++++++++++++++++ partner_contact_birthdate/i18n/mn.po | 38 ++++++++++++++++++++ partner_contact_birthdate/i18n/nb.po | 38 ++++++++++++++++++++ partner_contact_birthdate/i18n/nb_NO.po | 38 ++++++++++++++++++++ partner_contact_birthdate/i18n/nl_BE.po | 38 ++++++++++++++++++++ partner_contact_birthdate/i18n/pl.po | 38 ++++++++++++++++++++ partner_contact_birthdate/i18n/pt.po | 38 ++++++++++++++++++++ partner_contact_birthdate/i18n/pt_BR.po | 16 ++++++--- partner_contact_birthdate/i18n/pt_PT.po | 42 ++++++++++++++++++++++ partner_contact_birthdate/i18n/ro.po | 38 ++++++++++++++++++++ partner_contact_birthdate/i18n/ru.po | 38 ++++++++++++++++++++ partner_contact_birthdate/i18n/sk.po | 38 ++++++++++++++++++++ partner_contact_birthdate/i18n/sl.po | 9 +++-- partner_contact_birthdate/i18n/sr@latin.po | 38 ++++++++++++++++++++ partner_contact_birthdate/i18n/sv.po | 38 ++++++++++++++++++++ partner_contact_birthdate/i18n/th.po | 38 ++++++++++++++++++++ partner_contact_birthdate/i18n/tr.po | 38 ++++++++++++++++++++ partner_contact_birthdate/i18n/tr_TR.po | 38 ++++++++++++++++++++ partner_contact_birthdate/i18n/vi.po | 38 ++++++++++++++++++++ partner_contact_birthdate/i18n/zh_CN.po | 38 ++++++++++++++++++++ partner_contact_birthdate/i18n/zh_TW.po | 38 ++++++++++++++++++++ 49 files changed, 1657 insertions(+), 27 deletions(-) create mode 100644 partner_contact_birthdate/i18n/am.po create mode 100644 partner_contact_birthdate/i18n/ar.po create mode 100644 partner_contact_birthdate/i18n/bg.po create mode 100644 partner_contact_birthdate/i18n/bs.po create mode 100644 partner_contact_birthdate/i18n/ca.po create mode 100644 partner_contact_birthdate/i18n/cs.po create mode 100644 partner_contact_birthdate/i18n/el_GR.po create mode 100644 partner_contact_birthdate/i18n/en_GB.po create mode 100644 partner_contact_birthdate/i18n/es_CR.po create mode 100644 partner_contact_birthdate/i18n/es_EC.po create mode 100644 partner_contact_birthdate/i18n/es_MX.po create mode 100644 partner_contact_birthdate/i18n/es_VE.po create mode 100644 partner_contact_birthdate/i18n/et.po create mode 100644 partner_contact_birthdate/i18n/eu.po create mode 100644 partner_contact_birthdate/i18n/fi.po create mode 100644 partner_contact_birthdate/i18n/fr_CA.po create mode 100644 partner_contact_birthdate/i18n/fr_CH.po create mode 100644 partner_contact_birthdate/i18n/gl.po create mode 100644 partner_contact_birthdate/i18n/hr.po create mode 100644 partner_contact_birthdate/i18n/hu.po create mode 100644 partner_contact_birthdate/i18n/ja.po create mode 100644 partner_contact_birthdate/i18n/lt.po create mode 100644 partner_contact_birthdate/i18n/lv.po create mode 100644 partner_contact_birthdate/i18n/mk.po create mode 100644 partner_contact_birthdate/i18n/mn.po create mode 100644 partner_contact_birthdate/i18n/nb.po create mode 100644 partner_contact_birthdate/i18n/nb_NO.po create mode 100644 partner_contact_birthdate/i18n/nl_BE.po create mode 100644 partner_contact_birthdate/i18n/pl.po create mode 100644 partner_contact_birthdate/i18n/pt.po create mode 100644 partner_contact_birthdate/i18n/pt_PT.po create mode 100644 partner_contact_birthdate/i18n/ro.po create mode 100644 partner_contact_birthdate/i18n/ru.po create mode 100644 partner_contact_birthdate/i18n/sk.po create mode 100644 partner_contact_birthdate/i18n/sr@latin.po create mode 100644 partner_contact_birthdate/i18n/sv.po create mode 100644 partner_contact_birthdate/i18n/th.po create mode 100644 partner_contact_birthdate/i18n/tr.po create mode 100644 partner_contact_birthdate/i18n/tr_TR.po create mode 100644 partner_contact_birthdate/i18n/vi.po create mode 100644 partner_contact_birthdate/i18n/zh_CN.po create mode 100644 partner_contact_birthdate/i18n/zh_TW.po diff --git a/partner_contact_birthdate/i18n/am.po b/partner_contact_birthdate/i18n/am.po new file mode 100644 index 000000000..dd692d85f --- /dev/null +++ b/partner_contact_birthdate/i18n/am.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Amharic (https://www.transifex.com/oca/teams/23907/am/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: am\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "ተባባሪ" diff --git a/partner_contact_birthdate/i18n/ar.po b/partner_contact_birthdate/i18n/ar.po new file mode 100644 index 000000000..9ace7fc1f --- /dev/null +++ b/partner_contact_birthdate/i18n/ar.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/ar/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ar\n" +"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" + +#. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "الشريك" diff --git a/partner_contact_birthdate/i18n/bg.po b/partner_contact_birthdate/i18n/bg.po new file mode 100644 index 000000000..eefcd9658 --- /dev/null +++ b/partner_contact_birthdate/i18n/bg.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-12-31 01:39+0000\n" +"PO-Revision-Date: 2016-12-31 01:39+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Bulgarian (https://www.transifex.com/oca/teams/23907/bg/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: bg\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "Партньор" diff --git a/partner_contact_birthdate/i18n/bs.po b/partner_contact_birthdate/i18n/bs.po new file mode 100644 index 000000000..b8eebc65e --- /dev/null +++ b/partner_contact_birthdate/i18n/bs.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Bosnian (https://www.transifex.com/oca/teams/23907/bs/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: bs\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "Partner" diff --git a/partner_contact_birthdate/i18n/ca.po b/partner_contact_birthdate/i18n/ca.po new file mode 100644 index 000000000..fa55b90aa --- /dev/null +++ b/partner_contact_birthdate/i18n/ca.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ca\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "Empresa" diff --git a/partner_contact_birthdate/i18n/cs.po b/partner_contact_birthdate/i18n/cs.po new file mode 100644 index 000000000..561916057 --- /dev/null +++ b/partner_contact_birthdate/i18n/cs.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Czech (https://www.transifex.com/oca/teams/23907/cs/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: cs\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "Společník" diff --git a/partner_contact_birthdate/i18n/de.po b/partner_contact_birthdate/i18n/de.po index 68840b2a1..3269e34ea 100644 --- a/partner_contact_birthdate/i18n/de.po +++ b/partner_contact_birthdate/i18n/de.po @@ -6,10 +6,10 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" +"Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-08-18 02:46+0000\n" -"PO-Revision-Date: 2016-08-18 02:46+0000\n" +"POT-Creation-Date: 2017-05-01 20:42+0000\n" +"PO-Revision-Date: 2017-05-01 20:42+0000\n" "Last-Translator: OCA Transbot , 2016\n" "Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" "MIME-Version: 1.0\n" @@ -19,7 +19,10 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate #: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_users_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_users_birthdate_date msgid "Birthdate" msgstr "Geburtsdatum" diff --git a/partner_contact_birthdate/i18n/el_GR.po b/partner_contact_birthdate/i18n/el_GR.po new file mode 100644 index 000000000..0c20761bb --- /dev/null +++ b/partner_contact_birthdate/i18n/el_GR.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Greek (Greece) (https://www.transifex.com/oca/teams/23907/el_GR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: el_GR\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "Συνεργάτης" diff --git a/partner_contact_birthdate/i18n/en_GB.po b/partner_contact_birthdate/i18n/en_GB.po new file mode 100644 index 000000000..49e1eb7bc --- /dev/null +++ b/partner_contact_birthdate/i18n/en_GB.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: English (United Kingdom) (https://www.transifex.com/oca/teams/23907/en_GB/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: en_GB\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "Partner" diff --git a/partner_contact_birthdate/i18n/es.po b/partner_contact_birthdate/i18n/es.po index c2490c61f..e87cfc56f 100644 --- a/partner_contact_birthdate/i18n/es.po +++ b/partner_contact_birthdate/i18n/es.po @@ -6,10 +6,10 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" +"Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-08-18 02:46+0000\n" -"PO-Revision-Date: 2016-08-18 02:46+0000\n" +"POT-Creation-Date: 2017-05-01 20:42+0000\n" +"PO-Revision-Date: 2017-05-01 20:42+0000\n" "Last-Translator: OCA Transbot , 2016\n" "Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" "MIME-Version: 1.0\n" @@ -19,7 +19,10 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate #: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_users_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_users_birthdate_date msgid "Birthdate" msgstr "Fecha de nacimiento" diff --git a/partner_contact_birthdate/i18n/es_CR.po b/partner_contact_birthdate/i18n/es_CR.po new file mode 100644 index 000000000..36aaf117e --- /dev/null +++ b/partner_contact_birthdate/i18n/es_CR.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Spanish (Costa Rica) (https://www.transifex.com/oca/teams/23907/es_CR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es_CR\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "Empresa" diff --git a/partner_contact_birthdate/i18n/es_EC.po b/partner_contact_birthdate/i18n/es_EC.po new file mode 100644 index 000000000..96b3f29b8 --- /dev/null +++ b/partner_contact_birthdate/i18n/es_EC.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Spanish (Ecuador) (https://www.transifex.com/oca/teams/23907/es_EC/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es_EC\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "Empresa" diff --git a/partner_contact_birthdate/i18n/es_MX.po b/partner_contact_birthdate/i18n/es_MX.po new file mode 100644 index 000000000..f6e671874 --- /dev/null +++ b/partner_contact_birthdate/i18n/es_MX.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Spanish (Mexico) (https://www.transifex.com/oca/teams/23907/es_MX/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es_MX\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "Empresa" diff --git a/partner_contact_birthdate/i18n/es_VE.po b/partner_contact_birthdate/i18n/es_VE.po new file mode 100644 index 000000000..e1bae6b5f --- /dev/null +++ b/partner_contact_birthdate/i18n/es_VE.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Spanish (Venezuela) (https://www.transifex.com/oca/teams/23907/es_VE/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es_VE\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "Empresa" diff --git a/partner_contact_birthdate/i18n/et.po b/partner_contact_birthdate/i18n/et.po new file mode 100644 index 000000000..0bc5f5686 --- /dev/null +++ b/partner_contact_birthdate/i18n/et.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Estonian (https://www.transifex.com/oca/teams/23907/et/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: et\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "Partner" diff --git a/partner_contact_birthdate/i18n/eu.po b/partner_contact_birthdate/i18n/eu.po new file mode 100644 index 000000000..4f6e92417 --- /dev/null +++ b/partner_contact_birthdate/i18n/eu.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Basque (https://www.transifex.com/oca/teams/23907/eu/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: eu\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "Kidea" diff --git a/partner_contact_birthdate/i18n/fi.po b/partner_contact_birthdate/i18n/fi.po new file mode 100644 index 000000000..ba488861b --- /dev/null +++ b/partner_contact_birthdate/i18n/fi.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-12-21 03:40+0000\n" +"PO-Revision-Date: 2016-12-21 03:40+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Finnish (https://www.transifex.com/oca/teams/23907/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_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "Kumppani" diff --git a/partner_contact_birthdate/i18n/fr.po b/partner_contact_birthdate/i18n/fr.po index bfe5c2703..6ba55ccf9 100644 --- a/partner_contact_birthdate/i18n/fr.po +++ b/partner_contact_birthdate/i18n/fr.po @@ -6,10 +6,10 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" +"Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-08-18 02:46+0000\n" -"PO-Revision-Date: 2016-08-18 02:46+0000\n" +"POT-Creation-Date: 2017-05-01 20:42+0000\n" +"PO-Revision-Date: 2017-05-01 20:42+0000\n" "Last-Translator: OCA Transbot , 2016\n" "Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" "MIME-Version: 1.0\n" @@ -19,7 +19,10 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate #: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_users_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_users_birthdate_date msgid "Birthdate" msgstr "Date de naissance" @@ -30,6 +33,8 @@ msgid "" "Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " "Skipping." msgstr "" +"Impossible de convertir '{0.birthdate}' en date pour le res.partner {0.id} " +"({0.name}). Ignoré." #. module: partner_contact_birthdate #: model:ir.model,name:partner_contact_birthdate.model_res_partner diff --git a/partner_contact_birthdate/i18n/fr_CA.po b/partner_contact_birthdate/i18n/fr_CA.po new file mode 100644 index 000000000..3f2868366 --- /dev/null +++ b/partner_contact_birthdate/i18n/fr_CA.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: French (Canada) (https://www.transifex.com/oca/teams/23907/fr_CA/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fr_CA\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "Partenaire" diff --git a/partner_contact_birthdate/i18n/fr_CH.po b/partner_contact_birthdate/i18n/fr_CH.po new file mode 100644 index 000000000..7a436635a --- /dev/null +++ b/partner_contact_birthdate/i18n/fr_CH.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: French (Switzerland) (https://www.transifex.com/oca/teams/23907/fr_CH/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fr_CH\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "Partenaire" diff --git a/partner_contact_birthdate/i18n/gl.po b/partner_contact_birthdate/i18n/gl.po new file mode 100644 index 000000000..ad7e1d1b6 --- /dev/null +++ b/partner_contact_birthdate/i18n/gl.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Galician (https://www.transifex.com/oca/teams/23907/gl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: gl\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "Empresa" diff --git a/partner_contact_birthdate/i18n/hr.po b/partner_contact_birthdate/i18n/hr.po new file mode 100644 index 000000000..a7ac817a1 --- /dev/null +++ b/partner_contact_birthdate/i18n/hr.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-12-31 01:39+0000\n" +"PO-Revision-Date: 2016-12-31 01:39+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: hr\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" + +#. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "Partner" diff --git a/partner_contact_birthdate/i18n/hr_HR.po b/partner_contact_birthdate/i18n/hr_HR.po index 7325044d3..3dac380a8 100644 --- a/partner_contact_birthdate/i18n/hr_HR.po +++ b/partner_contact_birthdate/i18n/hr_HR.po @@ -3,14 +3,14 @@ # * partner_contact_birthdate # # Translators: -# Bole , 2016 +# OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" +"Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-08-18 02:46+0000\n" -"PO-Revision-Date: 2016-08-18 02:46+0000\n" -"Last-Translator: Bole , 2016\n" +"POT-Creation-Date: 2017-05-01 20:42+0000\n" +"PO-Revision-Date: 2017-05-01 20:42+0000\n" +"Last-Translator: OCA Transbot , 2016\n" "Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/hr_HR/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -19,9 +19,12 @@ msgstr "" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" #. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate #: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_users_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_users_birthdate_date msgid "Birthdate" -msgstr "" +msgstr "Datum rođenja" #. module: partner_contact_birthdate #: code:addons/partner_contact_birthdate/models/res_partner.py:37 @@ -30,6 +33,8 @@ msgid "" "Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " "Skipping." msgstr "" +"Nije moguća konverzija '{0.birthdate}' u datum u res.partner {0.id} " +"({0.name}). Preskačem." #. module: partner_contact_birthdate #: model:ir.model,name:partner_contact_birthdate.model_res_partner diff --git a/partner_contact_birthdate/i18n/hu.po b/partner_contact_birthdate/i18n/hu.po new file mode 100644 index 000000000..b0e3e2099 --- /dev/null +++ b/partner_contact_birthdate/i18n/hu.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Hungarian (https://www.transifex.com/oca/teams/23907/hu/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: hu\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "Partner" diff --git a/partner_contact_birthdate/i18n/it.po b/partner_contact_birthdate/i18n/it.po index 828fc86e9..383fdde0c 100644 --- a/partner_contact_birthdate/i18n/it.po +++ b/partner_contact_birthdate/i18n/it.po @@ -6,10 +6,10 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" +"Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-08-18 02:46+0000\n" -"PO-Revision-Date: 2016-08-18 02:46+0000\n" +"POT-Creation-Date: 2017-05-01 20:42+0000\n" +"PO-Revision-Date: 2017-05-01 20:42+0000\n" "Last-Translator: OCA Transbot , 2016\n" "Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n" "MIME-Version: 1.0\n" @@ -19,9 +19,12 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate #: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_users_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_users_birthdate_date msgid "Birthdate" -msgstr "" +msgstr "Data di nascita" #. module: partner_contact_birthdate #: code:addons/partner_contact_birthdate/models/res_partner.py:37 @@ -30,6 +33,8 @@ msgid "" "Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " "Skipping." msgstr "" +"Impossibile convertire '{0.birthdate}' in una data per res.partner {0.id} " +"({0.name}). Saltato." #. module: partner_contact_birthdate #: model:ir.model,name:partner_contact_birthdate.model_res_partner diff --git a/partner_contact_birthdate/i18n/ja.po b/partner_contact_birthdate/i18n/ja.po new file mode 100644 index 000000000..0d432b4d0 --- /dev/null +++ b/partner_contact_birthdate/i18n/ja.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Japanese (https://www.transifex.com/oca/teams/23907/ja/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ja\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "パートナ" diff --git a/partner_contact_birthdate/i18n/lt.po b/partner_contact_birthdate/i18n/lt.po new file mode 100644 index 000000000..f647df2de --- /dev/null +++ b/partner_contact_birthdate/i18n/lt.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Lithuanian (https://www.transifex.com/oca/teams/23907/lt/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: lt\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "Partneris" diff --git a/partner_contact_birthdate/i18n/lv.po b/partner_contact_birthdate/i18n/lv.po new file mode 100644 index 000000000..3fd6eecfa --- /dev/null +++ b/partner_contact_birthdate/i18n/lv.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Latvian (https://www.transifex.com/oca/teams/23907/lv/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: lv\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n" + +#. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "Partneris" diff --git a/partner_contact_birthdate/i18n/mk.po b/partner_contact_birthdate/i18n/mk.po new file mode 100644 index 000000000..c477a3f5f --- /dev/null +++ b/partner_contact_birthdate/i18n/mk.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Macedonian (https://www.transifex.com/oca/teams/23907/mk/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: mk\n" +"Plural-Forms: nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;\n" + +#. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "Партнер" diff --git a/partner_contact_birthdate/i18n/mn.po b/partner_contact_birthdate/i18n/mn.po new file mode 100644 index 000000000..46f87aea1 --- /dev/null +++ b/partner_contact_birthdate/i18n/mn.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Mongolian (https://www.transifex.com/oca/teams/23907/mn/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: mn\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "Харилцагч" diff --git a/partner_contact_birthdate/i18n/nb.po b/partner_contact_birthdate/i18n/nb.po new file mode 100644 index 000000000..3b4cb3f4c --- /dev/null +++ b/partner_contact_birthdate/i18n/nb.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Norwegian Bokmål (https://www.transifex.com/oca/teams/23907/nb/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: nb\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "Partner" diff --git a/partner_contact_birthdate/i18n/nb_NO.po b/partner_contact_birthdate/i18n/nb_NO.po new file mode 100644 index 000000000..b2fd09371 --- /dev/null +++ b/partner_contact_birthdate/i18n/nb_NO.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Norwegian Bokmål (Norway) (https://www.transifex.com/oca/teams/23907/nb_NO/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: nb_NO\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "Partner" diff --git a/partner_contact_birthdate/i18n/nl_BE.po b/partner_contact_birthdate/i18n/nl_BE.po new file mode 100644 index 000000000..2b85ace3f --- /dev/null +++ b/partner_contact_birthdate/i18n/nl_BE.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Dutch (Belgium) (https://www.transifex.com/oca/teams/23907/nl_BE/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: nl_BE\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "Relatie" diff --git a/partner_contact_birthdate/i18n/pl.po b/partner_contact_birthdate/i18n/pl.po new file mode 100644 index 000000000..9feea325e --- /dev/null +++ b/partner_contact_birthdate/i18n/pl.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Polish (https://www.transifex.com/oca/teams/23907/pl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pl\n" +"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>=14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" + +#. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "Partner" diff --git a/partner_contact_birthdate/i18n/pt.po b/partner_contact_birthdate/i18n/pt.po new file mode 100644 index 000000000..5e35717b7 --- /dev/null +++ b/partner_contact_birthdate/i18n/pt.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# Tiago Baptista , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-14 03:37+0000\n" +"PO-Revision-Date: 2016-11-14 03:37+0000\n" +"Last-Translator: Tiago Baptista , 2016\n" +"Language-Team: Portuguese (https://www.transifex.com/oca/teams/23907/pt/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pt\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "Parceiro" diff --git a/partner_contact_birthdate/i18n/pt_BR.po b/partner_contact_birthdate/i18n/pt_BR.po index a4b605e05..0aaacdb1c 100644 --- a/partner_contact_birthdate/i18n/pt_BR.po +++ b/partner_contact_birthdate/i18n/pt_BR.po @@ -4,13 +4,14 @@ # # Translators: # OCA Transbot , 2016 +# Albert Vonpupp , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" +"Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-08-18 02:46+0000\n" -"PO-Revision-Date: 2016-08-18 02:46+0000\n" -"Last-Translator: OCA Transbot , 2016\n" +"POT-Creation-Date: 2017-05-01 20:42+0000\n" +"PO-Revision-Date: 2017-05-01 20:42+0000\n" +"Last-Translator: Albert Vonpupp , 2016\n" "Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/23907/pt_BR/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -19,9 +20,12 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate #: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_users_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_users_birthdate_date msgid "Birthdate" -msgstr "" +msgstr "Data de nascimento" #. module: partner_contact_birthdate #: code:addons/partner_contact_birthdate/models/res_partner.py:37 @@ -30,6 +34,8 @@ msgid "" "Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " "Skipping." msgstr "" +"Não foi possível converter '{0.birthdate}' a uma data em res.partner {0.id} " +"({0.name}). Ignorando." #. module: partner_contact_birthdate #: model:ir.model,name:partner_contact_birthdate.model_res_partner diff --git a/partner_contact_birthdate/i18n/pt_PT.po b/partner_contact_birthdate/i18n/pt_PT.po new file mode 100644 index 000000000..8d304fce8 --- /dev/null +++ b/partner_contact_birthdate/i18n/pt_PT.po @@ -0,0 +1,42 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-01 20:42+0000\n" +"PO-Revision-Date: 2017-05-01 20:42+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Portuguese (Portugal) (https://www.transifex.com/oca/teams/23907/pt_PT/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pt_PT\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_users_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_users_birthdate_date +msgid "Birthdate" +msgstr "Data de Nascimento" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" +"Não foi possível converter '{0.birthdate}' para um formato de data em " +"res.partner {0.id} ({0.name}). Ignorado." + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "Parceiro" diff --git a/partner_contact_birthdate/i18n/ro.po b/partner_contact_birthdate/i18n/ro.po new file mode 100644 index 000000000..86dbf4d54 --- /dev/null +++ b/partner_contact_birthdate/i18n/ro.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Romanian (https://www.transifex.com/oca/teams/23907/ro/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ro\n" +"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n" + +#. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "Partener" diff --git a/partner_contact_birthdate/i18n/ru.po b/partner_contact_birthdate/i18n/ru.po new file mode 100644 index 000000000..15ae146eb --- /dev/null +++ b/partner_contact_birthdate/i18n/ru.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Russian (https://www.transifex.com/oca/teams/23907/ru/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ru\n" +"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" + +#. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "Контрагент" diff --git a/partner_contact_birthdate/i18n/sk.po b/partner_contact_birthdate/i18n/sk.po new file mode 100644 index 000000000..048f413ce --- /dev/null +++ b/partner_contact_birthdate/i18n/sk.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Slovak (https://www.transifex.com/oca/teams/23907/sk/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sk\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "Partner" diff --git a/partner_contact_birthdate/i18n/sl.po b/partner_contact_birthdate/i18n/sl.po index 796c0b851..2de20f2a1 100644 --- a/partner_contact_birthdate/i18n/sl.po +++ b/partner_contact_birthdate/i18n/sl.po @@ -6,10 +6,10 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" +"Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-08-18 02:46+0000\n" -"PO-Revision-Date: 2016-08-18 02:46+0000\n" +"POT-Creation-Date: 2017-05-01 20:42+0000\n" +"PO-Revision-Date: 2017-05-01 20:42+0000\n" "Last-Translator: OCA Transbot , 2016\n" "Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" "MIME-Version: 1.0\n" @@ -19,7 +19,10 @@ msgstr "" "Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" #. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate #: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_users_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_users_birthdate_date msgid "Birthdate" msgstr "Rojstni datum" diff --git a/partner_contact_birthdate/i18n/sr@latin.po b/partner_contact_birthdate/i18n/sr@latin.po new file mode 100644 index 000000000..12110f8d6 --- /dev/null +++ b/partner_contact_birthdate/i18n/sr@latin.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Serbian (Latin) (https://www.transifex.com/oca/teams/23907/sr@latin/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sr@latin\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "Partner" diff --git a/partner_contact_birthdate/i18n/sv.po b/partner_contact_birthdate/i18n/sv.po new file mode 100644 index 000000000..3f8deccd3 --- /dev/null +++ b/partner_contact_birthdate/i18n/sv.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Swedish (https://www.transifex.com/oca/teams/23907/sv/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sv\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "Företag" diff --git a/partner_contact_birthdate/i18n/th.po b/partner_contact_birthdate/i18n/th.po new file mode 100644 index 000000000..3011b034c --- /dev/null +++ b/partner_contact_birthdate/i18n/th.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Thai (https://www.transifex.com/oca/teams/23907/th/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: th\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "พาร์ทเนอร์" diff --git a/partner_contact_birthdate/i18n/tr.po b/partner_contact_birthdate/i18n/tr.po new file mode 100644 index 000000000..b4c493097 --- /dev/null +++ b/partner_contact_birthdate/i18n/tr.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Turkish (https://www.transifex.com/oca/teams/23907/tr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: tr\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "İş Ortağı" diff --git a/partner_contact_birthdate/i18n/tr_TR.po b/partner_contact_birthdate/i18n/tr_TR.po new file mode 100644 index 000000000..ee833d3ef --- /dev/null +++ b/partner_contact_birthdate/i18n/tr_TR.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/tr_TR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: tr_TR\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "Ortak" diff --git a/partner_contact_birthdate/i18n/vi.po b/partner_contact_birthdate/i18n/vi.po new file mode 100644 index 000000000..64af97ce3 --- /dev/null +++ b/partner_contact_birthdate/i18n/vi.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Vietnamese (https://www.transifex.com/oca/teams/23907/vi/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: vi\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "Đối tác" diff --git a/partner_contact_birthdate/i18n/zh_CN.po b/partner_contact_birthdate/i18n/zh_CN.po new file mode 100644 index 000000000..01bc75aa3 --- /dev/null +++ b/partner_contact_birthdate/i18n/zh_CN.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Chinese (China) (https://www.transifex.com/oca/teams/23907/zh_CN/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: zh_CN\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "业务伙伴" diff --git a/partner_contact_birthdate/i18n/zh_TW.po b/partner_contact_birthdate/i18n/zh_TW.po new file mode 100644 index 000000000..548a980ac --- /dev/null +++ b/partner_contact_birthdate/i18n/zh_TW.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Chinese (Taiwan) (https://www.transifex.com/oca/teams/23907/zh_TW/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: zh_TW\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +msgid "Birthdate" +msgstr "" + +#. module: partner_contact_birthdate +#: code:addons/partner_contact_birthdate/models/res_partner.py:37 +#, python-format +msgid "" +"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " +"Skipping." +msgstr "" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "夥伴" From 92fa495469b55e8986f3c4d9b3f3ac544c53e39a Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Wed, 31 May 2017 10:55:18 +0200 Subject: [PATCH 09/12] [FIX] partner_contact: Fix Travis --- partner_contact_birthdate/__manifest__.py | 2 +- partner_contact_birthdate/models/res_partner.py | 9 ++------- partner_contact_birthdate/tests/test_birthdate.py | 9 ++------- 3 files changed, 5 insertions(+), 15 deletions(-) diff --git a/partner_contact_birthdate/__manifest__.py b/partner_contact_birthdate/__manifest__.py index a8566aa2a..468dabeea 100644 --- a/partner_contact_birthdate/__manifest__.py +++ b/partner_contact_birthdate/__manifest__.py @@ -4,7 +4,7 @@ { "name": "Contact's birthdate", - "version": "10.0.1.0.0", + "version": "10.0.1.1.0", "author": "Tecnativa," "Odoo Community Association (OCA)", "category": "Customer Relationship Management", diff --git a/partner_contact_birthdate/models/res_partner.py b/partner_contact_birthdate/models/res_partner.py index 829771d11..d4ba59d70 100644 --- a/partner_contact_birthdate/models/res_partner.py +++ b/partner_contact_birthdate/models/res_partner.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # Copyright (C) 2014-2015 Grupo ESOC # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -from odoo import _, api, fields, models +from odoo import api, fields, models import logging @@ -30,9 +30,4 @@ class ResPartner(models.Model): @api.one def _birthdate_inverse(self): """Convert the old Char date to the new Date format.""" - try: - self.birthdate_date = self.birthdate - except ValueError: - _logger.warn( - _("Could not convert '{0.birthdate}' to date in " - "res.partner {0.id} ({0.name}). Skipping.").format(self)) + self.birthdate_date = self.birthdate diff --git a/partner_contact_birthdate/tests/test_birthdate.py b/partner_contact_birthdate/tests/test_birthdate.py index 7cfa2e695..7799ad6a0 100644 --- a/partner_contact_birthdate/tests/test_birthdate.py +++ b/partner_contact_birthdate/tests/test_birthdate.py @@ -28,12 +28,7 @@ class BadCase(TransactionCase): def setUp(self): super(BadCase, self).setUp() self.partner = self.env["res.partner"].create({"name": str(self)}) - self.birthdate = date.today() - - def tearDown(self): - self.assertNotEqual(self.partner.birthdate, - self.partner.birthdate_date) - super(BadCase, self).tearDown() def test_old_to_new(self): - self.partner.birthdate = "Not a date" + with self.assertRaises(ValueError): + self.partner.birthdate = "Not a date" From 8d80718edac2d44b49b25b65762c86d3931c29e7 Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Sat, 10 Jun 2017 06:39:25 +0200 Subject: [PATCH 10/12] OCA Transbot updated translations from Transifex --- partner_contact_birthdate/i18n/es.po | 14 ++--------- partner_contact_birthdate/i18n/fi.po | 19 ++++++--------- partner_contact_birthdate/i18n/fr.po | 14 ++--------- partner_contact_birthdate/i18n/hr_HR.po | 14 ++--------- partner_contact_birthdate/i18n/it.po | 14 ++--------- partner_contact_birthdate/i18n/nl_NL.po | 32 +++++++++++++++++++++++++ partner_contact_birthdate/i18n/pt_BR.po | 17 +++---------- partner_contact_birthdate/i18n/pt_PT.po | 14 ++--------- partner_contact_birthdate/i18n/sl.po | 14 ++--------- 9 files changed, 54 insertions(+), 98 deletions(-) create mode 100644 partner_contact_birthdate/i18n/nl_NL.po diff --git a/partner_contact_birthdate/i18n/es.po b/partner_contact_birthdate/i18n/es.po index e87cfc56f..244534319 100644 --- a/partner_contact_birthdate/i18n/es.po +++ b/partner_contact_birthdate/i18n/es.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-05-01 20:42+0000\n" -"PO-Revision-Date: 2017-05-01 20:42+0000\n" +"POT-Creation-Date: 2017-06-10 01:50+0000\n" +"PO-Revision-Date: 2017-06-10 01:50+0000\n" "Last-Translator: OCA Transbot , 2016\n" "Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" "MIME-Version: 1.0\n" @@ -26,16 +26,6 @@ msgstr "" msgid "Birthdate" msgstr "Fecha de nacimiento" -#. module: partner_contact_birthdate -#: code:addons/partner_contact_birthdate/models/res_partner.py:37 -#, python-format -msgid "" -"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " -"Skipping." -msgstr "" -"No se pudo convertir '{0.birthdate}' en fecha en el res.partner {0.id} " -"({0.name}). Omitiéndolo." - #. module: partner_contact_birthdate #: model:ir.model,name:partner_contact_birthdate.model_res_partner msgid "Partner" diff --git a/partner_contact_birthdate/i18n/fi.po b/partner_contact_birthdate/i18n/fi.po index ba488861b..5e91c0472 100644 --- a/partner_contact_birthdate/i18n/fi.po +++ b/partner_contact_birthdate/i18n/fi.po @@ -4,13 +4,14 @@ # # Translators: # OCA Transbot , 2016 +# Timo Talvitie , 2017 msgid "" msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-21 03:40+0000\n" -"PO-Revision-Date: 2016-12-21 03:40+0000\n" -"Last-Translator: OCA Transbot , 2016\n" +"POT-Creation-Date: 2017-08-17 02:52+0000\n" +"PO-Revision-Date: 2017-08-17 02:52+0000\n" +"Last-Translator: Timo Talvitie , 2017\n" "Language-Team: Finnish (https://www.transifex.com/oca/teams/23907/fi/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -21,16 +22,10 @@ msgstr "" #. module: partner_contact_birthdate #: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate #: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_users_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_users_birthdate_date msgid "Birthdate" -msgstr "" - -#. module: partner_contact_birthdate -#: code:addons/partner_contact_birthdate/models/res_partner.py:37 -#, python-format -msgid "" -"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " -"Skipping." -msgstr "" +msgstr "Syntymäaika" #. module: partner_contact_birthdate #: model:ir.model,name:partner_contact_birthdate.model_res_partner diff --git a/partner_contact_birthdate/i18n/fr.po b/partner_contact_birthdate/i18n/fr.po index 6ba55ccf9..34c75c4d8 100644 --- a/partner_contact_birthdate/i18n/fr.po +++ b/partner_contact_birthdate/i18n/fr.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-05-01 20:42+0000\n" -"PO-Revision-Date: 2017-05-01 20:42+0000\n" +"POT-Creation-Date: 2017-06-10 01:50+0000\n" +"PO-Revision-Date: 2017-06-10 01:50+0000\n" "Last-Translator: OCA Transbot , 2016\n" "Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" "MIME-Version: 1.0\n" @@ -26,16 +26,6 @@ msgstr "" msgid "Birthdate" msgstr "Date de naissance" -#. module: partner_contact_birthdate -#: code:addons/partner_contact_birthdate/models/res_partner.py:37 -#, python-format -msgid "" -"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " -"Skipping." -msgstr "" -"Impossible de convertir '{0.birthdate}' en date pour le res.partner {0.id} " -"({0.name}). Ignoré." - #. module: partner_contact_birthdate #: model:ir.model,name:partner_contact_birthdate.model_res_partner msgid "Partner" diff --git a/partner_contact_birthdate/i18n/hr_HR.po b/partner_contact_birthdate/i18n/hr_HR.po index 3dac380a8..e6be5d0d8 100644 --- a/partner_contact_birthdate/i18n/hr_HR.po +++ b/partner_contact_birthdate/i18n/hr_HR.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-05-01 20:42+0000\n" -"PO-Revision-Date: 2017-05-01 20:42+0000\n" +"POT-Creation-Date: 2017-06-10 01:50+0000\n" +"PO-Revision-Date: 2017-06-10 01:50+0000\n" "Last-Translator: OCA Transbot , 2016\n" "Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/hr_HR/)\n" "MIME-Version: 1.0\n" @@ -26,16 +26,6 @@ msgstr "" msgid "Birthdate" msgstr "Datum rođenja" -#. module: partner_contact_birthdate -#: code:addons/partner_contact_birthdate/models/res_partner.py:37 -#, python-format -msgid "" -"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " -"Skipping." -msgstr "" -"Nije moguća konverzija '{0.birthdate}' u datum u res.partner {0.id} " -"({0.name}). Preskačem." - #. module: partner_contact_birthdate #: model:ir.model,name:partner_contact_birthdate.model_res_partner msgid "Partner" diff --git a/partner_contact_birthdate/i18n/it.po b/partner_contact_birthdate/i18n/it.po index 383fdde0c..4dfcd8dce 100644 --- a/partner_contact_birthdate/i18n/it.po +++ b/partner_contact_birthdate/i18n/it.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-05-01 20:42+0000\n" -"PO-Revision-Date: 2017-05-01 20:42+0000\n" +"POT-Creation-Date: 2017-06-10 01:50+0000\n" +"PO-Revision-Date: 2017-06-10 01:50+0000\n" "Last-Translator: OCA Transbot , 2016\n" "Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n" "MIME-Version: 1.0\n" @@ -26,16 +26,6 @@ msgstr "" msgid "Birthdate" msgstr "Data di nascita" -#. module: partner_contact_birthdate -#: code:addons/partner_contact_birthdate/models/res_partner.py:37 -#, python-format -msgid "" -"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " -"Skipping." -msgstr "" -"Impossibile convertire '{0.birthdate}' in una data per res.partner {0.id} " -"({0.name}). Saltato." - #. module: partner_contact_birthdate #: model:ir.model,name:partner_contact_birthdate.model_res_partner msgid "Partner" diff --git a/partner_contact_birthdate/i18n/nl_NL.po b/partner_contact_birthdate/i18n/nl_NL.po new file mode 100644 index 000000000..449c1dd38 --- /dev/null +++ b/partner_contact_birthdate/i18n/nl_NL.po @@ -0,0 +1,32 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_birthdate +# +# Translators: +# Peter Hageman , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-06-10 01:50+0000\n" +"PO-Revision-Date: 2017-06-10 01:50+0000\n" +"Last-Translator: Peter Hageman , 2017\n" +"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/teams/23907/nl_NL/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: nl_NL\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: partner_contact_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_users_birthdate +#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_users_birthdate_date +msgid "Birthdate" +msgstr "Geboortedatum" + +#. module: partner_contact_birthdate +#: model:ir.model,name:partner_contact_birthdate.model_res_partner +msgid "Partner" +msgstr "Relatie" diff --git a/partner_contact_birthdate/i18n/pt_BR.po b/partner_contact_birthdate/i18n/pt_BR.po index 0aaacdb1c..35261cd82 100644 --- a/partner_contact_birthdate/i18n/pt_BR.po +++ b/partner_contact_birthdate/i18n/pt_BR.po @@ -4,14 +4,13 @@ # # Translators: # OCA Transbot , 2016 -# Albert Vonpupp , 2016 msgid "" msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-05-01 20:42+0000\n" -"PO-Revision-Date: 2017-05-01 20:42+0000\n" -"Last-Translator: Albert Vonpupp , 2016\n" +"POT-Creation-Date: 2017-06-10 01:50+0000\n" +"PO-Revision-Date: 2017-06-10 01:50+0000\n" +"Last-Translator: OCA Transbot , 2016\n" "Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/23907/pt_BR/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -27,16 +26,6 @@ msgstr "" msgid "Birthdate" msgstr "Data de nascimento" -#. module: partner_contact_birthdate -#: code:addons/partner_contact_birthdate/models/res_partner.py:37 -#, python-format -msgid "" -"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " -"Skipping." -msgstr "" -"Não foi possível converter '{0.birthdate}' a uma data em res.partner {0.id} " -"({0.name}). Ignorando." - #. module: partner_contact_birthdate #: model:ir.model,name:partner_contact_birthdate.model_res_partner msgid "Partner" diff --git a/partner_contact_birthdate/i18n/pt_PT.po b/partner_contact_birthdate/i18n/pt_PT.po index 8d304fce8..726627602 100644 --- a/partner_contact_birthdate/i18n/pt_PT.po +++ b/partner_contact_birthdate/i18n/pt_PT.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-05-01 20:42+0000\n" -"PO-Revision-Date: 2017-05-01 20:42+0000\n" +"POT-Creation-Date: 2017-06-10 01:50+0000\n" +"PO-Revision-Date: 2017-06-10 01:50+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: Portuguese (Portugal) (https://www.transifex.com/oca/teams/23907/pt_PT/)\n" "MIME-Version: 1.0\n" @@ -26,16 +26,6 @@ msgstr "" msgid "Birthdate" msgstr "Data de Nascimento" -#. module: partner_contact_birthdate -#: code:addons/partner_contact_birthdate/models/res_partner.py:37 -#, python-format -msgid "" -"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " -"Skipping." -msgstr "" -"Não foi possível converter '{0.birthdate}' para um formato de data em " -"res.partner {0.id} ({0.name}). Ignorado." - #. module: partner_contact_birthdate #: model:ir.model,name:partner_contact_birthdate.model_res_partner msgid "Partner" diff --git a/partner_contact_birthdate/i18n/sl.po b/partner_contact_birthdate/i18n/sl.po index 2de20f2a1..6f7cf395b 100644 --- a/partner_contact_birthdate/i18n/sl.po +++ b/partner_contact_birthdate/i18n/sl.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-05-01 20:42+0000\n" -"PO-Revision-Date: 2017-05-01 20:42+0000\n" +"POT-Creation-Date: 2017-06-10 01:50+0000\n" +"PO-Revision-Date: 2017-06-10 01:50+0000\n" "Last-Translator: OCA Transbot , 2016\n" "Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" "MIME-Version: 1.0\n" @@ -26,16 +26,6 @@ msgstr "" msgid "Birthdate" msgstr "Rojstni datum" -#. module: partner_contact_birthdate -#: code:addons/partner_contact_birthdate/models/res_partner.py:37 -#, python-format -msgid "" -"Could not convert '{0.birthdate}' to date in res.partner {0.id} ({0.name}). " -"Skipping." -msgstr "" -"Ni možna pretvorba '{0.birthdate}' v datum v res.partner {0.id} ({0.name})." -" Preskoči." - #. module: partner_contact_birthdate #: model:ir.model,name:partner_contact_birthdate.model_res_partner msgid "Partner" From 2d274073d34cccb9c0d7ea86d3c11033432da4ff Mon Sep 17 00:00:00 2001 From: Jean-Paul Robineau Date: Tue, 31 Oct 2017 11:42:55 +0100 Subject: [PATCH 11/12] [MIG] partner_contact_birthdate: Migration to 11.0 --- partner_contact_birthdate/__init__.py | 4 ++-- partner_contact_birthdate/__manifest__.py | 4 ++-- partner_contact_birthdate/models/__init__.py | 4 ++-- partner_contact_birthdate/models/res_partner.py | 2 +- partner_contact_birthdate/tests/__init__.py | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/partner_contact_birthdate/__init__.py b/partner_contact_birthdate/__init__.py index 00ff9b00b..c113cb0e9 100644 --- a/partner_contact_birthdate/__init__.py +++ b/partner_contact_birthdate/__init__.py @@ -1,5 +1,5 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2014-2015 Grupo ESOC -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +# © 2017-Apertoso N.V. () +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from . import models from .hooks import post_init_hook diff --git a/partner_contact_birthdate/__manifest__.py b/partner_contact_birthdate/__manifest__.py index 468dabeea..4f9ed0ed1 100644 --- a/partner_contact_birthdate/__manifest__.py +++ b/partner_contact_birthdate/__manifest__.py @@ -1,10 +1,10 @@ -# -*- coding: utf-8 -*- # Copyright 2014-2015 Grupo ESOC +# © 2017-Apertoso N.V. () # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { "name": "Contact's birthdate", - "version": "10.0.1.1.0", + 'version': '11.0.1.0.0', "author": "Tecnativa," "Odoo Community Association (OCA)", "category": "Customer Relationship Management", diff --git a/partner_contact_birthdate/models/__init__.py b/partner_contact_birthdate/models/__init__.py index bc4712911..2ff0408ae 100644 --- a/partner_contact_birthdate/models/__init__.py +++ b/partner_contact_birthdate/models/__init__.py @@ -1,5 +1,5 @@ -# -*- coding: utf-8 -*- # Copyright 2014-2015 Grupo ESOC -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +# © 2017-Apertoso N.V. () +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from . import res_partner diff --git a/partner_contact_birthdate/models/res_partner.py b/partner_contact_birthdate/models/res_partner.py index d4ba59d70..053b11d24 100644 --- a/partner_contact_birthdate/models/res_partner.py +++ b/partner_contact_birthdate/models/res_partner.py @@ -1,5 +1,5 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2014-2015 Grupo ESOC +# © 2017-Apertoso N.V. () # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from odoo import api, fields, models import logging diff --git a/partner_contact_birthdate/tests/__init__.py b/partner_contact_birthdate/tests/__init__.py index 90bda5ac1..13b6abe56 100644 --- a/partner_contact_birthdate/tests/__init__.py +++ b/partner_contact_birthdate/tests/__init__.py @@ -1,4 +1,4 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2014-2015 Grupo ESOC +# © 2017-Apertoso N.V. () # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from . import test_birthdate From 4648b47beff65389c7947b98ae414b61eae52e5f Mon Sep 17 00:00:00 2001 From: Olivier-LAURENT Date: Mon, 11 Feb 2019 18:49:03 +0100 Subject: [PATCH 12/12] [CHG] remove useless birthdate field; changes after review; fix pylint warning; move birthdate field on the main area of the form --- partner_contact_birthdate/README.rst | 13 ------- partner_contact_birthdate/__init__.py | 1 - partner_contact_birthdate/__manifest__.py | 5 ++- partner_contact_birthdate/hooks.py | 10 ------ partner_contact_birthdate/i18n/fr.po | 19 +++++------ .../models/res_partner.py | 24 +------------ partner_contact_birthdate/tests/__init__.py | 4 --- .../tests/test_birthdate.py | 34 ------------------- .../views/res_partner.xml | 10 +++--- .../odoo/addons/partner_contact_birthdate | 1 + setup/partner_contact_birthdate/setup.cfg | 2 ++ setup/partner_contact_birthdate/setup.py | 6 ++++ 12 files changed, 24 insertions(+), 105 deletions(-) delete mode 100644 partner_contact_birthdate/hooks.py delete mode 100644 partner_contact_birthdate/tests/__init__.py delete mode 100644 partner_contact_birthdate/tests/test_birthdate.py create mode 120000 setup/partner_contact_birthdate/odoo/addons/partner_contact_birthdate create mode 100644 setup/partner_contact_birthdate/setup.cfg create mode 100644 setup/partner_contact_birthdate/setup.py diff --git a/partner_contact_birthdate/README.rst b/partner_contact_birthdate/README.rst index d367fd71b..9754a6595 100644 --- a/partner_contact_birthdate/README.rst +++ b/partner_contact_birthdate/README.rst @@ -13,10 +13,6 @@ Installation To install this module, you need to: -* Ensure that the current contents of the *birthdate* field in the - *res.partner* model in your database are empty or in a format easily readable - by the python function strptime_ in case you want this module to - automatically convert those to the new format. * Install the OCA repository `partner-contact`_. * Update your modules list. * Search and install this module. @@ -33,7 +29,6 @@ To use this module, you need to: * Edit or create a partner. * Ensure it is **not** a company. -* Go to the *Personal Information* sheet. * Set the birthdate there. For further information, please visit: @@ -41,13 +36,6 @@ For further information, please visit: * https://www.odoo.com/forum/help-1 * https://github.com/OCA/partner-contact/ -Known issues / Roadmap -====================== - -* If you have data in your *res.partner* records' *birthdate* field that cannot - be converted to date by Pyhton's strptime_ function, those records will have - an empty *birthdate_date* after install. - Credits ======= @@ -77,4 +65,3 @@ To contribute to this module, please visit http://odoo-community.org. .. _partner-contact: https://github.com/OCA/partner-contact/ -.. _strptime: https://docs.python.org/2/library/datetime.html#datetime.datetime.strptime diff --git a/partner_contact_birthdate/__init__.py b/partner_contact_birthdate/__init__.py index c113cb0e9..ece3a2c15 100644 --- a/partner_contact_birthdate/__init__.py +++ b/partner_contact_birthdate/__init__.py @@ -2,4 +2,3 @@ # © 2017-Apertoso N.V. () # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from . import models -from .hooks import post_init_hook diff --git a/partner_contact_birthdate/__manifest__.py b/partner_contact_birthdate/__manifest__.py index 4f9ed0ed1..76c4c8770 100644 --- a/partner_contact_birthdate/__manifest__.py +++ b/partner_contact_birthdate/__manifest__.py @@ -8,14 +8,13 @@ "author": "Tecnativa," "Odoo Community Association (OCA)", "category": "Customer Relationship Management", - "website": "https://www.tecnativa.com/", + "website": "https://github.com/OCA/partner-contact", "depends": [ - "partner_contact_personal_information_page", + "base", ], "data": [ "views/res_partner.xml", ], - "post_init_hook": "post_init_hook", "license": "AGPL-3", 'installable': True, } diff --git a/partner_contact_birthdate/hooks.py b/partner_contact_birthdate/hooks.py deleted file mode 100644 index f3d2ca69e..000000000 --- a/partner_contact_birthdate/hooks.py +++ /dev/null @@ -1,10 +0,0 @@ -# -*- coding: utf-8 -*- - -from odoo import SUPERUSER_ID -from odoo.api import Environment - - -def post_init_hook(cr, pool): - env = Environment(cr, SUPERUSER_ID, {}) - env['res.partner'].search( - [('birthdate', "!=", False)])._birthdate_inverse() diff --git a/partner_contact_birthdate/i18n/fr.po b/partner_contact_birthdate/i18n/fr.po index 34c75c4d8..76a7ca7e6 100644 --- a/partner_contact_birthdate/i18n/fr.po +++ b/partner_contact_birthdate/i18n/fr.po @@ -6,27 +6,24 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0+e\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-06-10 01:50+0000\n" -"PO-Revision-Date: 2017-06-10 01:50+0000\n" -"Last-Translator: OCA Transbot , 2016\n" -"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" +"POT-Creation-Date: 2019-02-11 17:43+0000\n" +"PO-Revision-Date: 2019-02-11 17:43+0000\n" +"Last-Translator: <>\n" +"Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: fr\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"Plural-Forms: \n" #. module: partner_contact_birthdate -#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate #: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner_birthdate_date -#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_users_birthdate #: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_users_birthdate_date msgid "Birthdate" msgstr "Date de naissance" #. module: partner_contact_birthdate #: model:ir.model,name:partner_contact_birthdate.model_res_partner -msgid "Partner" -msgstr "Partenaire" +msgid "Contact" +msgstr "Contact" diff --git a/partner_contact_birthdate/models/res_partner.py b/partner_contact_birthdate/models/res_partner.py index 053b11d24..0eb0461f4 100644 --- a/partner_contact_birthdate/models/res_partner.py +++ b/partner_contact_birthdate/models/res_partner.py @@ -1,33 +1,11 @@ # Copyright (C) 2014-2015 Grupo ESOC # © 2017-Apertoso N.V. () # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -from odoo import api, fields, models -import logging - - -_logger = logging.getLogger(__name__) +from odoo import fields, models class ResPartner(models.Model): """Partner with birth date in date format.""" _inherit = "res.partner" - # New birthdate field in date format birthdate_date = fields.Date("Birthdate") - - # Make the old Char field to reflect the new Date field - birthdate = fields.Char( - compute="_birthdate_compute", - inverse="_birthdate_inverse", - store=True) - - @api.one - @api.depends("birthdate_date") - def _birthdate_compute(self): - """Store a string of the new date in the old field.""" - self.birthdate = self.birthdate_date - - @api.one - def _birthdate_inverse(self): - """Convert the old Char date to the new Date format.""" - self.birthdate_date = self.birthdate diff --git a/partner_contact_birthdate/tests/__init__.py b/partner_contact_birthdate/tests/__init__.py deleted file mode 100644 index 13b6abe56..000000000 --- a/partner_contact_birthdate/tests/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# Copyright (C) 2014-2015 Grupo ESOC -# © 2017-Apertoso N.V. () -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -from . import test_birthdate diff --git a/partner_contact_birthdate/tests/test_birthdate.py b/partner_contact_birthdate/tests/test_birthdate.py deleted file mode 100644 index 7799ad6a0..000000000 --- a/partner_contact_birthdate/tests/test_birthdate.py +++ /dev/null @@ -1,34 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2014-2015 Grupo ESOC -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - -from openerp import fields -from openerp.tests.common import TransactionCase -from datetime import date - - -class GoodCase(TransactionCase): - def setUp(self): - super(GoodCase, self).setUp() - self.partner = self.env["res.partner"].create({"name": str(self)}) - self.birthdate = date.today() - - def tearDown(self): - self.assertEqual(self.partner.birthdate, self.partner.birthdate_date) - super(GoodCase, self).tearDown() - - def test_new_to_old(self): - self.partner.birthdate_date = self.birthdate - - def test_old_to_new(self): - self.partner.birthdate = fields.Date.to_string(self.birthdate) - - -class BadCase(TransactionCase): - def setUp(self): - super(BadCase, self).setUp() - self.partner = self.env["res.partner"].create({"name": str(self)}) - - def test_old_to_new(self): - with self.assertRaises(ValueError): - self.partner.birthdate = "Not a date" diff --git a/partner_contact_birthdate/views/res_partner.xml b/partner_contact_birthdate/views/res_partner.xml index 4b2d1d1ac..b5bf255d9 100644 --- a/partner_contact_birthdate/views/res_partner.xml +++ b/partner_contact_birthdate/views/res_partner.xml @@ -6,13 +6,11 @@ Birthdate Date field res.partner - + - - - - - + + + diff --git a/setup/partner_contact_birthdate/odoo/addons/partner_contact_birthdate b/setup/partner_contact_birthdate/odoo/addons/partner_contact_birthdate new file mode 120000 index 000000000..e9d99692e --- /dev/null +++ b/setup/partner_contact_birthdate/odoo/addons/partner_contact_birthdate @@ -0,0 +1 @@ +../../../../partner_contact_birthdate \ No newline at end of file diff --git a/setup/partner_contact_birthdate/setup.cfg b/setup/partner_contact_birthdate/setup.cfg new file mode 100644 index 000000000..3c6e79cf3 --- /dev/null +++ b/setup/partner_contact_birthdate/setup.cfg @@ -0,0 +1,2 @@ +[bdist_wheel] +universal=1 diff --git a/setup/partner_contact_birthdate/setup.py b/setup/partner_contact_birthdate/setup.py new file mode 100644 index 000000000..28c57bb64 --- /dev/null +++ b/setup/partner_contact_birthdate/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)