diff --git a/hr_employee_phone_extension/README.rst b/hr_employee_phone_extension/README.rst new file mode 100644 index 00000000000..cfaf1b8253a --- /dev/null +++ b/hr_employee_phone_extension/README.rst @@ -0,0 +1,105 @@ +======================== +Employee Phone Extension +======================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:ba808379bdb25ec718222a81a86d67e297099023294540a33735a2c445b8f7f0 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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/17.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-17-0/hr-17-0-hr_employee_phone_extension + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/hr&target_branch=17.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module adds the following to employees : + +- Internal Number +- Short Number + +**Table of contents** + +.. contents:: + :local: + +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. + +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 to smash 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 +- Vincent Renaville +- Charbel Jacquin +- Denis Leemann +- Serpent Consulting Services Pvt. Ltd. +- Anand Kansagra +- Saran Lim. +- aphon61bank +- Manish Bohra + +Maintainers +----------- + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +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/__init__.py b/hr_employee_phone_extension/__init__.py new file mode 100644 index 00000000000..0650744f6bc --- /dev/null +++ b/hr_employee_phone_extension/__init__.py @@ -0,0 +1 @@ +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..9a93a23fc67 --- /dev/null +++ b/hr_employee_phone_extension/__manifest__.py @@ -0,0 +1,14 @@ +# copyright 2013 Savoir-faire Linux () +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Employee Phone Extension", + "version": "17.0.1.0.0", + "category": "Human Resources", + "author": "Savoir-faire Linux,Odoo Community Association (OCA)", + "website": "https://github.com/OCA/hr", + "license": "AGPL-3", + "depends": ["hr"], + "data": ["views/hr_employee_view.xml"], + "installable": True, +} diff --git a/hr_employee_phone_extension/i18n/ar.po b/hr_employee_phone_extension/i18n/ar.po new file mode 100644 index 00000000000..c75c2ce3133 --- /dev/null +++ b/hr_employee_phone_extension/i18n/ar.po @@ -0,0 +1,50 @@ +# 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" +"Language: ar\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \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 +#: model_terms:ir.ui.view,arch_db:hr_employee_phone_extension.view_employee_form +msgid "Internal Contact" +msgstr "" + +#. 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/cs_CZ.po b/hr_employee_phone_extension/i18n/cs_CZ.po new file mode 100644 index 00000000000..a138872ac37 --- /dev/null +++ b/hr_employee_phone_extension/i18n/cs_CZ.po @@ -0,0 +1,50 @@ +# 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_terms:ir.ui.view,arch_db:hr_employee_phone_extension.view_employee_form +msgid "Internal Contact" +msgstr "" + +#. 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 new file mode 100644 index 00000000000..76a9e0f1032 --- /dev/null +++ b/hr_employee_phone_extension/i18n/de.po @@ -0,0 +1,50 @@ +# 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: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-02-25 02:06+0000\n" +"PO-Revision-Date: 2021-07-09 14:48+0000\n" +"Last-Translator: Maria Sparenberg \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: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.3.2\n" + +#. module: hr_employee_phone_extension +#: model:ir.model,name:hr_employee_phone_extension.model_hr_employee +msgid "Employee" +msgstr "Mitarbeiter" + +#. module: hr_employee_phone_extension +#: model_terms:ir.ui.view,arch_db:hr_employee_phone_extension.view_employee_form +msgid "Internal Contact" +msgstr "Interner Kontakt" + +#. module: hr_employee_phone_extension +#: 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 +msgid "Internal phone number." +msgstr "Interne Telefonnr." + +#. module: hr_employee_phone_extension +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee__short_number +msgid "Short Number" +msgstr "Kurzwahl" + +#. module: hr_employee_phone_extension +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee__short_number +msgid "Short phone number." +msgstr "Dies ist Kurzform der Telefonnummer." diff --git a/hr_employee_phone_extension/i18n/es.po b/hr_employee_phone_extension/i18n/es.po new file mode 100644 index 00000000000..f567e2aeeb4 --- /dev/null +++ b/hr_employee_phone_extension/i18n/es.po @@ -0,0 +1,50 @@ +# 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: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-02-25 02:06+0000\n" +"PO-Revision-Date: 2023-08-03 21:10+0000\n" +"Last-Translator: Ivorra78 \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" +"X-Generator: Weblate 4.17\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 +#: model_terms:ir.ui.view,arch_db:hr_employee_phone_extension.view_employee_form +msgid "Internal Contact" +msgstr "Contacto interno" + +#. module: hr_employee_phone_extension +#: 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 +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 +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/es_AR.po b/hr_employee_phone_extension/i18n/es_AR.po new file mode 100644 index 00000000000..6927f2903d6 --- /dev/null +++ b/hr_employee_phone_extension/i18n/es_AR.po @@ -0,0 +1,56 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_employee_phone_extension +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-04-02 22:27+0000\n" +"Last-Translator: Nicolas Rodriguez Sande \n" +"Language-Team: none\n" +"Language: es_AR\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" +"X-Generator: Weblate 4.14.1\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 +#: model_terms:ir.ui.view,arch_db:hr_employee_phone_extension.view_employee_form +msgid "Internal Contact" +msgstr "Contacto interno" + +#. module: hr_employee_phone_extension +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee__internal_number +msgid "Internal Number" +msgstr "Numero de 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 "Numero telefonico de interno." + +#. module: hr_employee_phone_extension +#: model:ir.model.fields,field_description:hr_employee_phone_extension.field_hr_employee__short_number +msgid "Short Number" +msgstr "Numero 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 "Numero corto." + +#~ msgid "Display Name" +#~ msgstr "Nombre para mostrar" + +#~ msgid "ID" +#~ msgstr "ID" + +#~ msgid "Last Modified on" +#~ msgstr "Última modificación en" diff --git a/hr_employee_phone_extension/i18n/fi.po b/hr_employee_phone_extension/i18n/fi.po new file mode 100644 index 00000000000..cc2fc44dc64 --- /dev/null +++ b/hr_employee_phone_extension/i18n/fi.po @@ -0,0 +1,49 @@ +# 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" +"Language: fi\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" + +#. 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 +#: model_terms:ir.ui.view,arch_db:hr_employee_phone_extension.view_employee_form +msgid "Internal Contact" +msgstr "" + +#. 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/fr.po b/hr_employee_phone_extension/i18n/fr.po new file mode 100644 index 00000000000..e669963fcdd --- /dev/null +++ b/hr_employee_phone_extension/i18n/fr.po @@ -0,0 +1,49 @@ +# 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: 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: 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: \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 "Employé" + +#. module: hr_employee_phone_extension +#: model_terms:ir.ui.view,arch_db:hr_employee_phone_extension.view_employee_form +msgid "Internal Contact" +msgstr "" + +#. module: hr_employee_phone_extension +#: 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 +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 +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..65ccf1c81c6 --- /dev/null +++ b/hr_employee_phone_extension/i18n/hr.po @@ -0,0 +1,50 @@ +# 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_terms:ir.ui.view,arch_db:hr_employee_phone_extension.view_employee_form +msgid "Internal Contact" +msgstr "" + +#. 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..468fc091576 --- /dev/null +++ b/hr_employee_phone_extension/i18n/hr_HR.po @@ -0,0 +1,51 @@ +# 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_terms:ir.ui.view,arch_db:hr_employee_phone_extension.view_employee_form +msgid "Internal Contact" +msgstr "" + +#. 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 new file mode 100644 index 00000000000..b448039297b --- /dev/null +++ b/hr_employee_phone_extension/i18n/hr_employee_phone_extension.pot @@ -0,0 +1,44 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_employee_phone_extension +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \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 +#: model_terms:ir.ui.view,arch_db:hr_employee_phone_extension.view_employee_form +msgid "Internal Contact" +msgstr "" + +#. 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/it.po b/hr_employee_phone_extension/i18n/it.po new file mode 100644 index 00000000000..c5c486c6785 --- /dev/null +++ b/hr_employee_phone_extension/i18n/it.po @@ -0,0 +1,51 @@ +# 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: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-03-31 03:38+0000\n" +"PO-Revision-Date: 2023-05-30 12:08+0000\n" +"Last-Translator: mymage \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" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\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 +#: model_terms:ir.ui.view,arch_db:hr_employee_phone_extension.view_employee_form +msgid "Internal Contact" +msgstr "Contatto Interno" + +#. module: hr_employee_phone_extension +#: 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 +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 +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 +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 new file mode 100644 index 00000000000..c09a3ee9715 --- /dev/null +++ b/hr_employee_phone_extension/i18n/lt.po @@ -0,0 +1,50 @@ +# 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_terms:ir.ui.view,arch_db:hr_employee_phone_extension.view_employee_form +msgid "Internal Contact" +msgstr "" + +#. 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 new file mode 100644 index 00000000000..187159c1679 --- /dev/null +++ b/hr_employee_phone_extension/i18n/nl_NL.po @@ -0,0 +1,50 @@ +# 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: 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: 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" +"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 +#: model_terms:ir.ui.view,arch_db:hr_employee_phone_extension.view_employee_form +msgid "Internal Contact" +msgstr "" + +#. 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 nummer" + +#. 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 telefoonnummer" + +#. 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/pt.po b/hr_employee_phone_extension/i18n/pt.po new file mode 100644 index 00000000000..ca8072a1711 --- /dev/null +++ b/hr_employee_phone_extension/i18n/pt.po @@ -0,0 +1,56 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_employee_phone_extension +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2021-12-17 17:39+0000\n" +"Last-Translator: Pedro Castro Silva \n" +"Language-Team: none\n" +"Language: pt\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" +"X-Generator: Weblate 4.3.2\n" + +#. module: hr_employee_phone_extension +#: model:ir.model,name:hr_employee_phone_extension.model_hr_employee +msgid "Employee" +msgstr "Funcionário" + +#. module: hr_employee_phone_extension +#: model_terms:ir.ui.view,arch_db:hr_employee_phone_extension.view_employee_form +msgid "Internal Contact" +msgstr "Contacto Interno" + +#. module: hr_employee_phone_extension +#: 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 +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 +msgid "Short Number" +msgstr "Número curto" + +#. module: hr_employee_phone_extension +#: model:ir.model.fields,help:hr_employee_phone_extension.field_hr_employee__short_number +msgid "Short phone number." +msgstr "Forma curta do número de telefone." + +#~ msgid "Display Name" +#~ msgstr "Nome a Exibir" + +#~ msgid "ID" +#~ msgstr "ID" + +#~ msgid "Last Modified on" +#~ msgstr "Última Modificação em" 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..908d5f733da --- /dev/null +++ b/hr_employee_phone_extension/i18n/pt_BR.po @@ -0,0 +1,51 @@ +# 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: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-02-25 02:06+0000\n" +"PO-Revision-Date: 2020-07-01 20:19+0000\n" +"Last-Translator: Rodrigo Macedo \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" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 3.10\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 +#: model_terms:ir.ui.view,arch_db:hr_employee_phone_extension.view_employee_form +msgid "Internal Contact" +msgstr "Contato Interno" + +#. module: hr_employee_phone_extension +#: 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 +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 +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 +msgid "Short phone number." +msgstr "Número de telefone curto." diff --git a/hr_employee_phone_extension/i18n/ro.po b/hr_employee_phone_extension/i18n/ro.po new file mode 100644 index 00000000000..cda94ded620 --- /dev/null +++ b/hr_employee_phone_extension/i18n/ro.po @@ -0,0 +1,50 @@ +# 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" +"Language: ro\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%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 +#: model_terms:ir.ui.view,arch_db:hr_employee_phone_extension.view_employee_form +msgid "Internal Contact" +msgstr "" + +#. 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/sl.po b/hr_employee_phone_extension/i18n/sl.po new file mode 100644 index 00000000000..854dc07bc31 --- /dev/null +++ b/hr_employee_phone_extension/i18n/sl.po @@ -0,0 +1,50 @@ +# 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: 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: 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" +"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 +#: model_terms:ir.ui.view,arch_db:hr_employee_phone_extension.view_employee_form +msgid "Internal Contact" +msgstr "" + +#. module: hr_employee_phone_extension +#: 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 +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 +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 +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..e11a62f98ca --- /dev/null +++ b/hr_employee_phone_extension/models/__init__.py @@ -0,0 +1 @@ +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..4a3bf5ebbc7 --- /dev/null +++ b/hr_employee_phone_extension/models/hr_employee.py @@ -0,0 +1,13 @@ +# copyright 2013 Savoir-faire Linux () +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +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(help="Internal phone number.") + short_number = fields.Char(help="Short phone number.") diff --git a/hr_employee_phone_extension/pyproject.toml b/hr_employee_phone_extension/pyproject.toml new file mode 100644 index 00000000000..4231d0cccb3 --- /dev/null +++ b/hr_employee_phone_extension/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/hr_employee_phone_extension/readme/CONTRIBUTORS.md b/hr_employee_phone_extension/readme/CONTRIBUTORS.md new file mode 100644 index 00000000000..29b3de3cc95 --- /dev/null +++ b/hr_employee_phone_extension/readme/CONTRIBUTORS.md @@ -0,0 +1,10 @@ +- Sandy Carter \<\> +- El Hadji Dem \<\> +- Vincent Renaville \<\> +- Charbel Jacquin \<\> +- Denis Leemann \<\> +- Serpent Consulting Services Pvt. Ltd.\<\> +- Anand Kansagra \<\> +- Saran Lim. \<\> +- aphon61bank \<\> +- Manish Bohra \<\> diff --git a/hr_employee_phone_extension/readme/DESCRIPTION.md b/hr_employee_phone_extension/readme/DESCRIPTION.md new file mode 100644 index 00000000000..59d54e92c75 --- /dev/null +++ b/hr_employee_phone_extension/readme/DESCRIPTION.md @@ -0,0 +1,4 @@ +This module adds the following to employees : + +- Internal Number +- Short Number diff --git a/hr_employee_phone_extension/readme/INSTALL.md b/hr_employee_phone_extension/readme/INSTALL.md new file mode 100644 index 00000000000..c74463ea50f --- /dev/null +++ b/hr_employee_phone_extension/readme/INSTALL.md @@ -0,0 +1,7 @@ +To install this module, you need to: + +- Clone the branch 12.0 of the repository +- 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.md b/hr_employee_phone_extension/readme/USAGE.md new file mode 100644 index 00000000000..eecbf99bf8c --- /dev/null +++ b/hr_employee_phone_extension/readme/USAGE.md @@ -0,0 +1,2 @@ +On the employee form view you will have 2 separate fields, one for +Internal Number, second for Short Number, both optional. 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 00000000000..3a0328b516c Binary files /dev/null and b/hr_employee_phone_extension/static/description/icon.png differ 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..41c5457b83a --- /dev/null +++ b/hr_employee_phone_extension/static/description/index.html @@ -0,0 +1,451 @@ + + + + + + +Employee Phone Extension + + + +
+

Employee Phone Extension

+ + +

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

+

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.

+
+
+

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 to smash 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 new file mode 100644 index 00000000000..0496d0f50c6 --- /dev/null +++ b/hr_employee_phone_extension/views/hr_employee_view.xml @@ -0,0 +1,17 @@ + + + + + view.employee.form + hr.employee + + +
+ + + + +
+
+
+