diff --git a/hr_employee_relative/README.rst b/hr_employee_relative/README.rst new file mode 100644 index 00000000000..703bb6877d7 --- /dev/null +++ b/hr_employee_relative/README.rst @@ -0,0 +1,88 @@ +===================== +HR Employee Relatives +===================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:9978b31df0e194b808faaadf77e51a1ccdea14914c5164002db25d4a940c7b1a + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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_relative + :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_relative + :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 allows storing information about employee's family. + +**Table of contents** + +.. contents:: + :local: + +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 +------- + +* CorporateHub + +Contributors +------------ + +- `CorporateHub `__ + + - Alexey Pelykh + +- Saran Lim. +- Nattapong W. +- Alberto Nieto de Pablos + (https://braintec.com) + +- `APSL-Nagarro `__: + + - Patryk Pyczko ppyczko@apsl.net + - Bernat Obrador bobrador@apsl.net + +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_relative/__init__.py b/hr_employee_relative/__init__.py new file mode 100644 index 00000000000..4b76c7b2d5c --- /dev/null +++ b/hr_employee_relative/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). + +from . import models diff --git a/hr_employee_relative/__manifest__.py b/hr_employee_relative/__manifest__.py new file mode 100644 index 00000000000..aeeb32dbc1d --- /dev/null +++ b/hr_employee_relative/__manifest__.py @@ -0,0 +1,23 @@ +# Copyright (C) 2018 Brainbean Apps (https://brainbeanapps.com) +# Copyright 2020 CorporateHub (https://corporatehub.eu) +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). + +{ + "name": "HR Employee Relatives", + "version": "17.0.1.0.0", + "category": "Human Resources", + "website": "https://github.com/OCA/hr", + "author": "CorporateHub, Odoo Community Association (OCA)", + "license": "AGPL-3", + "installable": True, + "application": False, + "summary": "Allows storing information about employee's family", + "depends": ["hr"], + "external_dependencies": {"python": ["dateutil"]}, + "data": [ + "data/data_relative_relation.xml", + "security/ir.model.access.csv", + "views/hr_employee.xml", + "views/hr_employee_relative.xml", + ], +} diff --git a/hr_employee_relative/data/data_relative_relation.xml b/hr_employee_relative/data/data_relative_relation.xml new file mode 100644 index 00000000000..ef84f60357c --- /dev/null +++ b/hr_employee_relative/data/data_relative_relation.xml @@ -0,0 +1,32 @@ + + + + + + Spouse + + + Significant Other + + + Child + + + Parent + + + Sibling + + + Cousin + + + Grandparent + + + Grandchild + + diff --git a/hr_employee_relative/i18n/de.po b/hr_employee_relative/i18n/de.po new file mode 100644 index 00000000000..f758b8e11af --- /dev/null +++ b/hr_employee_relative/i18n/de.po @@ -0,0 +1,192 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_employee_relative +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2022-05-11 13:05+0000\n" +"Last-Translator: Maria Sparenberg \n" +"Language-Team: none\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_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__age +msgid "Age" +msgstr "Alter" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_child +msgid "Child" +msgstr "Kind" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_cousin +msgid "Cousin" +msgstr "Cousin(e)" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__create_uid +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__create_uid +msgid "Created by" +msgstr "Erstellt von" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__create_date +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__create_date +msgid "Created on" +msgstr "Erstellt am" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__date_of_birth +msgid "Date Of Birth" +msgstr "" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__display_name +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__display_name +msgid "Display Name" +msgstr "Anzeigename" + +#. module: hr_employee_relative +#: model:ir.model,name:hr_employee_relative.model_hr_employee +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__employee_id +msgid "Employee" +msgstr "Mitarbeiter" + +#. module: hr_employee_relative +#: model:ir.model.fields.selection,name:hr_employee_relative.selection__hr_employee_relative__gender__female +msgid "Female" +msgstr "Weiblich" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__gender +msgid "Gender" +msgstr "Geschlecht" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_grandchild +msgid "Grandchild" +msgstr "Enkel(in)" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_grandparent +msgid "Grandparent" +msgstr "Großeltern" + +#. module: hr_employee_relative +#: model:ir.model,name:hr_employee_relative.model_hr_employee_relative +msgid "HR Employee Relative" +msgstr "HR Mitarbeiter-Verwandschaft" + +#. module: hr_employee_relative +#: model:ir.model,name:hr_employee_relative.model_hr_employee_relative_relation +msgid "HR Employee Relative Relation" +msgstr "HR Mitarbeiter-Verwandschaft-Relation" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__id +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__id +msgid "ID" +msgstr "ID" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__job +msgid "Job" +msgstr "Job" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative____last_update +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation____last_update +msgid "Last Modified on" +msgstr "Zuletzt geändert am" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__write_uid +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__write_uid +msgid "Last Updated by" +msgstr "Zuletzt aktualisiert von" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__write_date +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__write_date +msgid "Last Updated on" +msgstr "Zuletzt aktualisiert am" + +#. module: hr_employee_relative +#: model:ir.model.fields.selection,name:hr_employee_relative.selection__hr_employee_relative__gender__male +msgid "Male" +msgstr "Männlich" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__name +msgid "Name" +msgstr "Name" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__notes +msgid "Notes" +msgstr "Notizen" + +#. module: hr_employee_relative +#: model:ir.model.fields.selection,name:hr_employee_relative.selection__hr_employee_relative__gender__other +msgid "Other" +msgstr "Anderes" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_parent +msgid "Parent" +msgstr "Eltern" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__partner_id +msgid "Partner" +msgstr "Partner" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__phone_number +msgid "Phone Number" +msgstr "Telefon" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__relation_id +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__name +msgid "Relation" +msgstr "" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee__relative_ids +msgid "Relative" +msgstr "" + +#. module: hr_employee_relative +#: model_terms:ir.ui.view,arch_db:hr_employee_relative.hr_employee_view_form +msgid "Relatives" +msgstr "Verwandschaft" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_sibling +msgid "Sibling" +msgstr "Geschwister" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_significant_other +msgid "Significant Other" +msgstr "" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_spouse +msgid "Spouse" +msgstr "Ehepartner" + +#~ msgid "Date of Birth" +#~ msgstr "Geburtsdatum" + +#~ msgid "Employee Relatives" +#~ msgstr "Mitarbeiter-Verwandschaft" diff --git a/hr_employee_relative/i18n/es.po b/hr_employee_relative/i18n/es.po new file mode 100644 index 00000000000..eafc80c8b05 --- /dev/null +++ b/hr_employee_relative/i18n/es.po @@ -0,0 +1,192 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_employee_relative +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-08-03 21:10+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: none\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_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__age +msgid "Age" +msgstr "Edad" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_child +msgid "Child" +msgstr "Hijo(a)" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_cousin +msgid "Cousin" +msgstr "Primo(a)" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__create_uid +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__create_uid +msgid "Created by" +msgstr "Creado por" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__create_date +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__create_date +msgid "Created on" +msgstr "Creado en" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__date_of_birth +msgid "Date Of Birth" +msgstr "Fecha de nacimiento" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__display_name +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__display_name +msgid "Display Name" +msgstr "Nombre a mostrar" + +#. module: hr_employee_relative +#: model:ir.model,name:hr_employee_relative.model_hr_employee +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__employee_id +msgid "Employee" +msgstr "Empleado" + +#. module: hr_employee_relative +#: model:ir.model.fields.selection,name:hr_employee_relative.selection__hr_employee_relative__gender__female +msgid "Female" +msgstr "Femenino" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__gender +msgid "Gender" +msgstr "Sexo" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_grandchild +msgid "Grandchild" +msgstr "Nieto(a)" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_grandparent +msgid "Grandparent" +msgstr "Abuelo(a)" + +#. module: hr_employee_relative +#: model:ir.model,name:hr_employee_relative.model_hr_employee_relative +msgid "HR Employee Relative" +msgstr "RRHH Parientes de Empleados" + +#. module: hr_employee_relative +#: model:ir.model,name:hr_employee_relative.model_hr_employee_relative_relation +msgid "HR Employee Relative Relation" +msgstr "RRHH Relación de Pariente de Empleado" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__id +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__id +msgid "ID" +msgstr "ID" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__job +msgid "Job" +msgstr "Profesión" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative____last_update +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation____last_update +msgid "Last Modified on" +msgstr "Última modificación el" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__write_uid +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__write_uid +msgid "Last Updated by" +msgstr "Última actualización por" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__write_date +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__write_date +msgid "Last Updated on" +msgstr "Última actualización el" + +#. module: hr_employee_relative +#: model:ir.model.fields.selection,name:hr_employee_relative.selection__hr_employee_relative__gender__male +msgid "Male" +msgstr "Masculino" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__name +msgid "Name" +msgstr "Nombre" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__notes +msgid "Notes" +msgstr "Notas" + +#. module: hr_employee_relative +#: model:ir.model.fields.selection,name:hr_employee_relative.selection__hr_employee_relative__gender__other +msgid "Other" +msgstr "Otro" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_parent +msgid "Parent" +msgstr "Padre" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__partner_id +msgid "Partner" +msgstr "Contacto" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__phone_number +msgid "Phone Number" +msgstr "Teléfono" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__relation_id +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__name +msgid "Relation" +msgstr "Parentesco" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee__relative_ids +msgid "Relative" +msgstr "Relativo" + +#. module: hr_employee_relative +#: model_terms:ir.ui.view,arch_db:hr_employee_relative.hr_employee_view_form +msgid "Relatives" +msgstr "Parientes" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_sibling +msgid "Sibling" +msgstr "Hermano(a)" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_significant_other +msgid "Significant Other" +msgstr "Pareja" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_spouse +msgid "Spouse" +msgstr "Cónyugue" + +#~ msgid "Date of Birth" +#~ msgstr "Fecha de nacimiento" + +#~ msgid "Employee Relatives" +#~ msgstr "Parientes de Empleados" diff --git a/hr_employee_relative/i18n/fr.po b/hr_employee_relative/i18n/fr.po new file mode 100644 index 00000000000..463dcb435af --- /dev/null +++ b/hr_employee_relative/i18n/fr.po @@ -0,0 +1,192 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_employee_relative +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-02-23 10:46+0000\n" +"Last-Translator: Vincent Hatakeyama \n" +"Language-Team: none\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" +"X-Generator: Weblate 4.17\n" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__age +msgid "Age" +msgstr "Âge" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_child +msgid "Child" +msgstr "Enfant" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_cousin +msgid "Cousin" +msgstr "Cousin(e)" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__create_uid +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__create_uid +msgid "Created by" +msgstr "Créé par" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__create_date +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__create_date +msgid "Created on" +msgstr "Créé le" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__date_of_birth +msgid "Date Of Birth" +msgstr "Date de naissance" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__display_name +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__display_name +msgid "Display Name" +msgstr "Nom affiché" + +#. module: hr_employee_relative +#: model:ir.model,name:hr_employee_relative.model_hr_employee +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__employee_id +msgid "Employee" +msgstr "Employé" + +#. module: hr_employee_relative +#: model:ir.model.fields.selection,name:hr_employee_relative.selection__hr_employee_relative__gender__female +msgid "Female" +msgstr "Féminin" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__gender +msgid "Gender" +msgstr "Genre" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_grandchild +msgid "Grandchild" +msgstr "Petit-enfant" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_grandparent +msgid "Grandparent" +msgstr "Grand-parent" + +#. module: hr_employee_relative +#: model:ir.model,name:hr_employee_relative.model_hr_employee_relative +msgid "HR Employee Relative" +msgstr "Proche d’un employé" + +#. module: hr_employee_relative +#: model:ir.model,name:hr_employee_relative.model_hr_employee_relative_relation +msgid "HR Employee Relative Relation" +msgstr "Relation d’un proche d’employé" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__id +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__id +msgid "ID" +msgstr "ID" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__job +msgid "Job" +msgstr "Métier" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative____last_update +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation____last_update +msgid "Last Modified on" +msgstr "Dernière modification le" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__write_uid +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__write_uid +msgid "Last Updated by" +msgstr "Dernière mise à jour par" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__write_date +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__write_date +msgid "Last Updated on" +msgstr "Dernière mise à jour le" + +#. module: hr_employee_relative +#: model:ir.model.fields.selection,name:hr_employee_relative.selection__hr_employee_relative__gender__male +msgid "Male" +msgstr "Masculin" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__name +msgid "Name" +msgstr "Nom" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__notes +msgid "Notes" +msgstr "Notes" + +#. module: hr_employee_relative +#: model:ir.model.fields.selection,name:hr_employee_relative.selection__hr_employee_relative__gender__other +msgid "Other" +msgstr "Autre" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_parent +msgid "Parent" +msgstr "Parent" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__partner_id +msgid "Partner" +msgstr "Partenaire" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__phone_number +msgid "Phone Number" +msgstr "Numéro de téléphone" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__relation_id +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__name +msgid "Relation" +msgstr "Relation" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee__relative_ids +msgid "Relative" +msgstr "Proche" + +#. module: hr_employee_relative +#: model_terms:ir.ui.view,arch_db:hr_employee_relative.hr_employee_view_form +msgid "Relatives" +msgstr "Proches" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_sibling +msgid "Sibling" +msgstr "Frère/Soeur" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_significant_other +msgid "Significant Other" +msgstr "Autre" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_spouse +msgid "Spouse" +msgstr "Époux / Épouse" + +#~ msgid "Date of Birth" +#~ msgstr "Date de naissance" + +#~ msgid "Employee Relatives" +#~ msgstr "Proches" diff --git a/hr_employee_relative/i18n/hr.po b/hr_employee_relative/i18n/hr.po new file mode 100644 index 00000000000..6f272179d3e --- /dev/null +++ b/hr_employee_relative/i18n/hr.po @@ -0,0 +1,193 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_employee_relative +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2019-11-18 14:34+0000\n" +"Last-Translator: Bole \n" +"Language-Team: none\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" +"X-Generator: Weblate 3.8\n" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__age +msgid "Age" +msgstr "Dob" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_child +msgid "Child" +msgstr "Djete" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_cousin +msgid "Cousin" +msgstr "Rođak" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__create_uid +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__create_uid +msgid "Created by" +msgstr "Kreirao" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__create_date +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__create_date +msgid "Created on" +msgstr "Kreirano" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__date_of_birth +msgid "Date Of Birth" +msgstr "" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__display_name +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__display_name +msgid "Display Name" +msgstr "Naziv" + +#. module: hr_employee_relative +#: model:ir.model,name:hr_employee_relative.model_hr_employee +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__employee_id +msgid "Employee" +msgstr "Djelatnik" + +#. module: hr_employee_relative +#: model:ir.model.fields.selection,name:hr_employee_relative.selection__hr_employee_relative__gender__female +msgid "Female" +msgstr "Žensko" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__gender +msgid "Gender" +msgstr "Spol" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_grandchild +msgid "Grandchild" +msgstr "Unuk" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_grandparent +msgid "Grandparent" +msgstr "Pra roditelj" + +#. module: hr_employee_relative +#: model:ir.model,name:hr_employee_relative.model_hr_employee_relative +msgid "HR Employee Relative" +msgstr "Rodbina djelatnika" + +#. module: hr_employee_relative +#: model:ir.model,name:hr_employee_relative.model_hr_employee_relative_relation +msgid "HR Employee Relative Relation" +msgstr "" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__id +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__id +msgid "ID" +msgstr "" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__job +msgid "Job" +msgstr "" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative____last_update +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation____last_update +msgid "Last Modified on" +msgstr "" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__write_uid +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__write_date +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__write_date +msgid "Last Updated on" +msgstr "" + +#. module: hr_employee_relative +#: model:ir.model.fields.selection,name:hr_employee_relative.selection__hr_employee_relative__gender__male +msgid "Male" +msgstr "" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__name +msgid "Name" +msgstr "" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__notes +msgid "Notes" +msgstr "" + +#. module: hr_employee_relative +#: model:ir.model.fields.selection,name:hr_employee_relative.selection__hr_employee_relative__gender__other +msgid "Other" +msgstr "" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_parent +msgid "Parent" +msgstr "" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__partner_id +msgid "Partner" +msgstr "" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__phone_number +msgid "Phone Number" +msgstr "" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__relation_id +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__name +msgid "Relation" +msgstr "" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee__relative_ids +msgid "Relative" +msgstr "" + +#. module: hr_employee_relative +#: model_terms:ir.ui.view,arch_db:hr_employee_relative.hr_employee_view_form +msgid "Relatives" +msgstr "" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_sibling +msgid "Sibling" +msgstr "" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_significant_other +msgid "Significant Other" +msgstr "" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_spouse +msgid "Spouse" +msgstr "" + +#~ msgid "Date of Birth" +#~ msgstr "Datum rođenja" + +#~ msgid "Employee Relatives" +#~ msgstr "Rodbina djelatnika" diff --git a/hr_employee_relative/i18n/hr_employee_relative.pot b/hr_employee_relative/i18n/hr_employee_relative.pot new file mode 100644 index 00000000000..c9e54bb0f8a --- /dev/null +++ b/hr_employee_relative/i18n/hr_employee_relative.pot @@ -0,0 +1,183 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_employee_relative +# +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_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__age +msgid "Age" +msgstr "" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_child +msgid "Child" +msgstr "" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_cousin +msgid "Cousin" +msgstr "" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__create_uid +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__create_uid +msgid "Created by" +msgstr "" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__create_date +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__create_date +msgid "Created on" +msgstr "" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__date_of_birth +msgid "Date Of Birth" +msgstr "" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__display_name +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__display_name +msgid "Display Name" +msgstr "" + +#. module: hr_employee_relative +#: model:ir.model,name:hr_employee_relative.model_hr_employee +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__employee_id +msgid "Employee" +msgstr "" + +#. module: hr_employee_relative +#: model:ir.model.fields.selection,name:hr_employee_relative.selection__hr_employee_relative__gender__female +msgid "Female" +msgstr "" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__gender +msgid "Gender" +msgstr "" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_grandchild +msgid "Grandchild" +msgstr "" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_grandparent +msgid "Grandparent" +msgstr "" + +#. module: hr_employee_relative +#: model:ir.model,name:hr_employee_relative.model_hr_employee_relative +msgid "HR Employee Relative" +msgstr "" + +#. module: hr_employee_relative +#: model:ir.model,name:hr_employee_relative.model_hr_employee_relative_relation +msgid "HR Employee Relative Relation" +msgstr "" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__id +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__id +msgid "ID" +msgstr "" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__job +msgid "Job" +msgstr "" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative____last_update +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation____last_update +msgid "Last Modified on" +msgstr "" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__write_uid +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__write_date +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__write_date +msgid "Last Updated on" +msgstr "" + +#. module: hr_employee_relative +#: model:ir.model.fields.selection,name:hr_employee_relative.selection__hr_employee_relative__gender__male +msgid "Male" +msgstr "" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__name +msgid "Name" +msgstr "" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__notes +msgid "Notes" +msgstr "" + +#. module: hr_employee_relative +#: model:ir.model.fields.selection,name:hr_employee_relative.selection__hr_employee_relative__gender__other +msgid "Other" +msgstr "" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_parent +msgid "Parent" +msgstr "" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__partner_id +msgid "Partner" +msgstr "" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__phone_number +msgid "Phone Number" +msgstr "" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__relation_id +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__name +msgid "Relation" +msgstr "" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee__relative_ids +msgid "Relative" +msgstr "" + +#. module: hr_employee_relative +#: model_terms:ir.ui.view,arch_db:hr_employee_relative.hr_employee_view_form +msgid "Relatives" +msgstr "" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_sibling +msgid "Sibling" +msgstr "" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_significant_other +msgid "Significant Other" +msgstr "" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_spouse +msgid "Spouse" +msgstr "" diff --git a/hr_employee_relative/i18n/it.po b/hr_employee_relative/i18n/it.po new file mode 100644 index 00000000000..a92cd178143 --- /dev/null +++ b/hr_employee_relative/i18n/it.po @@ -0,0 +1,186 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_employee_relative +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-05-30 09:10+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\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_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__age +msgid "Age" +msgstr "Età" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_child +msgid "Child" +msgstr "Figlio" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_cousin +msgid "Cousin" +msgstr "Cugino" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__create_uid +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__create_uid +msgid "Created by" +msgstr "Creato da" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__create_date +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__create_date +msgid "Created on" +msgstr "Creato il" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__date_of_birth +msgid "Date Of Birth" +msgstr "Data di nascita" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__display_name +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__display_name +msgid "Display Name" +msgstr "Nome visualizzato" + +#. module: hr_employee_relative +#: model:ir.model,name:hr_employee_relative.model_hr_employee +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__employee_id +msgid "Employee" +msgstr "Dipendente" + +#. module: hr_employee_relative +#: model:ir.model.fields.selection,name:hr_employee_relative.selection__hr_employee_relative__gender__female +msgid "Female" +msgstr "Femmina" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__gender +msgid "Gender" +msgstr "Genere" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_grandchild +msgid "Grandchild" +msgstr "Nipote" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_grandparent +msgid "Grandparent" +msgstr "Nonno" + +#. module: hr_employee_relative +#: model:ir.model,name:hr_employee_relative.model_hr_employee_relative +msgid "HR Employee Relative" +msgstr "Parente dipendente RU" + +#. module: hr_employee_relative +#: model:ir.model,name:hr_employee_relative.model_hr_employee_relative_relation +msgid "HR Employee Relative Relation" +msgstr "Relazione parente dipendente RU" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__id +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__id +msgid "ID" +msgstr "ID" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__job +msgid "Job" +msgstr "Lavoro" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative____last_update +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation____last_update +msgid "Last Modified on" +msgstr "Ultima modifica il" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__write_uid +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__write_uid +msgid "Last Updated by" +msgstr "Ultimo aggiornamento di" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__write_date +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__write_date +msgid "Last Updated on" +msgstr "Ultimo aggiornamento il" + +#. module: hr_employee_relative +#: model:ir.model.fields.selection,name:hr_employee_relative.selection__hr_employee_relative__gender__male +msgid "Male" +msgstr "Maschio" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__name +msgid "Name" +msgstr "Nome" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__notes +msgid "Notes" +msgstr "Note" + +#. module: hr_employee_relative +#: model:ir.model.fields.selection,name:hr_employee_relative.selection__hr_employee_relative__gender__other +msgid "Other" +msgstr "Altro" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_parent +msgid "Parent" +msgstr "Padre" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__partner_id +msgid "Partner" +msgstr "Partner" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__phone_number +msgid "Phone Number" +msgstr "Numero di telefono" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__relation_id +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__name +msgid "Relation" +msgstr "Relazione" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee__relative_ids +msgid "Relative" +msgstr "Parente" + +#. module: hr_employee_relative +#: model_terms:ir.ui.view,arch_db:hr_employee_relative.hr_employee_view_form +msgid "Relatives" +msgstr "Parenti" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_sibling +msgid "Sibling" +msgstr "Fratello" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_significant_other +msgid "Significant Other" +msgstr "Altri importanti" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_spouse +msgid "Spouse" +msgstr "Moglie" diff --git a/hr_employee_relative/i18n/pt_BR.po b/hr_employee_relative/i18n/pt_BR.po new file mode 100644 index 00000000000..5b99c7c39b1 --- /dev/null +++ b/hr_employee_relative/i18n/pt_BR.po @@ -0,0 +1,193 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_employee_relative +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-05-21 06:16+0000\n" +"Last-Translator: Rodrigo Macedo \n" +"Language-Team: none\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 4.17\n" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__age +msgid "Age" +msgstr "Idade" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_child +msgid "Child" +msgstr "Criança" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_cousin +msgid "Cousin" +msgstr "Primo" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__create_uid +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__create_uid +msgid "Created by" +msgstr "Criado por" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__create_date +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__create_date +msgid "Created on" +msgstr "Criado em" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__date_of_birth +msgid "Date Of Birth" +msgstr "Data de nascimento" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__display_name +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__display_name +msgid "Display Name" +msgstr "Nome de Exibição" + +#. module: hr_employee_relative +#: model:ir.model,name:hr_employee_relative.model_hr_employee +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__employee_id +msgid "Employee" +msgstr "Funcionário" + +#. module: hr_employee_relative +#: model:ir.model.fields.selection,name:hr_employee_relative.selection__hr_employee_relative__gender__female +msgid "Female" +msgstr "Feminino" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__gender +msgid "Gender" +msgstr "Gênero" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_grandchild +msgid "Grandchild" +msgstr "Neto(a)" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_grandparent +msgid "Grandparent" +msgstr "Avô" + +#. module: hr_employee_relative +#: model:ir.model,name:hr_employee_relative.model_hr_employee_relative +msgid "HR Employee Relative" +msgstr "Parentes de Funcionário" + +#. module: hr_employee_relative +#: model:ir.model,name:hr_employee_relative.model_hr_employee_relative_relation +msgid "HR Employee Relative Relation" +msgstr "Relação de Parentesco de Funcionário" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__id +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__id +msgid "ID" +msgstr "ID" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__job +msgid "Job" +msgstr "Trabalho" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative____last_update +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation____last_update +msgid "Last Modified on" +msgstr "Última Modificação em" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__write_uid +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__write_uid +msgid "Last Updated by" +msgstr "Última Atualização por" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__write_date +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__write_date +msgid "Last Updated on" +msgstr "Última Atualização em" + +#. module: hr_employee_relative +#: model:ir.model.fields.selection,name:hr_employee_relative.selection__hr_employee_relative__gender__male +msgid "Male" +msgstr "Masculino" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__name +msgid "Name" +msgstr "Nome" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__notes +msgid "Notes" +msgstr "Observações" + +#. module: hr_employee_relative +#: model:ir.model.fields.selection,name:hr_employee_relative.selection__hr_employee_relative__gender__other +msgid "Other" +msgstr "Outro" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_parent +msgid "Parent" +msgstr "Parente" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__partner_id +msgid "Partner" +msgstr "Parceiro" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__phone_number +msgid "Phone Number" +msgstr "Número de Telefone" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative__relation_id +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee_relative_relation__name +msgid "Relation" +msgstr "Relação" + +#. module: hr_employee_relative +#: model:ir.model.fields,field_description:hr_employee_relative.field_hr_employee__relative_ids +msgid "Relative" +msgstr "Relativo" + +#. module: hr_employee_relative +#: model_terms:ir.ui.view,arch_db:hr_employee_relative.hr_employee_view_form +msgid "Relatives" +msgstr "Parentes" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_sibling +msgid "Sibling" +msgstr "Irmão" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_significant_other +msgid "Significant Other" +msgstr "Outro Significativo" + +#. module: hr_employee_relative +#: model:hr.employee.relative.relation,name:hr_employee_relative.relation_spouse +msgid "Spouse" +msgstr "Cônjuge" + +#~ msgid "Date of Birth" +#~ msgstr "Data de Nascimento" + +#~ msgid "Employee Relatives" +#~ msgstr "Parentes do Funcionário" diff --git a/hr_employee_relative/models/__init__.py b/hr_employee_relative/models/__init__.py new file mode 100644 index 00000000000..7cf9f205495 --- /dev/null +++ b/hr_employee_relative/models/__init__.py @@ -0,0 +1,5 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). + +from . import hr_employee +from . import hr_employee_relative +from . import hr_employee_relative_relation diff --git a/hr_employee_relative/models/hr_employee.py b/hr_employee_relative/models/hr_employee.py new file mode 100644 index 00000000000..479686a5b9b --- /dev/null +++ b/hr_employee_relative/models/hr_employee.py @@ -0,0 +1,13 @@ +# Copyright (C) 2018 Brainbean Apps (https://brainbeanapps.com) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import fields, models + + +class HrEmployee(models.Model): + _inherit = "hr.employee" + + relative_ids = fields.One2many( + comodel_name="hr.employee.relative", + inverse_name="employee_id", + ) diff --git a/hr_employee_relative/models/hr_employee_relative.py b/hr_employee_relative/models/hr_employee_relative.py new file mode 100644 index 00000000000..f7258bfde55 --- /dev/null +++ b/hr_employee_relative/models/hr_employee_relative.py @@ -0,0 +1,51 @@ +# Copyright (C) 2018 Brainbean Apps (https://brainbeanapps.com) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from datetime import datetime + +from dateutil.relativedelta import relativedelta + +from odoo import api, fields, models + + +class HrEmployeeRelative(models.Model): + _name = "hr.employee.relative" + _description = "HR Employee Relative" + + employee_id = fields.Many2one(comodel_name="hr.employee") + relation_id = fields.Many2one("hr.employee.relative.relation", required=True) + name = fields.Char(required=True) + partner_id = fields.Many2one( + "res.partner", + domain=["&", ("is_company", "=", False), ("type", "=", "contact")], + ) + gender = fields.Selection( + selection=[("male", "Male"), ("female", "Female"), ("other", "Other")], + ) + date_of_birth = fields.Date() + age_year = fields.Integer(string="Age (Years)", compute="_compute_age") + age_month = fields.Integer(string="Age (Months)") + age_day = fields.Integer(string="Age (Days)") + + job = fields.Char() + phone_number = fields.Char() + + notes = fields.Text() + + @api.depends("date_of_birth") + def _compute_age(self): + for record in self: + if record.date_of_birth: + age = relativedelta(datetime.now(), record.date_of_birth) + record.age_year = age.years + record.age_month = age.months + record.age_day = age.days + else: + record.age_year = 0 + record.age_month = 0 + record.age_day = 0 + + @api.onchange("partner_id") + def _onchange_partner_id(self): + if self.partner_id: + self.name = self.partner_id.display_name diff --git a/hr_employee_relative/models/hr_employee_relative_relation.py b/hr_employee_relative/models/hr_employee_relative_relation.py new file mode 100644 index 00000000000..60137215549 --- /dev/null +++ b/hr_employee_relative/models/hr_employee_relative_relation.py @@ -0,0 +1,11 @@ +# Copyright (C) 2018 Brainbean Apps (https://brainbeanapps.com) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import fields, models + + +class HrEmployeeRelativeRelation(models.Model): + _name = "hr.employee.relative.relation" + _description = "HR Employee Relative Relation" + + name = fields.Char(string="Relation", required=True, translate=True) diff --git a/hr_employee_relative/pyproject.toml b/hr_employee_relative/pyproject.toml new file mode 100644 index 00000000000..4231d0cccb3 --- /dev/null +++ b/hr_employee_relative/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/hr_employee_relative/readme/CONTRIBUTORS.md b/hr_employee_relative/readme/CONTRIBUTORS.md new file mode 100644 index 00000000000..fb20a5a7816 --- /dev/null +++ b/hr_employee_relative/readme/CONTRIBUTORS.md @@ -0,0 +1,9 @@ +- [CorporateHub](https://corporatehub.eu/) + - Alexey Pelykh \<\> +- Saran Lim. \<\> +- Nattapong W. \<\> +- Alberto Nieto de Pablos \<\> + () +* [APSL-Nagarro](): + * Patryk Pyczko + * Bernat Obrador \ No newline at end of file diff --git a/hr_employee_relative/readme/DESCRIPTION.md b/hr_employee_relative/readme/DESCRIPTION.md new file mode 100644 index 00000000000..295727acd1a --- /dev/null +++ b/hr_employee_relative/readme/DESCRIPTION.md @@ -0,0 +1 @@ +This module allows storing information about employee's family. diff --git a/hr_employee_relative/security/ir.model.access.csv b/hr_employee_relative/security/ir.model.access.csv new file mode 100644 index 00000000000..95541868a5e --- /dev/null +++ b/hr_employee_relative/security/ir.model.access.csv @@ -0,0 +1,5 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_hr_employee_relative_employee,hr.employee.relative,model_hr_employee_relative,base.group_user,1,0,0,0 +access_hr_employee_relative_user,hr.employee.relative,model_hr_employee_relative,hr.group_hr_manager,1,1,1,1 +access_hr_employee_relative_relation_employee,hr.employee.relative.relation,model_hr_employee_relative_relation,base.group_user,1,0,0,0 +access_hr_employee_relative_relation_user,hr.employee.relative.relation,model_hr_employee_relative_relation,hr.group_hr_manager,1,1,1,1 diff --git a/hr_employee_relative/static/description/icon.png b/hr_employee_relative/static/description/icon.png new file mode 100644 index 00000000000..3a0328b516c Binary files /dev/null and b/hr_employee_relative/static/description/icon.png differ diff --git a/hr_employee_relative/static/description/index.html b/hr_employee_relative/static/description/index.html new file mode 100644 index 00000000000..518ade97ea9 --- /dev/null +++ b/hr_employee_relative/static/description/index.html @@ -0,0 +1,435 @@ + + + + + +HR Employee Relatives + + + +
+

HR Employee Relatives

+ + +

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

+

This module allows storing information about employee’s family.

+

Table of contents

+ +
+

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

+
    +
  • CorporateHub
  • +
+
+
+

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_relative/tests/__init__.py b/hr_employee_relative/tests/__init__.py new file mode 100644 index 00000000000..5cda1739c90 --- /dev/null +++ b/hr_employee_relative/tests/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). + +from . import test_hr_employee_relatives diff --git a/hr_employee_relative/tests/test_hr_employee_relatives.py b/hr_employee_relative/tests/test_hr_employee_relatives.py new file mode 100644 index 00000000000..9f6ab78923e --- /dev/null +++ b/hr_employee_relative/tests/test_hr_employee_relatives.py @@ -0,0 +1,64 @@ +# Copyright (C) 2018 Brainbean Apps (https://brainbeanapps.com) +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). + +from datetime import datetime + +from dateutil.relativedelta import relativedelta + +from odoo.tests import Form, common + + +class TestHrEmployeeRelatives(common.TransactionCase): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.Employee = cls.env["hr.employee"] + cls.EmployeeRelative = cls.env["hr.employee.relative"] + cls.relation_sibling = cls.env.ref("hr_employee_relative.relation_sibling") + cls.partner_1 = cls.env.ref("base.res_partner_1") + cls.partner_2 = cls.env.ref("base.res_partner_2") + + def create_relative(self, dob): + employee = self.Employee.create( + { + "name": "Employee", + "relative_ids": [ + ( + 0, + 0, + { + "relation_id": self.relation_sibling.id, + "partner_id": self.partner_1.id, + "name": "Relative", + "date_of_birth": dob, + }, + ) + ], + } + ) + return self.EmployeeRelative.browse(employee.relative_ids[0].id) + + def test_age_calculation_with_dob(self): + dob = datetime.now() + relativedelta(years=-42, months=-3, days=-15) + relative = self.create_relative(dob) + + expected_age = relativedelta(datetime.now(), dob) + + self.assertEqual(relative.age_year, expected_age.years) + self.assertEqual(relative.age_month, expected_age.months) + self.assertEqual(relative.age_day, expected_age.days) + self.assertEqual(relative.name, "Relative") + + # Test onchange partner + with Form(relative) as f: + f.partner_id = self.partner_2 + f.relation_id = self.relation_sibling + self.assertEqual(relative.name, relative.partner_id.display_name) + + def test_age_calculation_without_dob(self): + relative = self.create_relative(False) + + self.assertEqual(relative.age_year, 0) + self.assertEqual(relative.age_month, 0) + self.assertEqual(relative.age_day, 0) + self.assertEqual(relative.name, "Relative") diff --git a/hr_employee_relative/views/hr_employee.xml b/hr_employee_relative/views/hr_employee.xml new file mode 100644 index 00000000000..5c4be168d22 --- /dev/null +++ b/hr_employee_relative/views/hr_employee.xml @@ -0,0 +1,28 @@ + + + + + hr.employee.view.form.inherit.relatives + hr.employee + + + + 1 + + + 1 + + + 1 + + + + + + + + + diff --git a/hr_employee_relative/views/hr_employee_relative.xml b/hr_employee_relative/views/hr_employee_relative.xml new file mode 100644 index 00000000000..c009c79450a --- /dev/null +++ b/hr_employee_relative/views/hr_employee_relative.xml @@ -0,0 +1,26 @@ + + + + + hr.employee.relative.view.tree + hr.employee.relative + + + + + + + + + + + + + + + + + diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 00000000000..7d41f1be0f9 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +# generated from manifests external_dependencies +python-dateutil