From 6b6099b29903f21dc2b7a6729f54597fe2fb1de3 Mon Sep 17 00:00:00 2001 From: Sandy Carter Date: Wed, 11 Dec 2013 12:22:40 -0500 Subject: [PATCH 01/26] Add employee extension number module --- hr_employee_phone_extension/__init__.py | 25 +++++++++ hr_employee_phone_extension/__openerp__.py | 55 +++++++++++++++++++ hr_employee_phone_extension/hr.py | 36 ++++++++++++ hr_employee_phone_extension/hr_view.xml | 20 +++++++ hr_employee_phone_extension/i18n/es.po | 43 +++++++++++++++ hr_employee_phone_extension/i18n/fr.po | 45 +++++++++++++++ .../i18n/hr_employee_phone_extension.pot | 41 ++++++++++++++ 7 files changed, 265 insertions(+) create mode 100644 hr_employee_phone_extension/__init__.py create mode 100644 hr_employee_phone_extension/__openerp__.py create mode 100644 hr_employee_phone_extension/hr.py create mode 100644 hr_employee_phone_extension/hr_view.xml create mode 100644 hr_employee_phone_extension/i18n/es.po create mode 100644 hr_employee_phone_extension/i18n/fr.po create mode 100644 hr_employee_phone_extension/i18n/hr_employee_phone_extension.pot diff --git a/hr_employee_phone_extension/__init__.py b/hr_employee_phone_extension/__init__.py new file mode 100644 index 00000000000..754aaf7e086 --- /dev/null +++ b/hr_employee_phone_extension/__init__.py @@ -0,0 +1,25 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# This module copyright (C) 2013 Savoir-faire Linux +# (). +# +# 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 . +# +############################################################################## + +import hr + +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/hr_employee_phone_extension/__openerp__.py b/hr_employee_phone_extension/__openerp__.py new file mode 100644 index 00000000000..dd9b2677ba0 --- /dev/null +++ b/hr_employee_phone_extension/__openerp__.py @@ -0,0 +1,55 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# This module copyright (C) 2013 Savoir-faire Linux +# (). +# +# 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': 'Employee Phone Extension', + 'version': '1.0', + 'category': 'Human Resources', + 'description': """ + +Employee Phone Extension +======================== +This module adds the following to employees : +* internal_number +* short_number + + +Contributors +------------ +* Sandy Carter (sandy.carter@savoirfairelinux.com) +* El Hadji Dem (elhadji.dem@savoirfairelinux.com) + """, + 'author': 'Savoir-faire Linux', + 'website': 'http://www.savoirfairelinux.com', + 'license': 'AGPL-3', + 'depends': ['hr', ], + 'data': [ + 'hr_view.xml', + ], + 'demo': [], + 'test': [], + 'installable': True, + 'auto_install': False, + 'images': [], +} + +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/hr_employee_phone_extension/hr.py b/hr_employee_phone_extension/hr.py new file mode 100644 index 00000000000..60daeb5a7d0 --- /dev/null +++ b/hr_employee_phone_extension/hr.py @@ -0,0 +1,36 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# This module copyright (C) 2013 Savoir-faire Linux +# (). +# +# 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.osv import fields, orm + + +class hr_employee(orm.Model): + _inherit = 'hr.employee' + + _columns = { + 'internal_number': fields.char('Internal Number', size=20, + help='Internal phone number.'), + 'short_number': fields.char('Short Number', size=20, + help='Short phone number.'), + } + +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/hr_employee_phone_extension/hr_view.xml b/hr_employee_phone_extension/hr_view.xml new file mode 100644 index 00000000000..f1da74aae7d --- /dev/null +++ b/hr_employee_phone_extension/hr_view.xml @@ -0,0 +1,20 @@ + + + + + + view.employee.form.inherit.extension + hr.employee + + + + + + + + + + + + + diff --git a/hr_employee_phone_extension/i18n/es.po b/hr_employee_phone_extension/i18n/es.po new file mode 100644 index 00000000000..6cdc5cf9125 --- /dev/null +++ b/hr_employee_phone_extension/i18n/es.po @@ -0,0 +1,43 @@ +# Spanish translation for openerp-hr +# Copyright (c) 2014 Rosetta Contributors and Canonical Ltd 2014 +# This file is distributed under the same license as the openerp-hr package. +# FIRST AUTHOR , 2014. +# +msgid "" +msgstr "" +"Project-Id-Version: openerp-hr\n" +"Report-Msgid-Bugs-To: FULL NAME \n" +"POT-Creation-Date: 2013-12-12 16:57+0000\n" +"PO-Revision-Date: 2014-04-25 14:43+0000\n" +"Last-Translator: Pedro Manuel Baeza \n" +"Language-Team: Spanish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2014-04-26 07:14+0000\n" +"X-Generator: Launchpad (build 16985)\n" + +#. module: hr_employee_phone_extension +#: model:ir.model,name:hr_employee_phone_extension.model_hr_employee +msgid "Employee" +msgstr "Empleado" + +#. module: hr_employee_phone_extension +#: field:hr.employee,internal_number:0 +msgid "Internal Number" +msgstr "Número interno" + +#. module: hr_employee_phone_extension +#: help:hr.employee,internal_number:0 +msgid "Internal phone number." +msgstr "Número de teléfono interno" + +#. module: hr_employee_phone_extension +#: help:hr.employee,short_number:0 +msgid "Short phone number." +msgstr "Número de teléfono corto" + +#. module: hr_employee_phone_extension +#: field:hr.employee,short_number:0 +msgid "Short Number" +msgstr "Número corto" diff --git a/hr_employee_phone_extension/i18n/fr.po b/hr_employee_phone_extension/i18n/fr.po new file mode 100644 index 00000000000..cb8d7d82577 --- /dev/null +++ b/hr_employee_phone_extension/i18n/fr.po @@ -0,0 +1,45 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * hr_employee_phone_extension +# +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 7.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2013-12-12 16:57+0000\n" +"PO-Revision-Date: 2013-12-24 01:43+0000\n" +"Last-Translator: Sandy Carter (http://www.savoirfairelinux.com) " +"\n" +"Language-Team: Savoir-faire Linux\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2013-12-25 06:38+0000\n" +"X-Generator: Launchpad (build 16877)\n" +"Language: fr\n" +"X-Poedit-SourceCharset: UTF-8\n" + +#. module: hr_employee_phone_extension +#: model:ir.model,name:hr_employee_phone_extension.model_hr_employee +msgid "Employee" +msgstr "Employé" + +#. module: hr_employee_phone_extension +#: field:hr.employee,internal_number:0 +msgid "Internal Number" +msgstr "Numéro interne" + +#. module: hr_employee_phone_extension +#: help:hr.employee,internal_number:0 +msgid "Internal phone number." +msgstr "Numéro de téléphone à l'interne." + +#. module: hr_employee_phone_extension +#: help:hr.employee,short_number:0 +msgid "Short phone number." +msgstr "Forme courte du numéro de téléphone." + +#. module: hr_employee_phone_extension +#: field:hr.employee,short_number:0 +msgid "Short Number" +msgstr "Numéro court" diff --git a/hr_employee_phone_extension/i18n/hr_employee_phone_extension.pot b/hr_employee_phone_extension/i18n/hr_employee_phone_extension.pot new file mode 100644 index 00000000000..45f999e96cc --- /dev/null +++ b/hr_employee_phone_extension/i18n/hr_employee_phone_extension.pot @@ -0,0 +1,41 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * hr_employee_phone_extension +# +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 7.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2013-12-12 16:57+0000\n" +"PO-Revision-Date: 2013-12-12 16:57+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: hr_employee_phone_extension +#: model:ir.model,name:hr_employee_phone_extension.model_hr_employee +msgid "Employee" +msgstr "" + +#. module: hr_employee_phone_extension +#: field:hr.employee,internal_number:0 +msgid "Internal Number" +msgstr "" + +#. module: hr_employee_phone_extension +#: help:hr.employee,internal_number:0 +msgid "Internal phone number." +msgstr "" + +#. module: hr_employee_phone_extension +#: help:hr.employee,short_number:0 +msgid "Short phone number." +msgstr "" + +#. module: hr_employee_phone_extension +#: field:hr.employee,short_number:0 +msgid "Short Number" +msgstr "" From 2f4f6c98ae73eb5872d686628485e6ec95620bea Mon Sep 17 00:00:00 2001 From: Daniel Reis Date: Tue, 16 Sep 2014 16:51:50 +0100 Subject: [PATCH 02/26] Initialize 8.0 branch --- hr_employee_phone_extension/__init__.py | 25 --------- hr_employee_phone_extension/__openerp__.py | 55 ------------------- hr_employee_phone_extension/hr.py | 36 ------------ hr_employee_phone_extension/hr_view.xml | 20 ------- hr_employee_phone_extension/i18n/es.po | 43 --------------- hr_employee_phone_extension/i18n/fr.po | 45 --------------- .../i18n/hr_employee_phone_extension.pot | 41 -------------- 7 files changed, 265 deletions(-) delete mode 100644 hr_employee_phone_extension/__init__.py delete mode 100644 hr_employee_phone_extension/__openerp__.py delete mode 100644 hr_employee_phone_extension/hr.py delete mode 100644 hr_employee_phone_extension/hr_view.xml delete mode 100644 hr_employee_phone_extension/i18n/es.po delete mode 100644 hr_employee_phone_extension/i18n/fr.po delete mode 100644 hr_employee_phone_extension/i18n/hr_employee_phone_extension.pot diff --git a/hr_employee_phone_extension/__init__.py b/hr_employee_phone_extension/__init__.py deleted file mode 100644 index 754aaf7e086..00000000000 --- a/hr_employee_phone_extension/__init__.py +++ /dev/null @@ -1,25 +0,0 @@ -# -*- encoding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# This module copyright (C) 2013 Savoir-faire Linux -# (). -# -# 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 . -# -############################################################################## - -import hr - -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/hr_employee_phone_extension/__openerp__.py b/hr_employee_phone_extension/__openerp__.py deleted file mode 100644 index dd9b2677ba0..00000000000 --- a/hr_employee_phone_extension/__openerp__.py +++ /dev/null @@ -1,55 +0,0 @@ -# -*- encoding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# This module copyright (C) 2013 Savoir-faire Linux -# (). -# -# 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': 'Employee Phone Extension', - 'version': '1.0', - 'category': 'Human Resources', - 'description': """ - -Employee Phone Extension -======================== -This module adds the following to employees : -* internal_number -* short_number - - -Contributors ------------- -* Sandy Carter (sandy.carter@savoirfairelinux.com) -* El Hadji Dem (elhadji.dem@savoirfairelinux.com) - """, - 'author': 'Savoir-faire Linux', - 'website': 'http://www.savoirfairelinux.com', - 'license': 'AGPL-3', - 'depends': ['hr', ], - 'data': [ - 'hr_view.xml', - ], - 'demo': [], - 'test': [], - 'installable': True, - 'auto_install': False, - 'images': [], -} - -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/hr_employee_phone_extension/hr.py b/hr_employee_phone_extension/hr.py deleted file mode 100644 index 60daeb5a7d0..00000000000 --- a/hr_employee_phone_extension/hr.py +++ /dev/null @@ -1,36 +0,0 @@ -# -*- encoding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# This module copyright (C) 2013 Savoir-faire Linux -# (). -# -# 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.osv import fields, orm - - -class hr_employee(orm.Model): - _inherit = 'hr.employee' - - _columns = { - 'internal_number': fields.char('Internal Number', size=20, - help='Internal phone number.'), - 'short_number': fields.char('Short Number', size=20, - help='Short phone number.'), - } - -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/hr_employee_phone_extension/hr_view.xml b/hr_employee_phone_extension/hr_view.xml deleted file mode 100644 index f1da74aae7d..00000000000 --- a/hr_employee_phone_extension/hr_view.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - view.employee.form.inherit.extension - hr.employee - - - - - - - - - - - - - diff --git a/hr_employee_phone_extension/i18n/es.po b/hr_employee_phone_extension/i18n/es.po deleted file mode 100644 index 6cdc5cf9125..00000000000 --- a/hr_employee_phone_extension/i18n/es.po +++ /dev/null @@ -1,43 +0,0 @@ -# Spanish translation for openerp-hr -# Copyright (c) 2014 Rosetta Contributors and Canonical Ltd 2014 -# This file is distributed under the same license as the openerp-hr package. -# FIRST AUTHOR , 2014. -# -msgid "" -msgstr "" -"Project-Id-Version: openerp-hr\n" -"Report-Msgid-Bugs-To: FULL NAME \n" -"POT-Creation-Date: 2013-12-12 16:57+0000\n" -"PO-Revision-Date: 2014-04-25 14:43+0000\n" -"Last-Translator: Pedro Manuel Baeza \n" -"Language-Team: Spanish \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-26 07:14+0000\n" -"X-Generator: Launchpad (build 16985)\n" - -#. module: hr_employee_phone_extension -#: model:ir.model,name:hr_employee_phone_extension.model_hr_employee -msgid "Employee" -msgstr "Empleado" - -#. module: hr_employee_phone_extension -#: field:hr.employee,internal_number:0 -msgid "Internal Number" -msgstr "Número interno" - -#. module: hr_employee_phone_extension -#: help:hr.employee,internal_number:0 -msgid "Internal phone number." -msgstr "Número de teléfono interno" - -#. module: hr_employee_phone_extension -#: help:hr.employee,short_number:0 -msgid "Short phone number." -msgstr "Número de teléfono corto" - -#. module: hr_employee_phone_extension -#: field:hr.employee,short_number:0 -msgid "Short Number" -msgstr "Número corto" diff --git a/hr_employee_phone_extension/i18n/fr.po b/hr_employee_phone_extension/i18n/fr.po deleted file mode 100644 index cb8d7d82577..00000000000 --- a/hr_employee_phone_extension/i18n/fr.po +++ /dev/null @@ -1,45 +0,0 @@ -# Translation of OpenERP Server. -# This file contains the translation of the following modules: -# * hr_employee_phone_extension -# -msgid "" -msgstr "" -"Project-Id-Version: OpenERP Server 7.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-12-12 16:57+0000\n" -"PO-Revision-Date: 2013-12-24 01:43+0000\n" -"Last-Translator: Sandy Carter (http://www.savoirfairelinux.com) " -"\n" -"Language-Team: Savoir-faire Linux\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2013-12-25 06:38+0000\n" -"X-Generator: Launchpad (build 16877)\n" -"Language: fr\n" -"X-Poedit-SourceCharset: UTF-8\n" - -#. module: hr_employee_phone_extension -#: model:ir.model,name:hr_employee_phone_extension.model_hr_employee -msgid "Employee" -msgstr "Employé" - -#. module: hr_employee_phone_extension -#: field:hr.employee,internal_number:0 -msgid "Internal Number" -msgstr "Numéro interne" - -#. module: hr_employee_phone_extension -#: help:hr.employee,internal_number:0 -msgid "Internal phone number." -msgstr "Numéro de téléphone à l'interne." - -#. module: hr_employee_phone_extension -#: help:hr.employee,short_number:0 -msgid "Short phone number." -msgstr "Forme courte du numéro de téléphone." - -#. module: hr_employee_phone_extension -#: field:hr.employee,short_number:0 -msgid "Short Number" -msgstr "Numéro court" diff --git a/hr_employee_phone_extension/i18n/hr_employee_phone_extension.pot b/hr_employee_phone_extension/i18n/hr_employee_phone_extension.pot deleted file mode 100644 index 45f999e96cc..00000000000 --- a/hr_employee_phone_extension/i18n/hr_employee_phone_extension.pot +++ /dev/null @@ -1,41 +0,0 @@ -# Translation of OpenERP Server. -# This file contains the translation of the following modules: -# * hr_employee_phone_extension -# -msgid "" -msgstr "" -"Project-Id-Version: OpenERP Server 7.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-12-12 16:57+0000\n" -"PO-Revision-Date: 2013-12-12 16:57+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: hr_employee_phone_extension -#: model:ir.model,name:hr_employee_phone_extension.model_hr_employee -msgid "Employee" -msgstr "" - -#. module: hr_employee_phone_extension -#: field:hr.employee,internal_number:0 -msgid "Internal Number" -msgstr "" - -#. module: hr_employee_phone_extension -#: help:hr.employee,internal_number:0 -msgid "Internal phone number." -msgstr "" - -#. module: hr_employee_phone_extension -#: help:hr.employee,short_number:0 -msgid "Short phone number." -msgstr "" - -#. module: hr_employee_phone_extension -#: field:hr.employee,short_number:0 -msgid "Short Number" -msgstr "" From f5eb4412834f2901073fa992033b1333d11b8a42 Mon Sep 17 00:00:00 2001 From: Charbel Jacquin Date: Tue, 9 Jun 2015 14:36:25 +0200 Subject: [PATCH 03/26] [MIG] Migrate hr_employee_phone_extension --- hr_employee_phone_extension/README.rst | 46 ++++++++++++++++++ hr_employee_phone_extension/__init__.py | 23 +++++++++ hr_employee_phone_extension/__openerp__.py | 38 +++++++++++++++ hr_employee_phone_extension/i18n/ar.po | 43 ++++++++++++++++ hr_employee_phone_extension/i18n/de.po | 45 +++++++++++++++++ hr_employee_phone_extension/i18n/en.po | 43 ++++++++++++++++ hr_employee_phone_extension/i18n/es.po | 43 ++++++++++++++++ hr_employee_phone_extension/i18n/fi.po | 43 ++++++++++++++++ hr_employee_phone_extension/i18n/fr.po | 45 +++++++++++++++++ .../i18n/hr_employee_phone_extension.pot | 41 ++++++++++++++++ hr_employee_phone_extension/i18n/it.po | 43 ++++++++++++++++ hr_employee_phone_extension/i18n/nl_NL.po | 44 +++++++++++++++++ hr_employee_phone_extension/i18n/pt_BR.po | 44 +++++++++++++++++ hr_employee_phone_extension/i18n/ro.po | 43 ++++++++++++++++ hr_employee_phone_extension/i18n/sl.po | 44 +++++++++++++++++ .../models/__init__.py | 3 ++ .../models/hr_employee.py | 32 ++++++++++++ .../static/description/icon.png | Bin 0 -> 9455 bytes .../views/hr_employee_view.xml | 20 ++++++++ 19 files changed, 683 insertions(+) create mode 100644 hr_employee_phone_extension/README.rst create mode 100644 hr_employee_phone_extension/__init__.py create mode 100644 hr_employee_phone_extension/__openerp__.py create mode 100644 hr_employee_phone_extension/i18n/ar.po create mode 100644 hr_employee_phone_extension/i18n/de.po create mode 100644 hr_employee_phone_extension/i18n/en.po create mode 100644 hr_employee_phone_extension/i18n/es.po create mode 100644 hr_employee_phone_extension/i18n/fi.po create mode 100644 hr_employee_phone_extension/i18n/fr.po create mode 100644 hr_employee_phone_extension/i18n/hr_employee_phone_extension.pot create mode 100644 hr_employee_phone_extension/i18n/it.po create mode 100644 hr_employee_phone_extension/i18n/nl_NL.po create mode 100644 hr_employee_phone_extension/i18n/pt_BR.po create mode 100644 hr_employee_phone_extension/i18n/ro.po create mode 100644 hr_employee_phone_extension/i18n/sl.po create mode 100644 hr_employee_phone_extension/models/__init__.py create mode 100644 hr_employee_phone_extension/models/hr_employee.py create mode 100644 hr_employee_phone_extension/static/description/icon.png create mode 100644 hr_employee_phone_extension/views/hr_employee_view.xml diff --git a/hr_employee_phone_extension/README.rst b/hr_employee_phone_extension/README.rst new file mode 100644 index 00000000000..d8351b8e289 --- /dev/null +++ b/hr_employee_phone_extension/README.rst @@ -0,0 +1,46 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :alt: License: AGPL-3 + +Employee Phone Extension +======================== + +This module adds the following to employees : + +* internal_number +* short_number + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed feedback +`here `_. + + +Credits +======= + +Contributors +------------ + +* Sandy Carter +* El Hadji Dem +* Vincent Renaville +* Charbel Jacquin + + +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. diff --git a/hr_employee_phone_extension/__init__.py b/hr_employee_phone_extension/__init__.py new file mode 100644 index 00000000000..29db66cd90f --- /dev/null +++ b/hr_employee_phone_extension/__init__.py @@ -0,0 +1,23 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# This module copyright (C) 2013 Savoir-faire Linux +# (). +# +# 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/hr_employee_phone_extension/__openerp__.py b/hr_employee_phone_extension/__openerp__.py new file mode 100644 index 00000000000..df6aa30b515 --- /dev/null +++ b/hr_employee_phone_extension/__openerp__.py @@ -0,0 +1,38 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# This module copyright (C) 2013 Savoir-faire Linux +# (). +# +# 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': 'Employee Phone Extension', + 'version': '8.0.1.0.0', + 'category': 'Human Resources', + 'author': "Savoir-faire Linux,Odoo Community Association (OCA)", + 'website': 'http://www.savoirfairelinux.com', + 'license': 'AGPL-3', + 'depends': ['hr', ], + 'data': [ + 'views/hr_employee_view.xml', + ], + 'demo': [], + 'test': [], + 'installable': True, + 'auto_install': False, +} diff --git a/hr_employee_phone_extension/i18n/ar.po b/hr_employee_phone_extension/i18n/ar.po new file mode 100644 index 00000000000..c325d4a30b3 --- /dev/null +++ b/hr_employee_phone_extension/i18n/ar.po @@ -0,0 +1,43 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_employee_phone_extension +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: hr (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-11-30 05:19+0000\n" +"PO-Revision-Date: 2015-08-12 10:11+0000\n" +"Last-Translator: <>\n" +"Language-Team: Arabic (http://www.transifex.com/oca/OCA-hr-8-0/language/ar/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ar\n" +"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" + +#. module: hr_employee_phone_extension +#: model:ir.model,name:hr_employee_phone_extension.model_hr_employee +msgid "Employee" +msgstr "الموظف" + +#. module: hr_employee_phone_extension +#: field:hr.employee,internal_number:0 +msgid "Internal Number" +msgstr "" + +#. module: hr_employee_phone_extension +#: help:hr.employee,internal_number:0 +msgid "Internal phone number." +msgstr "" + +#. module: hr_employee_phone_extension +#: field:hr.employee,short_number:0 +msgid "Short Number" +msgstr "" + +#. module: hr_employee_phone_extension +#: help:hr.employee,short_number:0 +msgid "Short phone number." +msgstr "" diff --git a/hr_employee_phone_extension/i18n/de.po b/hr_employee_phone_extension/i18n/de.po new file mode 100644 index 00000000000..c5aa52e3b19 --- /dev/null +++ b/hr_employee_phone_extension/i18n/de.po @@ -0,0 +1,45 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * hr_employee_phone_extension +# +# Rudolf Schnapka , 2015. +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 7.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2013-12-12 16:57+0000\n" +"PO-Revision-Date: 2015-01-01 17:56+0100\n" +"Last-Translator: Rudolf Schnapka \n" +"Language-Team: German \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" +"Language: de\n" +"X-Generator: Lokalize 1.5\n" + +#. module: hr_employee_phone_extension +#: model:ir.model,name:hr_employee_phone_extension.model_hr_employee +msgid "Employee" +msgstr "Angestellter" + +#. module: hr_employee_phone_extension +#: field:hr.employee,internal_number:0 +msgid "Internal Number" +msgstr "Interne Nummer" + +#. module: hr_employee_phone_extension +#: help:hr.employee,internal_number:0 +msgid "Internal phone number." +msgstr "Interne Rufnummer." + +#. module: hr_employee_phone_extension +#: help:hr.employee,short_number:0 +msgid "Short phone number." +msgstr "Kurzwahl." + +#. module: hr_employee_phone_extension +#: field:hr.employee,short_number:0 +msgid "Short Number" +msgstr "Rufnummer Kurzform" + diff --git a/hr_employee_phone_extension/i18n/en.po b/hr_employee_phone_extension/i18n/en.po new file mode 100644 index 00000000000..fd253540373 --- /dev/null +++ b/hr_employee_phone_extension/i18n/en.po @@ -0,0 +1,43 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_employee_phone_extension +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: hr (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-08-18 13:10+0000\n" +"PO-Revision-Date: 2015-08-12 10:11+0000\n" +"Last-Translator: OCA Transbot \n" +"Language-Team: English (http://www.transifex.com/oca/OCA-hr-8-0/language/en/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: en\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: hr_employee_phone_extension +#: model:ir.model,name:hr_employee_phone_extension.model_hr_employee +msgid "Employee" +msgstr "Employee" + +#. module: hr_employee_phone_extension +#: field:hr.employee,internal_number:0 +msgid "Internal Number" +msgstr "Internal Number" + +#. module: hr_employee_phone_extension +#: help:hr.employee,internal_number:0 +msgid "Internal phone number." +msgstr "Internal phone number." + +#. module: hr_employee_phone_extension +#: field:hr.employee,short_number:0 +msgid "Short Number" +msgstr "Short Number" + +#. module: hr_employee_phone_extension +#: help:hr.employee,short_number:0 +msgid "Short phone number." +msgstr "Short phone number." diff --git a/hr_employee_phone_extension/i18n/es.po b/hr_employee_phone_extension/i18n/es.po new file mode 100644 index 00000000000..6cdc5cf9125 --- /dev/null +++ b/hr_employee_phone_extension/i18n/es.po @@ -0,0 +1,43 @@ +# Spanish translation for openerp-hr +# Copyright (c) 2014 Rosetta Contributors and Canonical Ltd 2014 +# This file is distributed under the same license as the openerp-hr package. +# FIRST AUTHOR , 2014. +# +msgid "" +msgstr "" +"Project-Id-Version: openerp-hr\n" +"Report-Msgid-Bugs-To: FULL NAME \n" +"POT-Creation-Date: 2013-12-12 16:57+0000\n" +"PO-Revision-Date: 2014-04-25 14:43+0000\n" +"Last-Translator: Pedro Manuel Baeza \n" +"Language-Team: Spanish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2014-04-26 07:14+0000\n" +"X-Generator: Launchpad (build 16985)\n" + +#. module: hr_employee_phone_extension +#: model:ir.model,name:hr_employee_phone_extension.model_hr_employee +msgid "Employee" +msgstr "Empleado" + +#. module: hr_employee_phone_extension +#: field:hr.employee,internal_number:0 +msgid "Internal Number" +msgstr "Número interno" + +#. module: hr_employee_phone_extension +#: help:hr.employee,internal_number:0 +msgid "Internal phone number." +msgstr "Número de teléfono interno" + +#. module: hr_employee_phone_extension +#: help:hr.employee,short_number:0 +msgid "Short phone number." +msgstr "Número de teléfono corto" + +#. module: hr_employee_phone_extension +#: field:hr.employee,short_number:0 +msgid "Short Number" +msgstr "Número corto" diff --git a/hr_employee_phone_extension/i18n/fi.po b/hr_employee_phone_extension/i18n/fi.po new file mode 100644 index 00000000000..61c0f3f48ef --- /dev/null +++ b/hr_employee_phone_extension/i18n/fi.po @@ -0,0 +1,43 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_employee_phone_extension +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: hr (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-04-14 04:15+0000\n" +"PO-Revision-Date: 2016-04-04 11:07+0000\n" +"Last-Translator: Jarmo Kortetjärvi \n" +"Language-Team: Finnish (http://www.transifex.com/oca/OCA-hr-8-0/language/fi/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fi\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: hr_employee_phone_extension +#: model:ir.model,name:hr_employee_phone_extension.model_hr_employee +msgid "Employee" +msgstr "Työntekijä" + +#. module: hr_employee_phone_extension +#: field:hr.employee,internal_number:0 +msgid "Internal Number" +msgstr "" + +#. module: hr_employee_phone_extension +#: help:hr.employee,internal_number:0 +msgid "Internal phone number." +msgstr "" + +#. module: hr_employee_phone_extension +#: field:hr.employee,short_number:0 +msgid "Short Number" +msgstr "" + +#. module: hr_employee_phone_extension +#: help:hr.employee,short_number:0 +msgid "Short phone number." +msgstr "" diff --git a/hr_employee_phone_extension/i18n/fr.po b/hr_employee_phone_extension/i18n/fr.po new file mode 100644 index 00000000000..cb8d7d82577 --- /dev/null +++ b/hr_employee_phone_extension/i18n/fr.po @@ -0,0 +1,45 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * hr_employee_phone_extension +# +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 7.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2013-12-12 16:57+0000\n" +"PO-Revision-Date: 2013-12-24 01:43+0000\n" +"Last-Translator: Sandy Carter (http://www.savoirfairelinux.com) " +"\n" +"Language-Team: Savoir-faire Linux\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2013-12-25 06:38+0000\n" +"X-Generator: Launchpad (build 16877)\n" +"Language: fr\n" +"X-Poedit-SourceCharset: UTF-8\n" + +#. module: hr_employee_phone_extension +#: model:ir.model,name:hr_employee_phone_extension.model_hr_employee +msgid "Employee" +msgstr "Employé" + +#. module: hr_employee_phone_extension +#: field:hr.employee,internal_number:0 +msgid "Internal Number" +msgstr "Numéro interne" + +#. module: hr_employee_phone_extension +#: help:hr.employee,internal_number:0 +msgid "Internal phone number." +msgstr "Numéro de téléphone à l'interne." + +#. module: hr_employee_phone_extension +#: help:hr.employee,short_number:0 +msgid "Short phone number." +msgstr "Forme courte du numéro de téléphone." + +#. module: hr_employee_phone_extension +#: field:hr.employee,short_number:0 +msgid "Short Number" +msgstr "Numéro court" diff --git a/hr_employee_phone_extension/i18n/hr_employee_phone_extension.pot b/hr_employee_phone_extension/i18n/hr_employee_phone_extension.pot new file mode 100644 index 00000000000..45f999e96cc --- /dev/null +++ b/hr_employee_phone_extension/i18n/hr_employee_phone_extension.pot @@ -0,0 +1,41 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * hr_employee_phone_extension +# +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 7.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2013-12-12 16:57+0000\n" +"PO-Revision-Date: 2013-12-12 16:57+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: hr_employee_phone_extension +#: model:ir.model,name:hr_employee_phone_extension.model_hr_employee +msgid "Employee" +msgstr "" + +#. module: hr_employee_phone_extension +#: field:hr.employee,internal_number:0 +msgid "Internal Number" +msgstr "" + +#. module: hr_employee_phone_extension +#: help:hr.employee,internal_number:0 +msgid "Internal phone number." +msgstr "" + +#. module: hr_employee_phone_extension +#: help:hr.employee,short_number:0 +msgid "Short phone number." +msgstr "" + +#. module: hr_employee_phone_extension +#: field:hr.employee,short_number:0 +msgid "Short Number" +msgstr "" diff --git a/hr_employee_phone_extension/i18n/it.po b/hr_employee_phone_extension/i18n/it.po new file mode 100644 index 00000000000..d022bf99986 --- /dev/null +++ b/hr_employee_phone_extension/i18n/it.po @@ -0,0 +1,43 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_employee_phone_extension +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: hr (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-03-12 12:02+0000\n" +"PO-Revision-Date: 2015-08-12 10:11+0000\n" +"Last-Translator: <>\n" +"Language-Team: Italian (http://www.transifex.com/oca/OCA-hr-8-0/language/it/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: it\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: hr_employee_phone_extension +#: model:ir.model,name:hr_employee_phone_extension.model_hr_employee +msgid "Employee" +msgstr "Dipendente" + +#. module: hr_employee_phone_extension +#: field:hr.employee,internal_number:0 +msgid "Internal Number" +msgstr "" + +#. module: hr_employee_phone_extension +#: help:hr.employee,internal_number:0 +msgid "Internal phone number." +msgstr "" + +#. module: hr_employee_phone_extension +#: field:hr.employee,short_number:0 +msgid "Short Number" +msgstr "" + +#. module: hr_employee_phone_extension +#: help:hr.employee,short_number:0 +msgid "Short phone number." +msgstr "" diff --git a/hr_employee_phone_extension/i18n/nl_NL.po b/hr_employee_phone_extension/i18n/nl_NL.po new file mode 100644 index 00000000000..fd40bdc590d --- /dev/null +++ b/hr_employee_phone_extension/i18n/nl_NL.po @@ -0,0 +1,44 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_employee_phone_extension +# +# Translators: +# lfreeke , 2015 +msgid "" +msgstr "" +"Project-Id-Version: hr (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-10-03 22:37+0000\n" +"PO-Revision-Date: 2015-09-28 20:57+0000\n" +"Last-Translator: lfreeke \n" +"Language-Team: Dutch (Netherlands) (http://www.transifex.com/oca/OCA-hr-8-0/language/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: hr_employee_phone_extension +#: model:ir.model,name:hr_employee_phone_extension.model_hr_employee +msgid "Employee" +msgstr "Werknemer" + +#. module: hr_employee_phone_extension +#: field:hr.employee,internal_number:0 +msgid "Internal Number" +msgstr "Intern nummer" + +#. module: hr_employee_phone_extension +#: help:hr.employee,internal_number:0 +msgid "Internal phone number." +msgstr "Intern telefoonnummer" + +#. module: hr_employee_phone_extension +#: field:hr.employee,short_number:0 +msgid "Short Number" +msgstr "" + +#. module: hr_employee_phone_extension +#: help:hr.employee,short_number:0 +msgid "Short phone number." +msgstr "" diff --git a/hr_employee_phone_extension/i18n/pt_BR.po b/hr_employee_phone_extension/i18n/pt_BR.po new file mode 100644 index 00000000000..7558b55c74b --- /dev/null +++ b/hr_employee_phone_extension/i18n/pt_BR.po @@ -0,0 +1,44 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_employee_phone_extension +# +# Translators: +# danimaribeiro , 2016 +msgid "" +msgstr "" +"Project-Id-Version: hr (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-03-11 01:48+0000\n" +"PO-Revision-Date: 2016-03-08 03:26+0000\n" +"Last-Translator: danimaribeiro \n" +"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-hr-8-0/language/pt_BR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pt_BR\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: hr_employee_phone_extension +#: model:ir.model,name:hr_employee_phone_extension.model_hr_employee +msgid "Employee" +msgstr "Empregado" + +#. module: hr_employee_phone_extension +#: field:hr.employee,internal_number:0 +msgid "Internal Number" +msgstr "Número interno" + +#. module: hr_employee_phone_extension +#: help:hr.employee,internal_number:0 +msgid "Internal phone number." +msgstr "Número de telefone interno" + +#. module: hr_employee_phone_extension +#: field:hr.employee,short_number:0 +msgid "Short Number" +msgstr "Número" + +#. module: hr_employee_phone_extension +#: help:hr.employee,short_number:0 +msgid "Short phone number." +msgstr "" diff --git a/hr_employee_phone_extension/i18n/ro.po b/hr_employee_phone_extension/i18n/ro.po new file mode 100644 index 00000000000..1584c305da7 --- /dev/null +++ b/hr_employee_phone_extension/i18n/ro.po @@ -0,0 +1,43 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_employee_phone_extension +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: hr (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-08-18 13:10+0000\n" +"PO-Revision-Date: 2015-08-12 10:11+0000\n" +"Last-Translator: <>\n" +"Language-Team: Romanian (http://www.transifex.com/oca/OCA-hr-8-0/language/ro/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ro\n" +"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n" + +#. module: hr_employee_phone_extension +#: model:ir.model,name:hr_employee_phone_extension.model_hr_employee +msgid "Employee" +msgstr "Angajat" + +#. module: hr_employee_phone_extension +#: field:hr.employee,internal_number:0 +msgid "Internal Number" +msgstr "" + +#. module: hr_employee_phone_extension +#: help:hr.employee,internal_number:0 +msgid "Internal phone number." +msgstr "" + +#. module: hr_employee_phone_extension +#: field:hr.employee,short_number:0 +msgid "Short Number" +msgstr "" + +#. module: hr_employee_phone_extension +#: help:hr.employee,short_number:0 +msgid "Short phone number." +msgstr "" diff --git a/hr_employee_phone_extension/i18n/sl.po b/hr_employee_phone_extension/i18n/sl.po new file mode 100644 index 00000000000..786f01a9527 --- /dev/null +++ b/hr_employee_phone_extension/i18n/sl.po @@ -0,0 +1,44 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_employee_phone_extension +# +# Translators: +# Matjaž Mozetič , 2015 +msgid "" +msgstr "" +"Project-Id-Version: hr (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-08-18 13:10+0000\n" +"PO-Revision-Date: 2015-08-16 11:40+0000\n" +"Last-Translator: Matjaž Mozetič \n" +"Language-Team: Slovenian (http://www.transifex.com/oca/OCA-hr-8-0/language/sl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sl\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" + +#. module: hr_employee_phone_extension +#: model:ir.model,name:hr_employee_phone_extension.model_hr_employee +msgid "Employee" +msgstr "Kader" + +#. module: hr_employee_phone_extension +#: field:hr.employee,internal_number:0 +msgid "Internal Number" +msgstr "Interna številka" + +#. module: hr_employee_phone_extension +#: help:hr.employee,internal_number:0 +msgid "Internal phone number." +msgstr "Interna telefonska številka" + +#. module: hr_employee_phone_extension +#: field:hr.employee,short_number:0 +msgid "Short Number" +msgstr "Skrajšana številka" + +#. module: hr_employee_phone_extension +#: help:hr.employee,short_number:0 +msgid "Short phone number." +msgstr "Skrajšana telefonska številka" diff --git a/hr_employee_phone_extension/models/__init__.py b/hr_employee_phone_extension/models/__init__.py new file mode 100644 index 00000000000..ddb17be25cb --- /dev/null +++ b/hr_employee_phone_extension/models/__init__.py @@ -0,0 +1,3 @@ +#! -*- coding: utf-8 -*- + +from . import hr_employee diff --git a/hr_employee_phone_extension/models/hr_employee.py b/hr_employee_phone_extension/models/hr_employee.py new file mode 100644 index 00000000000..79cbf732b99 --- /dev/null +++ b/hr_employee_phone_extension/models/hr_employee.py @@ -0,0 +1,32 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# This module copyright (C) 2013 Savoir-faire Linux +# (). +# +# 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 models, fields + + +class HrEmployee(models.Model): + _inherit = 'hr.employee' + + internal_number = fields.Char('Internal Number', size=20, + help='Internal phone number.') + short_number = fields.Char('Short Number', size=20, + help='Short phone number.') diff --git a/hr_employee_phone_extension/static/description/icon.png b/hr_employee_phone_extension/static/description/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..3a0328b516c4980e8e44cdb63fd945757ddd132d GIT binary patch literal 9455 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 z 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 Xviia!U7SGha1wx#SCgwmn*{w2TRX*I literal 0 HcmV?d00001 diff --git a/hr_employee_phone_extension/views/hr_employee_view.xml b/hr_employee_phone_extension/views/hr_employee_view.xml new file mode 100644 index 00000000000..f1da74aae7d --- /dev/null +++ b/hr_employee_phone_extension/views/hr_employee_view.xml @@ -0,0 +1,20 @@ + + + + + + view.employee.form.inherit.extension + hr.employee + + + + + + + + + + + + + From 22d10980c20a3ba9ac78208918ae78ad9aaea86d Mon Sep 17 00:00:00 2001 From: Denis Leemann Date: Wed, 22 Feb 2017 11:17:55 +0100 Subject: [PATCH 04/26] [MIG] hr_employee_phone_extension: Migrated to 10.0 --- hr_employee_phone_extension/README.rst | 6 +-- hr_employee_phone_extension/__init__.py | 21 +-------- hr_employee_phone_extension/__manifest__.py | 20 ++++++++ hr_employee_phone_extension/__openerp__.py | 38 --------------- hr_employee_phone_extension/i18n/ar.po | 18 ++++---- hr_employee_phone_extension/i18n/cs_CZ.po | 45 ++++++++++++++++++ hr_employee_phone_extension/i18n/de.po | 37 ++++++++------- hr_employee_phone_extension/i18n/en.po | 43 ----------------- hr_employee_phone_extension/i18n/es.po | 43 ++++++++--------- hr_employee_phone_extension/i18n/fi.po | 15 +++--- hr_employee_phone_extension/i18n/fr.po | 41 ++++++++--------- hr_employee_phone_extension/i18n/hr.po | 45 ++++++++++++++++++ hr_employee_phone_extension/i18n/hr_HR.po | 46 +++++++++++++++++++ .../i18n/hr_employee_phone_extension.pot | 19 ++++---- hr_employee_phone_extension/i18n/it.po | 32 +++++++------ hr_employee_phone_extension/i18n/lt.po | 45 ++++++++++++++++++ hr_employee_phone_extension/i18n/nl_NL.po | 25 +++++----- hr_employee_phone_extension/i18n/pt_BR.po | 25 +++++----- hr_employee_phone_extension/i18n/ro.po | 18 ++++---- hr_employee_phone_extension/i18n/sl.po | 27 +++++------ .../models/__init__.py | 3 +- .../models/hr_employee.py | 30 +++--------- .../views/hr_employee_view.xml | 6 +-- 23 files changed, 369 insertions(+), 279 deletions(-) create mode 100644 hr_employee_phone_extension/__manifest__.py delete mode 100644 hr_employee_phone_extension/__openerp__.py create mode 100644 hr_employee_phone_extension/i18n/cs_CZ.po delete mode 100644 hr_employee_phone_extension/i18n/en.po create mode 100644 hr_employee_phone_extension/i18n/hr.po create mode 100644 hr_employee_phone_extension/i18n/hr_HR.po create mode 100644 hr_employee_phone_extension/i18n/lt.po diff --git a/hr_employee_phone_extension/README.rst b/hr_employee_phone_extension/README.rst index d8351b8e289..ca23fd9e9dd 100644 --- a/hr_employee_phone_extension/README.rst +++ b/hr_employee_phone_extension/README.rst @@ -14,8 +14,7 @@ Bug Tracker Bugs are tracked on `GitHub Issues `_. In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us smashing it by providing a detailed and welcomed feedback -`here `_. +If you spotted it first, help us smashing it by providing a detailed and welcomed feedback. Credits @@ -28,7 +27,8 @@ Contributors * El Hadji Dem * Vincent Renaville * Charbel Jacquin - +* Denis Leemann + Maintainer ---------- diff --git a/hr_employee_phone_extension/__init__.py b/hr_employee_phone_extension/__init__.py index 29db66cd90f..9b2c189f76c 100644 --- a/hr_employee_phone_extension/__init__.py +++ b/hr_employee_phone_extension/__init__.py @@ -1,23 +1,4 @@ # -*- encoding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# This module copyright (C) 2013 Savoir-faire Linux -# (). -# -# 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). from . import models diff --git a/hr_employee_phone_extension/__manifest__.py b/hr_employee_phone_extension/__manifest__.py new file mode 100644 index 00000000000..11743407baf --- /dev/null +++ b/hr_employee_phone_extension/__manifest__.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# copyright 2013 Savoir-faire Linux () +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + 'name': 'Employee Phone Extension', + 'version': '10.0.1.0.0', + 'category': 'Human Resources', + 'author': "Savoir-faire Linux,Odoo Community Association (OCA)", + 'website': 'http://www.savoirfairelinux.com', + 'license': 'AGPL-3', + 'depends': ['hr', ], + 'data': [ + 'views/hr_employee_view.xml', + ], + 'demo': [], + 'test': [], + 'installable': True, + 'auto_install': False, +} diff --git a/hr_employee_phone_extension/__openerp__.py b/hr_employee_phone_extension/__openerp__.py deleted file mode 100644 index df6aa30b515..00000000000 --- a/hr_employee_phone_extension/__openerp__.py +++ /dev/null @@ -1,38 +0,0 @@ -# -*- encoding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# This module copyright (C) 2013 Savoir-faire Linux -# (). -# -# 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': 'Employee Phone Extension', - 'version': '8.0.1.0.0', - 'category': 'Human Resources', - 'author': "Savoir-faire Linux,Odoo Community Association (OCA)", - 'website': 'http://www.savoirfairelinux.com', - 'license': 'AGPL-3', - 'depends': ['hr', ], - 'data': [ - 'views/hr_employee_view.xml', - ], - 'demo': [], - 'test': [], - 'installable': True, - 'auto_install': False, -} diff --git a/hr_employee_phone_extension/i18n/ar.po b/hr_employee_phone_extension/i18n/ar.po index c325d4a30b3..68052cae77f 100644 --- a/hr_employee_phone_extension/i18n/ar.po +++ b/hr_employee_phone_extension/i18n/ar.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * hr_employee_phone_extension -# +# # Translators: msgid "" msgstr "" @@ -10,12 +10,14 @@ msgstr "" "POT-Creation-Date: 2015-11-30 05:19+0000\n" "PO-Revision-Date: 2015-08-12 10:11+0000\n" "Last-Translator: <>\n" -"Language-Team: Arabic (http://www.transifex.com/oca/OCA-hr-8-0/language/ar/)\n" +"Language-Team: Arabic (http://www.transifex.com/oca/OCA-hr-8-0/language/" +"ar/)\n" +"Language: ar\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: ar\n" -"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" +"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: hr_employee_phone_extension #: model:ir.model,name:hr_employee_phone_extension.model_hr_employee @@ -23,21 +25,21 @@ msgid "Employee" msgstr "الموظف" #. module: hr_employee_phone_extension -#: field:hr.employee,internal_number:0 +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_internal_number msgid "Internal Number" msgstr "" #. module: hr_employee_phone_extension -#: help:hr.employee,internal_number:0 +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_internal_number msgid "Internal phone number." msgstr "" #. module: hr_employee_phone_extension -#: field:hr.employee,short_number:0 +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_short_number msgid "Short Number" msgstr "" #. module: hr_employee_phone_extension -#: help:hr.employee,short_number:0 +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_short_number msgid "Short phone number." msgstr "" diff --git a/hr_employee_phone_extension/i18n/cs_CZ.po b/hr_employee_phone_extension/i18n/cs_CZ.po new file mode 100644 index 00000000000..554d0aecddd --- /dev/null +++ b/hr_employee_phone_extension/i18n/cs_CZ.po @@ -0,0 +1,45 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_employee_phone_extension +# +# Translators: +# Lukáš Spurný , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-02-23 03:45+0000\n" +"PO-Revision-Date: 2018-02-23 03:45+0000\n" +"Last-Translator: Lukáš Spurný , 2018\n" +"Language-Team: Czech (Czech Republic) (https://www.transifex.com/oca/" +"teams/23907/cs_CZ/)\n" +"Language: cs_CZ\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#. module: hr_employee_phone_extension +#: model:ir.model,name:hr_employee_phone_extension.model_hr_employee +msgid "Employee" +msgstr "Zaměstnanec" + +#. module: hr_employee_phone_extension +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_internal_number +msgid "Internal Number" +msgstr "Interní číslo" + +#. module: hr_employee_phone_extension +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_internal_number +msgid "Internal phone number." +msgstr "Interní telefonní číslo." + +#. module: hr_employee_phone_extension +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_short_number +msgid "Short Number" +msgstr "Krátké číslo" + +#. module: hr_employee_phone_extension +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_short_number +msgid "Short phone number." +msgstr "Krátké telefonní číslo." diff --git a/hr_employee_phone_extension/i18n/de.po b/hr_employee_phone_extension/i18n/de.po index c5aa52e3b19..2952a58b33c 100644 --- a/hr_employee_phone_extension/i18n/de.po +++ b/hr_employee_phone_extension/i18n/de.po @@ -1,22 +1,22 @@ -# Translation of OpenERP Server. +# Translation of Odoo Server. # This file contains the translation of the following modules: -# * hr_employee_phone_extension +# * hr_employee_phone_extension # -# Rudolf Schnapka , 2015. +# Translators: +# OCA Transbot , 2017 msgid "" msgstr "" -"Project-Id-Version: OpenERP Server 7.0\n" +"Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-12-12 16:57+0000\n" -"PO-Revision-Date: 2015-01-01 17:56+0100\n" -"Last-Translator: Rudolf Schnapka \n" -"Language-Team: German \n" +"POT-Creation-Date: 2017-02-25 02:06+0000\n" +"PO-Revision-Date: 2017-02-25 02:06+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" +"Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Plural-Forms: \n" -"Language: de\n" -"X-Generator: Lokalize 1.5\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: hr_employee_phone_extension #: model:ir.model,name:hr_employee_phone_extension.model_hr_employee @@ -24,22 +24,21 @@ msgid "Employee" msgstr "Angestellter" #. module: hr_employee_phone_extension -#: field:hr.employee,internal_number:0 +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_internal_number msgid "Internal Number" msgstr "Interne Nummer" #. module: hr_employee_phone_extension -#: help:hr.employee,internal_number:0 +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_internal_number msgid "Internal phone number." msgstr "Interne Rufnummer." #. module: hr_employee_phone_extension -#: help:hr.employee,short_number:0 -msgid "Short phone number." -msgstr "Kurzwahl." - -#. module: hr_employee_phone_extension -#: field:hr.employee,short_number:0 +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_short_number msgid "Short Number" msgstr "Rufnummer Kurzform" +#. module: hr_employee_phone_extension +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_short_number +msgid "Short phone number." +msgstr "Kurzwahl." diff --git a/hr_employee_phone_extension/i18n/en.po b/hr_employee_phone_extension/i18n/en.po deleted file mode 100644 index fd253540373..00000000000 --- a/hr_employee_phone_extension/i18n/en.po +++ /dev/null @@ -1,43 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * hr_employee_phone_extension -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: hr (8.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-08-18 13:10+0000\n" -"PO-Revision-Date: 2015-08-12 10:11+0000\n" -"Last-Translator: OCA Transbot \n" -"Language-Team: English (http://www.transifex.com/oca/OCA-hr-8-0/language/en/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: en\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: hr_employee_phone_extension -#: model:ir.model,name:hr_employee_phone_extension.model_hr_employee -msgid "Employee" -msgstr "Employee" - -#. module: hr_employee_phone_extension -#: field:hr.employee,internal_number:0 -msgid "Internal Number" -msgstr "Internal Number" - -#. module: hr_employee_phone_extension -#: help:hr.employee,internal_number:0 -msgid "Internal phone number." -msgstr "Internal phone number." - -#. module: hr_employee_phone_extension -#: field:hr.employee,short_number:0 -msgid "Short Number" -msgstr "Short Number" - -#. module: hr_employee_phone_extension -#: help:hr.employee,short_number:0 -msgid "Short phone number." -msgstr "Short phone number." diff --git a/hr_employee_phone_extension/i18n/es.po b/hr_employee_phone_extension/i18n/es.po index 6cdc5cf9125..2b9e8a9fc46 100644 --- a/hr_employee_phone_extension/i18n/es.po +++ b/hr_employee_phone_extension/i18n/es.po @@ -1,21 +1,22 @@ -# Spanish translation for openerp-hr -# Copyright (c) 2014 Rosetta Contributors and Canonical Ltd 2014 -# This file is distributed under the same license as the openerp-hr package. -# FIRST AUTHOR , 2014. +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_employee_phone_extension # +# Translators: +# OCA Transbot , 2017 msgid "" msgstr "" -"Project-Id-Version: openerp-hr\n" -"Report-Msgid-Bugs-To: FULL NAME \n" -"POT-Creation-Date: 2013-12-12 16:57+0000\n" -"PO-Revision-Date: 2014-04-25 14:43+0000\n" -"Last-Translator: Pedro Manuel Baeza \n" -"Language-Team: Spanish \n" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-02-25 02:06+0000\n" +"PO-Revision-Date: 2017-02-25 02:06+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" +"Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-26 07:14+0000\n" -"X-Generator: Launchpad (build 16985)\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: hr_employee_phone_extension #: model:ir.model,name:hr_employee_phone_extension.model_hr_employee @@ -23,21 +24,21 @@ msgid "Employee" msgstr "Empleado" #. module: hr_employee_phone_extension -#: field:hr.employee,internal_number:0 +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_internal_number msgid "Internal Number" msgstr "Número interno" #. module: hr_employee_phone_extension -#: help:hr.employee,internal_number:0 +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_internal_number msgid "Internal phone number." msgstr "Número de teléfono interno" #. module: hr_employee_phone_extension -#: help:hr.employee,short_number:0 -msgid "Short phone number." -msgstr "Número de teléfono corto" - -#. module: hr_employee_phone_extension -#: field:hr.employee,short_number:0 +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_short_number msgid "Short Number" msgstr "Número corto" + +#. module: hr_employee_phone_extension +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_short_number +msgid "Short phone number." +msgstr "Número de teléfono corto" diff --git a/hr_employee_phone_extension/i18n/fi.po b/hr_employee_phone_extension/i18n/fi.po index 61c0f3f48ef..4f66b8856a3 100644 --- a/hr_employee_phone_extension/i18n/fi.po +++ b/hr_employee_phone_extension/i18n/fi.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * hr_employee_phone_extension -# +# # Translators: msgid "" msgstr "" @@ -10,11 +10,12 @@ msgstr "" "POT-Creation-Date: 2016-04-14 04:15+0000\n" "PO-Revision-Date: 2016-04-04 11:07+0000\n" "Last-Translator: Jarmo Kortetjärvi \n" -"Language-Team: Finnish (http://www.transifex.com/oca/OCA-hr-8-0/language/fi/)\n" +"Language-Team: Finnish (http://www.transifex.com/oca/OCA-hr-8-0/language/" +"fi/)\n" +"Language: fi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: fi\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: hr_employee_phone_extension @@ -23,21 +24,21 @@ msgid "Employee" msgstr "Työntekijä" #. module: hr_employee_phone_extension -#: field:hr.employee,internal_number:0 +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_internal_number msgid "Internal Number" msgstr "" #. module: hr_employee_phone_extension -#: help:hr.employee,internal_number:0 +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_internal_number msgid "Internal phone number." msgstr "" #. module: hr_employee_phone_extension -#: field:hr.employee,short_number:0 +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_short_number msgid "Short Number" msgstr "" #. module: hr_employee_phone_extension -#: help:hr.employee,short_number:0 +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_short_number msgid "Short phone number." msgstr "" diff --git a/hr_employee_phone_extension/i18n/fr.po b/hr_employee_phone_extension/i18n/fr.po index cb8d7d82577..88b2592c5d8 100644 --- a/hr_employee_phone_extension/i18n/fr.po +++ b/hr_employee_phone_extension/i18n/fr.po @@ -1,23 +1,22 @@ -# Translation of OpenERP Server. +# Translation of Odoo Server. # This file contains the translation of the following modules: -# * hr_employee_phone_extension +# * hr_employee_phone_extension # +# Translators: +# OCA Transbot , 2017 msgid "" msgstr "" -"Project-Id-Version: OpenERP Server 7.0\n" +"Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-12-12 16:57+0000\n" -"PO-Revision-Date: 2013-12-24 01:43+0000\n" -"Last-Translator: Sandy Carter (http://www.savoirfairelinux.com) " -"\n" -"Language-Team: Savoir-faire Linux\n" +"POT-Creation-Date: 2017-02-25 02:06+0000\n" +"PO-Revision-Date: 2017-02-25 02:06+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" +"Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2013-12-25 06:38+0000\n" -"X-Generator: Launchpad (build 16877)\n" -"Language: fr\n" -"X-Poedit-SourceCharset: UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: hr_employee_phone_extension #: model:ir.model,name:hr_employee_phone_extension.model_hr_employee @@ -25,21 +24,21 @@ msgid "Employee" msgstr "Employé" #. module: hr_employee_phone_extension -#: field:hr.employee,internal_number:0 +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_internal_number msgid "Internal Number" msgstr "Numéro interne" #. module: hr_employee_phone_extension -#: help:hr.employee,internal_number:0 +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_internal_number msgid "Internal phone number." msgstr "Numéro de téléphone à l'interne." #. module: hr_employee_phone_extension -#: help:hr.employee,short_number:0 -msgid "Short phone number." -msgstr "Forme courte du numéro de téléphone." - -#. module: hr_employee_phone_extension -#: field:hr.employee,short_number:0 +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_short_number msgid "Short Number" msgstr "Numéro court" + +#. module: hr_employee_phone_extension +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_short_number +msgid "Short phone number." +msgstr "Forme courte du numéro de téléphone." diff --git a/hr_employee_phone_extension/i18n/hr.po b/hr_employee_phone_extension/i18n/hr.po new file mode 100644 index 00000000000..721a49f5c71 --- /dev/null +++ b/hr_employee_phone_extension/i18n/hr.po @@ -0,0 +1,45 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_employee_phone_extension +# +# Translators: +# Bole , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-07-04 06:52+0000\n" +"PO-Revision-Date: 2017-07-04 06:52+0000\n" +"Last-Translator: Bole , 2017\n" +"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \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: hr_employee_phone_extension +#: model:ir.model,name:hr_employee_phone_extension.model_hr_employee +msgid "Employee" +msgstr "Djelatnik" + +#. module: hr_employee_phone_extension +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_internal_number +msgid "Internal Number" +msgstr "Interni broj" + +#. module: hr_employee_phone_extension +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_internal_number +msgid "Internal phone number." +msgstr "Interni tel. broj" + +#. module: hr_employee_phone_extension +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_short_number +msgid "Short Number" +msgstr "Kratni broj" + +#. module: hr_employee_phone_extension +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_short_number +msgid "Short phone number." +msgstr "Kratki broj telefona." diff --git a/hr_employee_phone_extension/i18n/hr_HR.po b/hr_employee_phone_extension/i18n/hr_HR.po new file mode 100644 index 00000000000..18e65eabfd2 --- /dev/null +++ b/hr_employee_phone_extension/i18n/hr_HR.po @@ -0,0 +1,46 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_employee_phone_extension +# +# Translators: +# Bole , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-02-25 02:06+0000\n" +"PO-Revision-Date: 2017-02-25 02:06+0000\n" +"Last-Translator: Bole , 2017\n" +"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/" +"hr_HR/)\n" +"Language: hr_HR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \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: hr_employee_phone_extension +#: model:ir.model,name:hr_employee_phone_extension.model_hr_employee +msgid "Employee" +msgstr "Djelatnik" + +#. module: hr_employee_phone_extension +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_internal_number +msgid "Internal Number" +msgstr "" + +#. module: hr_employee_phone_extension +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_internal_number +msgid "Internal phone number." +msgstr "" + +#. module: hr_employee_phone_extension +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_short_number +msgid "Short Number" +msgstr "" + +#. module: hr_employee_phone_extension +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_short_number +msgid "Short phone number." +msgstr "" diff --git a/hr_employee_phone_extension/i18n/hr_employee_phone_extension.pot b/hr_employee_phone_extension/i18n/hr_employee_phone_extension.pot index 45f999e96cc..5f974090d05 100644 --- a/hr_employee_phone_extension/i18n/hr_employee_phone_extension.pot +++ b/hr_employee_phone_extension/i18n/hr_employee_phone_extension.pot @@ -1,13 +1,11 @@ -# Translation of OpenERP Server. +# Translation of Odoo Server. # This file contains the translation of the following modules: # * hr_employee_phone_extension # msgid "" msgstr "" -"Project-Id-Version: OpenERP Server 7.0\n" +"Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-12-12 16:57+0000\n" -"PO-Revision-Date: 2013-12-12 16:57+0000\n" "Last-Translator: <>\n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -21,21 +19,22 @@ msgid "Employee" msgstr "" #. module: hr_employee_phone_extension -#: field:hr.employee,internal_number:0 +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_internal_number msgid "Internal Number" msgstr "" #. module: hr_employee_phone_extension -#: help:hr.employee,internal_number:0 +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_internal_number msgid "Internal phone number." msgstr "" #. module: hr_employee_phone_extension -#: help:hr.employee,short_number:0 -msgid "Short phone number." +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_short_number +msgid "Short Number" msgstr "" #. module: hr_employee_phone_extension -#: field:hr.employee,short_number:0 -msgid "Short Number" +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_short_number +msgid "Short phone number." msgstr "" + diff --git a/hr_employee_phone_extension/i18n/it.po b/hr_employee_phone_extension/i18n/it.po index d022bf99986..e4e3125d6bb 100644 --- a/hr_employee_phone_extension/i18n/it.po +++ b/hr_employee_phone_extension/i18n/it.po @@ -1,20 +1,22 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * hr_employee_phone_extension -# +# # Translators: +# OCA Transbot , 2017 +# Marco Calcagni , 2018 msgid "" msgstr "" -"Project-Id-Version: hr (8.0)\n" +"Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-12 12:02+0000\n" -"PO-Revision-Date: 2015-08-12 10:11+0000\n" -"Last-Translator: <>\n" -"Language-Team: Italian (http://www.transifex.com/oca/OCA-hr-8-0/language/it/)\n" +"POT-Creation-Date: 2018-03-31 03:38+0000\n" +"PO-Revision-Date: 2018-03-31 03:38+0000\n" +"Last-Translator: Marco Calcagni , 2018\n" +"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n" +"Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: it\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: hr_employee_phone_extension @@ -23,21 +25,21 @@ msgid "Employee" msgstr "Dipendente" #. module: hr_employee_phone_extension -#: field:hr.employee,internal_number:0 +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_internal_number msgid "Internal Number" -msgstr "" +msgstr "Numero interno" #. module: hr_employee_phone_extension -#: help:hr.employee,internal_number:0 +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_internal_number msgid "Internal phone number." -msgstr "" +msgstr "Numero interno telefonico." #. module: hr_employee_phone_extension -#: field:hr.employee,short_number:0 +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_short_number msgid "Short Number" -msgstr "" +msgstr "Numero breve" #. module: hr_employee_phone_extension -#: help:hr.employee,short_number:0 +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_short_number msgid "Short phone number." -msgstr "" +msgstr "Numero breve telefonico." diff --git a/hr_employee_phone_extension/i18n/lt.po b/hr_employee_phone_extension/i18n/lt.po new file mode 100644 index 00000000000..07610c3778d --- /dev/null +++ b/hr_employee_phone_extension/i18n/lt.po @@ -0,0 +1,45 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_employee_phone_extension +# +# Translators: +# Viktoras Norkus , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-17 12:16+0000\n" +"PO-Revision-Date: 2018-01-17 12:16+0000\n" +"Last-Translator: Viktoras Norkus , 2018\n" +"Language-Team: Lithuanian (https://www.transifex.com/oca/teams/23907/lt/)\n" +"Language: lt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \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: hr_employee_phone_extension +#: model:ir.model,name:hr_employee_phone_extension.model_hr_employee +msgid "Employee" +msgstr "Darbuotojas" + +#. module: hr_employee_phone_extension +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_internal_number +msgid "Internal Number" +msgstr "" + +#. module: hr_employee_phone_extension +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_internal_number +msgid "Internal phone number." +msgstr "" + +#. module: hr_employee_phone_extension +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_short_number +msgid "Short Number" +msgstr "" + +#. module: hr_employee_phone_extension +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_short_number +msgid "Short phone number." +msgstr "" diff --git a/hr_employee_phone_extension/i18n/nl_NL.po b/hr_employee_phone_extension/i18n/nl_NL.po index fd40bdc590d..1822979b08e 100644 --- a/hr_employee_phone_extension/i18n/nl_NL.po +++ b/hr_employee_phone_extension/i18n/nl_NL.po @@ -1,21 +1,22 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * hr_employee_phone_extension -# +# # Translators: -# lfreeke , 2015 +# OCA Transbot , 2017 msgid "" msgstr "" -"Project-Id-Version: hr (8.0)\n" +"Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-10-03 22:37+0000\n" -"PO-Revision-Date: 2015-09-28 20:57+0000\n" -"Last-Translator: lfreeke \n" -"Language-Team: Dutch (Netherlands) (http://www.transifex.com/oca/OCA-hr-8-0/language/nl_NL/)\n" +"POT-Creation-Date: 2017-02-25 02:06+0000\n" +"PO-Revision-Date: 2017-02-25 02:06+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/" +"teams/23907/nl_NL/)\n" +"Language: 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: hr_employee_phone_extension @@ -24,21 +25,21 @@ msgid "Employee" msgstr "Werknemer" #. module: hr_employee_phone_extension -#: field:hr.employee,internal_number:0 +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_internal_number msgid "Internal Number" msgstr "Intern nummer" #. module: hr_employee_phone_extension -#: help:hr.employee,internal_number:0 +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_internal_number msgid "Internal phone number." msgstr "Intern telefoonnummer" #. module: hr_employee_phone_extension -#: field:hr.employee,short_number:0 +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_short_number msgid "Short Number" msgstr "" #. module: hr_employee_phone_extension -#: help:hr.employee,short_number:0 +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_short_number msgid "Short phone number." msgstr "" diff --git a/hr_employee_phone_extension/i18n/pt_BR.po b/hr_employee_phone_extension/i18n/pt_BR.po index 7558b55c74b..0f568241ea1 100644 --- a/hr_employee_phone_extension/i18n/pt_BR.po +++ b/hr_employee_phone_extension/i18n/pt_BR.po @@ -1,21 +1,22 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * hr_employee_phone_extension -# +# # Translators: -# danimaribeiro , 2016 +# OCA Transbot , 2017 msgid "" msgstr "" -"Project-Id-Version: hr (8.0)\n" +"Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-11 01:48+0000\n" -"PO-Revision-Date: 2016-03-08 03:26+0000\n" -"Last-Translator: danimaribeiro \n" -"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-hr-8-0/language/pt_BR/)\n" +"POT-Creation-Date: 2017-02-25 02:06+0000\n" +"PO-Revision-Date: 2017-02-25 02:06+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/" +"teams/23907/pt_BR/)\n" +"Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: pt_BR\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: hr_employee_phone_extension @@ -24,21 +25,21 @@ msgid "Employee" msgstr "Empregado" #. module: hr_employee_phone_extension -#: field:hr.employee,internal_number:0 +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_internal_number msgid "Internal Number" msgstr "Número interno" #. module: hr_employee_phone_extension -#: help:hr.employee,internal_number:0 +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_internal_number msgid "Internal phone number." msgstr "Número de telefone interno" #. module: hr_employee_phone_extension -#: field:hr.employee,short_number:0 +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_short_number msgid "Short Number" msgstr "Número" #. module: hr_employee_phone_extension -#: help:hr.employee,short_number:0 +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_short_number msgid "Short phone number." msgstr "" diff --git a/hr_employee_phone_extension/i18n/ro.po b/hr_employee_phone_extension/i18n/ro.po index 1584c305da7..9df7da1eadc 100644 --- a/hr_employee_phone_extension/i18n/ro.po +++ b/hr_employee_phone_extension/i18n/ro.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * hr_employee_phone_extension -# +# # Translators: msgid "" msgstr "" @@ -10,12 +10,14 @@ msgstr "" "POT-Creation-Date: 2015-08-18 13:10+0000\n" "PO-Revision-Date: 2015-08-12 10:11+0000\n" "Last-Translator: <>\n" -"Language-Team: Romanian (http://www.transifex.com/oca/OCA-hr-8-0/language/ro/)\n" +"Language-Team: Romanian (http://www.transifex.com/oca/OCA-hr-8-0/language/" +"ro/)\n" +"Language: ro\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: ro\n" -"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n" +"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?" +"2:1));\n" #. module: hr_employee_phone_extension #: model:ir.model,name:hr_employee_phone_extension.model_hr_employee @@ -23,21 +25,21 @@ msgid "Employee" msgstr "Angajat" #. module: hr_employee_phone_extension -#: field:hr.employee,internal_number:0 +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_internal_number msgid "Internal Number" msgstr "" #. module: hr_employee_phone_extension -#: help:hr.employee,internal_number:0 +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_internal_number msgid "Internal phone number." msgstr "" #. module: hr_employee_phone_extension -#: field:hr.employee,short_number:0 +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_short_number msgid "Short Number" msgstr "" #. module: hr_employee_phone_extension -#: help:hr.employee,short_number:0 +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_short_number msgid "Short phone number." msgstr "" diff --git a/hr_employee_phone_extension/i18n/sl.po b/hr_employee_phone_extension/i18n/sl.po index 786f01a9527..519a3193bbf 100644 --- a/hr_employee_phone_extension/i18n/sl.po +++ b/hr_employee_phone_extension/i18n/sl.po @@ -1,22 +1,23 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * hr_employee_phone_extension -# +# # Translators: -# Matjaž Mozetič , 2015 +# OCA Transbot , 2017 msgid "" msgstr "" -"Project-Id-Version: hr (8.0)\n" +"Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-08-18 13:10+0000\n" -"PO-Revision-Date: 2015-08-16 11:40+0000\n" -"Last-Translator: Matjaž Mozetič \n" -"Language-Team: Slovenian (http://www.transifex.com/oca/OCA-hr-8-0/language/sl/)\n" +"POT-Creation-Date: 2017-02-25 02:06+0000\n" +"PO-Revision-Date: 2017-02-25 02:06+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" +"Language: sl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: sl\n" -"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" +"%100==4 ? 2 : 3);\n" #. module: hr_employee_phone_extension #: model:ir.model,name:hr_employee_phone_extension.model_hr_employee @@ -24,21 +25,21 @@ msgid "Employee" msgstr "Kader" #. module: hr_employee_phone_extension -#: field:hr.employee,internal_number:0 +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_internal_number msgid "Internal Number" msgstr "Interna številka" #. module: hr_employee_phone_extension -#: help:hr.employee,internal_number:0 +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_internal_number msgid "Internal phone number." msgstr "Interna telefonska številka" #. module: hr_employee_phone_extension -#: field:hr.employee,short_number:0 +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_short_number msgid "Short Number" msgstr "Skrajšana številka" #. module: hr_employee_phone_extension -#: help:hr.employee,short_number:0 +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_short_number msgid "Short phone number." msgstr "Skrajšana telefonska številka" diff --git a/hr_employee_phone_extension/models/__init__.py b/hr_employee_phone_extension/models/__init__.py index ddb17be25cb..6f262451f39 100644 --- a/hr_employee_phone_extension/models/__init__.py +++ b/hr_employee_phone_extension/models/__init__.py @@ -1,3 +1,4 @@ -#! -*- coding: utf-8 -*- +# -*- coding: utf-8 -*- +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import hr_employee diff --git a/hr_employee_phone_extension/models/hr_employee.py b/hr_employee_phone_extension/models/hr_employee.py index 79cbf732b99..32dd4eb81f7 100644 --- a/hr_employee_phone_extension/models/hr_employee.py +++ b/hr_employee_phone_extension/models/hr_employee.py @@ -1,32 +1,14 @@ -# -*- encoding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# This module copyright (C) 2013 Savoir-faire Linux -# (). -# -# 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 . -# -############################################################################## +# -*- coding: utf-8 -*- +# copyright 2013 Savoir-faire Linux () +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from openerp import models, fields +from odoo import models, fields class HrEmployee(models.Model): _inherit = 'hr.employee' - internal_number = fields.Char('Internal Number', size=20, + internal_number = fields.Char('Internal Number', help='Internal phone number.') - short_number = fields.Char('Short Number', size=20, + short_number = fields.Char('Short Number', help='Short phone number.') diff --git a/hr_employee_phone_extension/views/hr_employee_view.xml b/hr_employee_phone_extension/views/hr_employee_view.xml index f1da74aae7d..0bd51dc1019 100644 --- a/hr_employee_phone_extension/views/hr_employee_view.xml +++ b/hr_employee_phone_extension/views/hr_employee_view.xml @@ -1,6 +1,5 @@ - - + view.employee.form.inherit.extension @@ -16,5 +15,4 @@ - - + From 7d9feddd48be5ac7a0c2f520bb6976b89bcae68d Mon Sep 17 00:00:00 2001 From: Vacha Trivedi Date: Thu, 21 Jun 2018 17:29:58 +0530 Subject: [PATCH 05/26] [MIG][11.0]hr_employee_phone_extension:Migration to 11.0 --- hr_employee_phone_extension/README.rst | 25 +++++++++++++++++-- hr_employee_phone_extension/__init__.py | 2 +- hr_employee_phone_extension/__manifest__.py | 9 +++---- .../i18n/hr_employee_phone_extension.pot | 2 +- .../models/__init__.py | 2 +- .../models/hr_employee.py | 1 - .../views/hr_employee_view.xml | 21 +++++++--------- 7 files changed, 38 insertions(+), 24 deletions(-) diff --git a/hr_employee_phone_extension/README.rst b/hr_employee_phone_extension/README.rst index ca23fd9e9dd..f1fc32521ed 100644 --- a/hr_employee_phone_extension/README.rst +++ b/hr_employee_phone_extension/README.rst @@ -9,6 +9,27 @@ This module adds the following to employees : * internal_number * short_number +Installation +============ + +To install this module, you need to: + +* clone the branch 11.0 of the repository https://github.com/OCA/hr +* add the path to this repository in your configuration (addons-path) +* update the module list +* search for "Employee Phone Extension" in your addons +* install the module + +Usage +===== + +On the employee form view you will have 2 separate fields, one for Internal Number, +second for Short Number, both optional. + +.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas + :alt: Try me on Runbot + :target: https://runbot.odoo-community.org/runbot/116/11.0 + Bug Tracker =========== @@ -28,7 +49,7 @@ Contributors * Vincent Renaville * Charbel Jacquin * Denis Leemann - +* Serpent Consulting Services Pvt. Ltd. Maintainer ---------- @@ -43,4 +64,4 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. -To contribute to this module, please visit http://odoo-community.org. +To contribute to this module, please visit https://odoo-community.org. diff --git a/hr_employee_phone_extension/__init__.py b/hr_employee_phone_extension/__init__.py index 9b2c189f76c..030f6d40ac4 100644 --- a/hr_employee_phone_extension/__init__.py +++ b/hr_employee_phone_extension/__init__.py @@ -1,4 +1,4 @@ -# -*- encoding: utf-8 -*- +# copyright 2013 Savoir-faire Linux () # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import models diff --git a/hr_employee_phone_extension/__manifest__.py b/hr_employee_phone_extension/__manifest__.py index 11743407baf..5ca5bb28f24 100644 --- a/hr_employee_phone_extension/__manifest__.py +++ b/hr_employee_phone_extension/__manifest__.py @@ -1,20 +1,17 @@ -# -*- coding: utf-8 -*- # copyright 2013 Savoir-faire Linux () # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { 'name': 'Employee Phone Extension', - 'version': '10.0.1.0.0', + 'version': '11.0.1.0.0', 'category': 'Human Resources', 'author': "Savoir-faire Linux,Odoo Community Association (OCA)", - 'website': 'http://www.savoirfairelinux.com', + 'website': "https://github.com/oca/hr", 'license': 'AGPL-3', - 'depends': ['hr', ], + 'depends': ['hr'], 'data': [ 'views/hr_employee_view.xml', ], - 'demo': [], - 'test': [], 'installable': True, 'auto_install': False, } diff --git a/hr_employee_phone_extension/i18n/hr_employee_phone_extension.pot b/hr_employee_phone_extension/i18n/hr_employee_phone_extension.pot index 5f974090d05..9d6ba190cef 100644 --- a/hr_employee_phone_extension/i18n/hr_employee_phone_extension.pot +++ b/hr_employee_phone_extension/i18n/hr_employee_phone_extension.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: <>\n" "Language-Team: \n" diff --git a/hr_employee_phone_extension/models/__init__.py b/hr_employee_phone_extension/models/__init__.py index 6f262451f39..e46fe558e53 100644 --- a/hr_employee_phone_extension/models/__init__.py +++ b/hr_employee_phone_extension/models/__init__.py @@ -1,4 +1,4 @@ -# -*- coding: utf-8 -*- +# copyright 2013 Savoir-faire Linux () # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import hr_employee diff --git a/hr_employee_phone_extension/models/hr_employee.py b/hr_employee_phone_extension/models/hr_employee.py index 32dd4eb81f7..717ba1f2cdb 100644 --- a/hr_employee_phone_extension/models/hr_employee.py +++ b/hr_employee_phone_extension/models/hr_employee.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # copyright 2013 Savoir-faire Linux () # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). diff --git a/hr_employee_phone_extension/views/hr_employee_view.xml b/hr_employee_phone_extension/views/hr_employee_view.xml index 0bd51dc1019..be0a7ce80ae 100644 --- a/hr_employee_phone_extension/views/hr_employee_view.xml +++ b/hr_employee_phone_extension/views/hr_employee_view.xml @@ -1,18 +1,15 @@ - + - view.employee.form.inherit.extension - hr.employee - - - - - - + view.employee.form.inherit.extension + hr.employee + + + + + + - - - From aa0a2cc709fd866fc0116a9618286d0d77af8a6d Mon Sep 17 00:00:00 2001 From: Anand Kansagra Date: Wed, 28 Nov 2018 19:15:35 +0530 Subject: [PATCH 06/26] [MIG] hr_employee_phone_extension: Migration to 12.0. --- hr_employee_phone_extension/README.rst | 72 ++- hr_employee_phone_extension/__init__.py | 3 - hr_employee_phone_extension/__manifest__.py | 3 +- hr_employee_phone_extension/i18n/ar.po | 8 +- hr_employee_phone_extension/i18n/cs_CZ.po | 8 +- hr_employee_phone_extension/i18n/de.po | 8 +- hr_employee_phone_extension/i18n/es.po | 8 +- hr_employee_phone_extension/i18n/fi.po | 8 +- hr_employee_phone_extension/i18n/fr.po | 8 +- hr_employee_phone_extension/i18n/hr.po | 8 +- hr_employee_phone_extension/i18n/hr_HR.po | 8 +- .../i18n/hr_employee_phone_extension.pot | 10 +- hr_employee_phone_extension/i18n/it.po | 8 +- hr_employee_phone_extension/i18n/lt.po | 8 +- hr_employee_phone_extension/i18n/nl_NL.po | 8 +- hr_employee_phone_extension/i18n/pt_BR.po | 8 +- hr_employee_phone_extension/i18n/ro.po | 8 +- hr_employee_phone_extension/i18n/sl.po | 8 +- .../models/__init__.py | 3 - .../models/hr_employee.py | 4 +- .../readme/CONTRIBUTORS.rst | 7 + .../readme/DESCRIPTION.rst | 4 + .../readme/INSTALL.rst | 7 + hr_employee_phone_extension/readme/USAGE.rst | 6 + .../static/description/index.html | 448 ++++++++++++++++++ .../views/hr_employee_view.xml | 6 +- 26 files changed, 595 insertions(+), 90 deletions(-) create mode 100644 hr_employee_phone_extension/readme/CONTRIBUTORS.rst create mode 100644 hr_employee_phone_extension/readme/DESCRIPTION.rst create mode 100644 hr_employee_phone_extension/readme/INSTALL.rst create mode 100644 hr_employee_phone_extension/readme/USAGE.rst create mode 100644 hr_employee_phone_extension/static/description/index.html diff --git a/hr_employee_phone_extension/README.rst b/hr_employee_phone_extension/README.rst index f1fc32521ed..5d8f9bf2bfd 100644 --- a/hr_employee_phone_extension/README.rst +++ b/hr_employee_phone_extension/README.rst @@ -1,24 +1,50 @@ -.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg - :alt: License: AGPL-3 - +======================== Employee Phone Extension ======================== +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fhr-lightgray.png?logo=github + :target: https://github.com/OCA/hr/tree/12.0/hr_employee_phone_extension + :alt: OCA/hr +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/hr-12-0/hr-12-0-hr_employee_phone_extension + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/116/12.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + This module adds the following to employees : -* internal_number -* short_number +* Internal Number +* Short Number + +**Table of contents** + +.. contents:: + :local: Installation ============ To install this module, you need to: -* clone the branch 11.0 of the repository https://github.com/OCA/hr -* add the path to this repository in your configuration (addons-path) -* update the module list -* search for "Employee Phone Extension" in your addons -* install the module +* Clone the branch 12.0 of the repository https://github.com/OCA/hr +* Add the path to this repository in your configuration (addons-path) +* Update the module list +* Search for "Employee Phone Extension" in your addons +* Install the module Usage ===== @@ -28,21 +54,28 @@ second for Short Number, both optional. .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/116/11.0 + :target: https://runbot.odoo-community.org/runbot/116/12.0 Bug Tracker =========== Bugs are tracked on `GitHub Issues `_. In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us smashing it by providing a detailed and welcomed feedback. +If you spotted it first, help us smashing it by providing a detailed and welcomed +`feedback `_. +Do not contact contributors directly about support or help with technical issues. Credits ======= +Authors +~~~~~~~ + +* Savoir-faire Linux + Contributors ------------- +~~~~~~~~~~~~ * Sandy Carter * El Hadji Dem @@ -50,18 +83,21 @@ Contributors * Charbel Jacquin * Denis Leemann * Serpent Consulting Services Pvt. Ltd. +* Anand Kansagra -Maintainer ----------- +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. .. image:: https://odoo-community.org/logo.png :alt: Odoo Community Association :target: https://odoo-community.org -This module is maintained by the OCA. - OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. -To contribute to this module, please visit https://odoo-community.org. +This module is part of the `OCA/hr `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/hr_employee_phone_extension/__init__.py b/hr_employee_phone_extension/__init__.py index 030f6d40ac4..0650744f6bc 100644 --- a/hr_employee_phone_extension/__init__.py +++ b/hr_employee_phone_extension/__init__.py @@ -1,4 +1 @@ -# copyright 2013 Savoir-faire Linux () -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). - from . import models diff --git a/hr_employee_phone_extension/__manifest__.py b/hr_employee_phone_extension/__manifest__.py index 5ca5bb28f24..f8d835357c9 100644 --- a/hr_employee_phone_extension/__manifest__.py +++ b/hr_employee_phone_extension/__manifest__.py @@ -3,7 +3,7 @@ { 'name': 'Employee Phone Extension', - 'version': '11.0.1.0.0', + 'version': '12.0.1.0.0', 'category': 'Human Resources', 'author': "Savoir-faire Linux,Odoo Community Association (OCA)", 'website': "https://github.com/oca/hr", @@ -13,5 +13,4 @@ 'views/hr_employee_view.xml', ], 'installable': True, - 'auto_install': False, } diff --git a/hr_employee_phone_extension/i18n/ar.po b/hr_employee_phone_extension/i18n/ar.po index 68052cae77f..019e76e0c40 100644 --- a/hr_employee_phone_extension/i18n/ar.po +++ b/hr_employee_phone_extension/i18n/ar.po @@ -25,21 +25,21 @@ msgid "Employee" msgstr "الموظف" #. module: hr_employee_phone_extension -#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_internal_number +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee__internal_number msgid "Internal Number" msgstr "" #. module: hr_employee_phone_extension -#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_internal_number +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee__internal_number msgid "Internal phone number." msgstr "" #. module: hr_employee_phone_extension -#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_short_number +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee__short_number msgid "Short Number" msgstr "" #. module: hr_employee_phone_extension -#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_short_number +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee__short_number msgid "Short phone number." msgstr "" diff --git a/hr_employee_phone_extension/i18n/cs_CZ.po b/hr_employee_phone_extension/i18n/cs_CZ.po index 554d0aecddd..a48ccd0d48e 100644 --- a/hr_employee_phone_extension/i18n/cs_CZ.po +++ b/hr_employee_phone_extension/i18n/cs_CZ.po @@ -25,21 +25,21 @@ msgid "Employee" msgstr "Zaměstnanec" #. module: hr_employee_phone_extension -#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_internal_number +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee__internal_number msgid "Internal Number" msgstr "Interní číslo" #. module: hr_employee_phone_extension -#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_internal_number +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee__internal_number msgid "Internal phone number." msgstr "Interní telefonní číslo." #. module: hr_employee_phone_extension -#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_short_number +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee__short_number msgid "Short Number" msgstr "Krátké číslo" #. module: hr_employee_phone_extension -#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_short_number +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee__short_number msgid "Short phone number." msgstr "Krátké telefonní číslo." diff --git a/hr_employee_phone_extension/i18n/de.po b/hr_employee_phone_extension/i18n/de.po index 2952a58b33c..1e3d070da8d 100644 --- a/hr_employee_phone_extension/i18n/de.po +++ b/hr_employee_phone_extension/i18n/de.po @@ -24,21 +24,21 @@ msgid "Employee" msgstr "Angestellter" #. module: hr_employee_phone_extension -#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_internal_number +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee__internal_number msgid "Internal Number" msgstr "Interne Nummer" #. module: hr_employee_phone_extension -#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_internal_number +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee__internal_number msgid "Internal phone number." msgstr "Interne Rufnummer." #. module: hr_employee_phone_extension -#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_short_number +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee__short_number msgid "Short Number" msgstr "Rufnummer Kurzform" #. module: hr_employee_phone_extension -#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_short_number +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee__short_number msgid "Short phone number." msgstr "Kurzwahl." diff --git a/hr_employee_phone_extension/i18n/es.po b/hr_employee_phone_extension/i18n/es.po index 2b9e8a9fc46..d9bc1937175 100644 --- a/hr_employee_phone_extension/i18n/es.po +++ b/hr_employee_phone_extension/i18n/es.po @@ -24,21 +24,21 @@ msgid "Employee" msgstr "Empleado" #. module: hr_employee_phone_extension -#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_internal_number +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee__internal_number msgid "Internal Number" msgstr "Número interno" #. module: hr_employee_phone_extension -#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_internal_number +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee__internal_number msgid "Internal phone number." msgstr "Número de teléfono interno" #. module: hr_employee_phone_extension -#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_short_number +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee__short_number msgid "Short Number" msgstr "Número corto" #. module: hr_employee_phone_extension -#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_short_number +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee__short_number msgid "Short phone number." msgstr "Número de teléfono corto" diff --git a/hr_employee_phone_extension/i18n/fi.po b/hr_employee_phone_extension/i18n/fi.po index 4f66b8856a3..40ce3f8d942 100644 --- a/hr_employee_phone_extension/i18n/fi.po +++ b/hr_employee_phone_extension/i18n/fi.po @@ -24,21 +24,21 @@ msgid "Employee" msgstr "Työntekijä" #. module: hr_employee_phone_extension -#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_internal_number +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee__internal_number msgid "Internal Number" msgstr "" #. module: hr_employee_phone_extension -#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_internal_number +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee__internal_number msgid "Internal phone number." msgstr "" #. module: hr_employee_phone_extension -#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_short_number +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee__short_number msgid "Short Number" msgstr "" #. module: hr_employee_phone_extension -#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_short_number +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee__short_number msgid "Short phone number." msgstr "" diff --git a/hr_employee_phone_extension/i18n/fr.po b/hr_employee_phone_extension/i18n/fr.po index 88b2592c5d8..70b4d1666af 100644 --- a/hr_employee_phone_extension/i18n/fr.po +++ b/hr_employee_phone_extension/i18n/fr.po @@ -24,21 +24,21 @@ msgid "Employee" msgstr "Employé" #. module: hr_employee_phone_extension -#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_internal_number +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee__internal_number msgid "Internal Number" msgstr "Numéro interne" #. module: hr_employee_phone_extension -#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_internal_number +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee__internal_number msgid "Internal phone number." msgstr "Numéro de téléphone à l'interne." #. module: hr_employee_phone_extension -#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_short_number +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee__short_number msgid "Short Number" msgstr "Numéro court" #. module: hr_employee_phone_extension -#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_short_number +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee__short_number msgid "Short phone number." msgstr "Forme courte du numéro de téléphone." diff --git a/hr_employee_phone_extension/i18n/hr.po b/hr_employee_phone_extension/i18n/hr.po index 721a49f5c71..da19b7bc90d 100644 --- a/hr_employee_phone_extension/i18n/hr.po +++ b/hr_employee_phone_extension/i18n/hr.po @@ -25,21 +25,21 @@ msgid "Employee" msgstr "Djelatnik" #. module: hr_employee_phone_extension -#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_internal_number +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee__internal_number msgid "Internal Number" msgstr "Interni broj" #. module: hr_employee_phone_extension -#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_internal_number +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee__internal_number msgid "Internal phone number." msgstr "Interni tel. broj" #. module: hr_employee_phone_extension -#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_short_number +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee__short_number msgid "Short Number" msgstr "Kratni broj" #. module: hr_employee_phone_extension -#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_short_number +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee__short_number msgid "Short phone number." msgstr "Kratki broj telefona." diff --git a/hr_employee_phone_extension/i18n/hr_HR.po b/hr_employee_phone_extension/i18n/hr_HR.po index 18e65eabfd2..f163342d44e 100644 --- a/hr_employee_phone_extension/i18n/hr_HR.po +++ b/hr_employee_phone_extension/i18n/hr_HR.po @@ -26,21 +26,21 @@ msgid "Employee" msgstr "Djelatnik" #. module: hr_employee_phone_extension -#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_internal_number +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee__internal_number msgid "Internal Number" msgstr "" #. module: hr_employee_phone_extension -#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_internal_number +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee__internal_number msgid "Internal phone number." msgstr "" #. module: hr_employee_phone_extension -#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_short_number +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee__short_number msgid "Short Number" msgstr "" #. module: hr_employee_phone_extension -#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_short_number +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee__short_number msgid "Short phone number." msgstr "" diff --git a/hr_employee_phone_extension/i18n/hr_employee_phone_extension.pot b/hr_employee_phone_extension/i18n/hr_employee_phone_extension.pot index 9d6ba190cef..3e496699ab6 100644 --- a/hr_employee_phone_extension/i18n/hr_employee_phone_extension.pot +++ b/hr_employee_phone_extension/i18n/hr_employee_phone_extension.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 11.0\n" +"Project-Id-Version: Odoo Server 12.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: <>\n" "Language-Team: \n" @@ -19,22 +19,22 @@ msgid "Employee" msgstr "" #. module: hr_employee_phone_extension -#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_internal_number +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee__internal_number msgid "Internal Number" msgstr "" #. module: hr_employee_phone_extension -#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_internal_number +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee__internal_number msgid "Internal phone number." msgstr "" #. module: hr_employee_phone_extension -#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_short_number +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee__short_number msgid "Short Number" msgstr "" #. module: hr_employee_phone_extension -#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_short_number +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee__short_number msgid "Short phone number." msgstr "" diff --git a/hr_employee_phone_extension/i18n/it.po b/hr_employee_phone_extension/i18n/it.po index e4e3125d6bb..e9574dd5466 100644 --- a/hr_employee_phone_extension/i18n/it.po +++ b/hr_employee_phone_extension/i18n/it.po @@ -25,21 +25,21 @@ msgid "Employee" msgstr "Dipendente" #. module: hr_employee_phone_extension -#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_internal_number +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee__internal_number msgid "Internal Number" msgstr "Numero interno" #. module: hr_employee_phone_extension -#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_internal_number +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee__internal_number msgid "Internal phone number." msgstr "Numero interno telefonico." #. module: hr_employee_phone_extension -#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_short_number +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee__short_number msgid "Short Number" msgstr "Numero breve" #. module: hr_employee_phone_extension -#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_short_number +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee__short_number msgid "Short phone number." msgstr "Numero breve telefonico." diff --git a/hr_employee_phone_extension/i18n/lt.po b/hr_employee_phone_extension/i18n/lt.po index 07610c3778d..2606ae223b5 100644 --- a/hr_employee_phone_extension/i18n/lt.po +++ b/hr_employee_phone_extension/i18n/lt.po @@ -25,21 +25,21 @@ msgid "Employee" msgstr "Darbuotojas" #. module: hr_employee_phone_extension -#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_internal_number +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee__internal_number msgid "Internal Number" msgstr "" #. module: hr_employee_phone_extension -#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_internal_number +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee__internal_number msgid "Internal phone number." msgstr "" #. module: hr_employee_phone_extension -#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_short_number +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee__short_number msgid "Short Number" msgstr "" #. module: hr_employee_phone_extension -#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_short_number +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee__short_number msgid "Short phone number." msgstr "" diff --git a/hr_employee_phone_extension/i18n/nl_NL.po b/hr_employee_phone_extension/i18n/nl_NL.po index 1822979b08e..f6b2666c166 100644 --- a/hr_employee_phone_extension/i18n/nl_NL.po +++ b/hr_employee_phone_extension/i18n/nl_NL.po @@ -25,21 +25,21 @@ msgid "Employee" msgstr "Werknemer" #. module: hr_employee_phone_extension -#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_internal_number +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee__internal_number msgid "Internal Number" msgstr "Intern nummer" #. module: hr_employee_phone_extension -#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_internal_number +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee__internal_number msgid "Internal phone number." msgstr "Intern telefoonnummer" #. module: hr_employee_phone_extension -#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_short_number +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee__short_number msgid "Short Number" msgstr "" #. module: hr_employee_phone_extension -#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_short_number +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee__short_number msgid "Short phone number." msgstr "" diff --git a/hr_employee_phone_extension/i18n/pt_BR.po b/hr_employee_phone_extension/i18n/pt_BR.po index 0f568241ea1..034e30fbc9a 100644 --- a/hr_employee_phone_extension/i18n/pt_BR.po +++ b/hr_employee_phone_extension/i18n/pt_BR.po @@ -25,21 +25,21 @@ msgid "Employee" msgstr "Empregado" #. module: hr_employee_phone_extension -#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_internal_number +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee__internal_number msgid "Internal Number" msgstr "Número interno" #. module: hr_employee_phone_extension -#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_internal_number +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee__internal_number msgid "Internal phone number." msgstr "Número de telefone interno" #. module: hr_employee_phone_extension -#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_short_number +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee__short_number msgid "Short Number" msgstr "Número" #. module: hr_employee_phone_extension -#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_short_number +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee__short_number msgid "Short phone number." msgstr "" diff --git a/hr_employee_phone_extension/i18n/ro.po b/hr_employee_phone_extension/i18n/ro.po index 9df7da1eadc..59ba437875c 100644 --- a/hr_employee_phone_extension/i18n/ro.po +++ b/hr_employee_phone_extension/i18n/ro.po @@ -25,21 +25,21 @@ msgid "Employee" msgstr "Angajat" #. module: hr_employee_phone_extension -#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_internal_number +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee__internal_number msgid "Internal Number" msgstr "" #. module: hr_employee_phone_extension -#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_internal_number +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee__internal_number msgid "Internal phone number." msgstr "" #. module: hr_employee_phone_extension -#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_short_number +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee__short_number msgid "Short Number" msgstr "" #. module: hr_employee_phone_extension -#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_short_number +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee__short_number msgid "Short phone number." msgstr "" diff --git a/hr_employee_phone_extension/i18n/sl.po b/hr_employee_phone_extension/i18n/sl.po index 519a3193bbf..cc5e999f0c8 100644 --- a/hr_employee_phone_extension/i18n/sl.po +++ b/hr_employee_phone_extension/i18n/sl.po @@ -25,21 +25,21 @@ msgid "Employee" msgstr "Kader" #. module: hr_employee_phone_extension -#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_internal_number +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee__internal_number msgid "Internal Number" msgstr "Interna številka" #. module: hr_employee_phone_extension -#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_internal_number +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee__internal_number msgid "Internal phone number." msgstr "Interna telefonska številka" #. module: hr_employee_phone_extension -#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee_short_number +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee__short_number msgid "Short Number" msgstr "Skrajšana številka" #. module: hr_employee_phone_extension -#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee_short_number +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee__short_number msgid "Short phone number." msgstr "Skrajšana telefonska številka" diff --git a/hr_employee_phone_extension/models/__init__.py b/hr_employee_phone_extension/models/__init__.py index e46fe558e53..e11a62f98ca 100644 --- a/hr_employee_phone_extension/models/__init__.py +++ b/hr_employee_phone_extension/models/__init__.py @@ -1,4 +1 @@ -# copyright 2013 Savoir-faire Linux () -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). - from . import hr_employee diff --git a/hr_employee_phone_extension/models/hr_employee.py b/hr_employee_phone_extension/models/hr_employee.py index 717ba1f2cdb..6e397fbddbc 100644 --- a/hr_employee_phone_extension/models/hr_employee.py +++ b/hr_employee_phone_extension/models/hr_employee.py @@ -1,10 +1,12 @@ # copyright 2013 Savoir-faire Linux () # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from odoo import models, fields +from odoo import fields, models class HrEmployee(models.Model): + """Enhance the features of the employee using Number details.""" + _inherit = 'hr.employee' internal_number = fields.Char('Internal Number', diff --git a/hr_employee_phone_extension/readme/CONTRIBUTORS.rst b/hr_employee_phone_extension/readme/CONTRIBUTORS.rst new file mode 100644 index 00000000000..ae46aeb2685 --- /dev/null +++ b/hr_employee_phone_extension/readme/CONTRIBUTORS.rst @@ -0,0 +1,7 @@ +* Sandy Carter +* El Hadji Dem +* Vincent Renaville +* Charbel Jacquin +* Denis Leemann +* Serpent Consulting Services Pvt. Ltd. +* Anand Kansagra diff --git a/hr_employee_phone_extension/readme/DESCRIPTION.rst b/hr_employee_phone_extension/readme/DESCRIPTION.rst new file mode 100644 index 00000000000..83779f0ad68 --- /dev/null +++ b/hr_employee_phone_extension/readme/DESCRIPTION.rst @@ -0,0 +1,4 @@ +This module adds the following to employees : + +* Internal Number +* Short Number diff --git a/hr_employee_phone_extension/readme/INSTALL.rst b/hr_employee_phone_extension/readme/INSTALL.rst new file mode 100644 index 00000000000..e697cf9b66c --- /dev/null +++ b/hr_employee_phone_extension/readme/INSTALL.rst @@ -0,0 +1,7 @@ +To install this module, you need to: + +* Clone the branch 12.0 of the repository https://github.com/OCA/hr +* Add the path to this repository in your configuration (addons-path) +* Update the module list +* Search for "Employee Phone Extension" in your addons +* Install the module diff --git a/hr_employee_phone_extension/readme/USAGE.rst b/hr_employee_phone_extension/readme/USAGE.rst new file mode 100644 index 00000000000..757cfcc9ce6 --- /dev/null +++ b/hr_employee_phone_extension/readme/USAGE.rst @@ -0,0 +1,6 @@ +On the employee form view you will have 2 separate fields, one for Internal Number, +second for Short Number, both optional. + +.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas + :alt: Try me on Runbot + :target: https://runbot.odoo-community.org/runbot/116/12.0 diff --git a/hr_employee_phone_extension/static/description/index.html b/hr_employee_phone_extension/static/description/index.html new file mode 100644 index 00000000000..25aa8326fcc --- /dev/null +++ b/hr_employee_phone_extension/static/description/index.html @@ -0,0 +1,448 @@ + + + + + + +Employee Phone Extension + + + +
+

Employee Phone Extension

+ + +

Beta License: AGPL-3 OCA/hr Translate me on Weblate Try me on Runbot

+

This module adds the following to employees :

+
    +
  • Internal Number
  • +
  • Short Number
  • +
+

Table of contents

+ +
+

Installation

+

To install this module, you need to:

+
    +
  • Clone the branch 12.0 of the repository https://github.com/OCA/hr
  • +
  • Add the path to this repository in your configuration (addons-path)
  • +
  • Update the module list
  • +
  • Search for “Employee Phone Extension” in your addons
  • +
  • Install the module
  • +
+
+
+

Usage

+

On the employee form view you will have 2 separate fields, one for Internal Number, +second for Short Number, both optional.

+Try me on Runbot +
+
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Savoir-faire Linux
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

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.

+

This module is part of the OCA/hr project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/hr_employee_phone_extension/views/hr_employee_view.xml b/hr_employee_phone_extension/views/hr_employee_view.xml index be0a7ce80ae..8a51d5869ca 100644 --- a/hr_employee_phone_extension/views/hr_employee_view.xml +++ b/hr_employee_phone_extension/views/hr_employee_view.xml @@ -1,8 +1,9 @@ + - - view.employee.form.inherit.extension + + view.employee.form hr.employee @@ -12,4 +13,5 @@ + From 24e1dd8d95f0dbfb57548ecac730fc33c31e2dc2 Mon Sep 17 00:00:00 2001 From: Jaime Arroyo Date: Tue, 23 Jul 2019 09:04:24 +0000 Subject: [PATCH 07/26] Translated using Weblate (Spanish) Currently translated at 100.0% (5 of 5 strings) Translation: hr-12.0/hr-12.0-hr_employee_phone_extension Translate-URL: https://translation.odoo-community.org/projects/hr-12-0/hr-12-0-hr_employee_phone_extension/es/ --- hr_employee_phone_extension/i18n/es.po | 11 ++++++----- .../static/description/index.html | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/hr_employee_phone_extension/i18n/es.po b/hr_employee_phone_extension/i18n/es.po index d9bc1937175..cbac9f3e3b7 100644 --- a/hr_employee_phone_extension/i18n/es.po +++ b/hr_employee_phone_extension/i18n/es.po @@ -9,14 +9,15 @@ msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-02-25 02:06+0000\n" -"PO-Revision-Date: 2017-02-25 02:06+0000\n" -"Last-Translator: OCA Transbot , 2017\n" +"PO-Revision-Date: 2019-07-23 11:43+0000\n" +"Last-Translator: Jaime Arroyo \n" "Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.7.1\n" #. module: hr_employee_phone_extension #: model:ir.model,name:hr_employee_phone_extension.model_hr_employee @@ -31,7 +32,7 @@ msgstr "Número interno" #. module: hr_employee_phone_extension #: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee__internal_number msgid "Internal phone number." -msgstr "Número de teléfono interno" +msgstr "Número de teléfono interno." #. module: hr_employee_phone_extension #: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee__short_number @@ -41,4 +42,4 @@ msgstr "Número corto" #. module: hr_employee_phone_extension #: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee__short_number msgid "Short phone number." -msgstr "Número de teléfono corto" +msgstr "Número de teléfono corto." diff --git a/hr_employee_phone_extension/static/description/index.html b/hr_employee_phone_extension/static/description/index.html index 25aa8326fcc..c21851dd64a 100644 --- a/hr_employee_phone_extension/static/description/index.html +++ b/hr_employee_phone_extension/static/description/index.html @@ -3,7 +3,7 @@ - + Employee Phone Extension