From 791083d39e356da9f0f5b85c99429dbeec190dad Mon Sep 17 00:00:00 2001 From: Jaime Arroyo Date: Thu, 25 Jul 2019 16:44:56 +0200 Subject: [PATCH 01/39] [11.0][ADD] hr_employee_medical_examination --- hr_employee_medical_examination/README.rst | 91 ++++ hr_employee_medical_examination/__init__.py | 2 + .../__manifest__.py | 22 + hr_employee_medical_examination/i18n/es.po | 220 +++++++++ .../i18n/hr_employee_medical_examination.pot | 218 +++++++++ .../models/__init__.py | 2 + .../models/hr_employee.py | 37 ++ .../models/hr_employee_medical_examination.py | 42 ++ .../readme/CONTRIBUTORS.rst | 1 + .../readme/DESCRIPTION.rst | 1 + .../readme/USAGE.rst | 14 + ..._employee_medical_examination_security.xml | 17 + .../security/ir.model.access.csv | 3 + .../static/description/icon.png | Bin 0 -> 9455 bytes .../static/description/index.html | 436 ++++++++++++++++++ .../tests/__init__.py | 1 + .../test_hr_employee_medical_examination.py | 52 +++ .../hr_employee_medical_examination_views.xml | 93 ++++ .../views/hr_employee_views.xml | 35 ++ .../wizards/__init__.py | 1 + .../wizard_generate_medical_examination.py | 71 +++ .../wizard_generate_medical_examination.xml | 68 +++ 22 files changed, 1427 insertions(+) create mode 100644 hr_employee_medical_examination/README.rst create mode 100644 hr_employee_medical_examination/__init__.py create mode 100644 hr_employee_medical_examination/__manifest__.py create mode 100644 hr_employee_medical_examination/i18n/es.po create mode 100644 hr_employee_medical_examination/i18n/hr_employee_medical_examination.pot create mode 100644 hr_employee_medical_examination/models/__init__.py create mode 100644 hr_employee_medical_examination/models/hr_employee.py create mode 100644 hr_employee_medical_examination/models/hr_employee_medical_examination.py create mode 100644 hr_employee_medical_examination/readme/CONTRIBUTORS.rst create mode 100644 hr_employee_medical_examination/readme/DESCRIPTION.rst create mode 100644 hr_employee_medical_examination/readme/USAGE.rst create mode 100644 hr_employee_medical_examination/security/hr_employee_medical_examination_security.xml create mode 100644 hr_employee_medical_examination/security/ir.model.access.csv create mode 100644 hr_employee_medical_examination/static/description/icon.png create mode 100644 hr_employee_medical_examination/static/description/index.html create mode 100644 hr_employee_medical_examination/tests/__init__.py create mode 100644 hr_employee_medical_examination/tests/test_hr_employee_medical_examination.py create mode 100644 hr_employee_medical_examination/views/hr_employee_medical_examination_views.xml create mode 100644 hr_employee_medical_examination/views/hr_employee_views.xml create mode 100644 hr_employee_medical_examination/wizards/__init__.py create mode 100644 hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py create mode 100644 hr_employee_medical_examination/wizards/wizard_generate_medical_examination.xml diff --git a/hr_employee_medical_examination/README.rst b/hr_employee_medical_examination/README.rst new file mode 100644 index 00000000000..bfc6a1253c2 --- /dev/null +++ b/hr_employee_medical_examination/README.rst @@ -0,0 +1,91 @@ +=============================== +Hr Employee Medical Examination +=============================== + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fhr-lightgray.png?logo=github + :target: https://github.com/OCA/hr/tree/11.0/hr_employee_medical_examination + :alt: OCA/hr +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/hr-11-0/hr-11-0-hr_employee_medical_examination + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/116/11.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + +Adds information about employee's medical examinations + +**Table of contents** + +.. contents:: + :local: + +Usage +===== + +This module adds a wizard to generate medical examinations for employees and an +action to see them. + +The idea is to generate all the examinations using the wizard and then manage them +individually even though the usage of the wizard is not mandatory. + +For generating the medical examinations: + +#. Go to the menu *Employees > Medical Examinations > Generate Medical Examinations*. +#. Select a name and the employees and generate it. + +To see all the medical examinations: + +#. Go to the menu *Employees > Medical Examinations > View Medical Examinations*. + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Creu Blanca + +Contributors +~~~~~~~~~~~~ + +* Jaime Arroyo + +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_medical_examination/__init__.py b/hr_employee_medical_examination/__init__.py new file mode 100644 index 00000000000..aee8895e7a3 --- /dev/null +++ b/hr_employee_medical_examination/__init__.py @@ -0,0 +1,2 @@ +from . import models +from . import wizards diff --git a/hr_employee_medical_examination/__manifest__.py b/hr_employee_medical_examination/__manifest__.py new file mode 100644 index 00000000000..f3bf2d67394 --- /dev/null +++ b/hr_employee_medical_examination/__manifest__.py @@ -0,0 +1,22 @@ +# Copyright 2019 Creu Blanca +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + 'name': 'Hr Employee Medical Examination', + 'summary': """ + Adds information about employee's medical examinations""", + 'version': '11.0.1.0.0', + 'license': 'AGPL-3', + 'author': 'Creu Blanca,Odoo Community Association (OCA)', + 'website': 'https://github.com/OCA/hr', + 'depends': [ + 'hr', + ], + 'data': [ + 'views/hr_employee_medical_examination_views.xml', + 'wizards/wizard_generate_medical_examination.xml', + 'views/hr_employee_views.xml', + 'security/ir.model.access.csv', + 'security/hr_employee_medical_examination_security.xml', + ], +} diff --git a/hr_employee_medical_examination/i18n/es.po b/hr_employee_medical_examination/i18n/es.po new file mode 100644 index 00000000000..d1d1526861d --- /dev/null +++ b/hr_employee_medical_examination/i18n/es.po @@ -0,0 +1,220 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_employee_medical_examination +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2019-10-15 14:31+0000\n" +"Last-Translator: Jaime Arroyo \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 3.8\n" + +#. module: hr_employee_medical_examination +#: code:addons/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py:52 +#, python-format +msgid "%s on %s" +msgstr "%s en %s" + +#. module: hr_employee_medical_examination +#: model:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view +msgid "Filters:" +msgstr "Filtros:" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_can_see_examinations_button +msgid "Can See Examinations Button" +msgstr "Puede ver el Boton de Exámenes Médicos" + +#. module: hr_employee_medical_examination +#: model:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view +msgid "Cancel" +msgstr "Cancelar" + +#. module: hr_employee_medical_examination +#: selection:hr.employee.medical.examination,state:0 +msgid "Cancelled" +msgstr "Cancelado" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_create_uid +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination_create_uid +msgid "Created by" +msgstr "Creado por" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_create_date +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination_create_date +msgid "Created on" +msgstr "Creado el" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination_department_id +msgid "Department" +msgstr "Departamento" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_display_name +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination_display_name +msgid "Display Name" +msgstr "Nombre a Mostrar" + +#. module: hr_employee_medical_examination +#: selection:hr.employee.medical.examination,state:0 +msgid "Done" +msgstr "Hecho" + +#. module: hr_employee_medical_examination +#: model:ir.model,name:hr_employee_medical_examination.model_hr_employee +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_employee_id +msgid "Employee" +msgstr "Empleado" + +#. module: hr_employee_medical_examination +#: model:ir.actions.act_window,name:hr_employee_medical_examination.hr_employee_medical_examination_act_window +msgid "Employee Medical Examinations" +msgstr "Exámenes Médicos de Empleados" + +#. module: hr_employee_medical_examination +#: model:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view +msgid "Employee's Name" +msgstr "Nombre del Empleado" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination_employee_ids +#: model:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view +msgid "Employees" +msgstr "Empleados" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_date +msgid "Examination Date" +msgstr "Fecha de examinación" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination_name +msgid "Examination Name" +msgstr "Nombre del Exámen Médico" + +#. module: hr_employee_medical_examination +#: selection:hr.employee.medical.examination,result:0 +#: model:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_search_view +msgid "Failed" +msgstr "Suspendido" + +#. module: hr_employee_medical_examination +#: model:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view +msgid "Generate" +msgstr "Generar" + +#. module: hr_employee_medical_examination +#: model:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view +msgid "Generate Medical Examination" +msgstr "Generar Exámenes Médicos" + +#. module: hr_employee_medical_examination +#: code:addons/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py:40 +#: model:ir.actions.act_window,name:hr_employee_medical_examination.wizard_generate_medical_examination_act_window +#: model:ir.ui.menu,name:hr_employee_medical_examination.hr_employee_medical_examination_generate_wizard +#, python-format +msgid "Generate Medical Examinations" +msgstr "Generar Exámenes Médicos" + +#. module: hr_employee_medical_examination +#: model:ir.model,name:hr_employee_medical_examination.model_hr_employee_medical_examination +msgid "Hr Employee Medical Examination" +msgstr "Hr Employee Medical Examination" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_id +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination_id +msgid "ID" +msgstr "ID" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination_job_id +msgid "Job" +msgstr "Puesto de Trabajo" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination___last_update +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination___last_update +msgid "Last Modified on" +msgstr "Última Modificación" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_write_uid +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination_write_uid +msgid "Last Updated by" +msgstr "Actualizado por última vez por" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_write_date +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination_write_date +msgid "Last Updated on" +msgstr "Última Actualización en" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_ids +msgid "Medical Examination" +msgstr "Exámen Médico" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_count +msgid "Medical Examination Count" +msgstr "Número de Exámenes Médicos" + +#. module: hr_employee_medical_examination +#: model:ir.actions.act_window,name:hr_employee_medical_examination.act_medical_examination_employee +#: model:ir.ui.menu,name:hr_employee_medical_examination.hr_employee_medical_examination_menu +#: model:ir.ui.view,arch_db:hr_employee_medical_examination.view_employee_form +msgid "Medical Examinations" +msgstr "Exámenes Médicos" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_name +msgid "Name" +msgstr "Nombre" + +#. module: hr_employee_medical_examination +#: selection:hr.employee.medical.examination,result:0 +#: model:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_search_view +msgid "Passed" +msgstr "Aprobado" + +#. module: hr_employee_medical_examination +#: selection:hr.employee.medical.examination,state:0 +#: model:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_search_view +msgid "Pending" +msgstr "Pendiente" + +#. module: hr_employee_medical_examination +#: model:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view +msgid "Populate" +msgstr "Buscar" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_result +msgid "Result" +msgstr "Resultado" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_state +msgid "State" +msgstr "Estado" + +#. module: hr_employee_medical_examination +#: model:ir.ui.menu,name:hr_employee_medical_examination.hr_employee_medical_examination_all +msgid "View Medical Examinations" +msgstr "Ver Exámenes Médicos" + +#. module: hr_employee_medical_examination +#: model:ir.model,name:hr_employee_medical_examination.model_wizard_generate_medical_examination +msgid "wizard.generate.medical.examination" +msgstr "wizardgenerate.medical.examination" diff --git a/hr_employee_medical_examination/i18n/hr_employee_medical_examination.pot b/hr_employee_medical_examination/i18n/hr_employee_medical_examination.pot new file mode 100644 index 00000000000..08e504c03e3 --- /dev/null +++ b/hr_employee_medical_examination/i18n/hr_employee_medical_examination.pot @@ -0,0 +1,218 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_employee_medical_examination +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.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_medical_examination +#: code:addons/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py:52 +#, python-format +msgid "%s on %s" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view +msgid "Filters:" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_can_see_examinations_button +msgid "Can See Examinations Button" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view +msgid "Cancel" +msgstr "" + +#. module: hr_employee_medical_examination +#: selection:hr.employee.medical.examination,state:0 +msgid "Cancelled" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_create_uid +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination_create_uid +msgid "Created by" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_create_date +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination_create_date +msgid "Created on" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination_department_id +msgid "Department" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_display_name +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination_display_name +msgid "Display Name" +msgstr "" + +#. module: hr_employee_medical_examination +#: selection:hr.employee.medical.examination,state:0 +msgid "Done" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model,name:hr_employee_medical_examination.model_hr_employee +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_employee_id +msgid "Employee" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.actions.act_window,name:hr_employee_medical_examination.hr_employee_medical_examination_act_window +msgid "Employee Medical Examinations" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view +msgid "Employee's Name" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination_employee_ids +#: model:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view +msgid "Employees" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_date +msgid "Examination Date" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination_name +msgid "Examination Name" +msgstr "" + +#. module: hr_employee_medical_examination +#: selection:hr.employee.medical.examination,result:0 +#: model:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_search_view +msgid "Failed" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view +msgid "Generate" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view +msgid "Generate Medical Examination" +msgstr "" + +#. module: hr_employee_medical_examination +#: code:addons/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py:40 +#: model:ir.actions.act_window,name:hr_employee_medical_examination.wizard_generate_medical_examination_act_window +#: model:ir.ui.menu,name:hr_employee_medical_examination.hr_employee_medical_examination_generate_wizard +#, python-format +msgid "Generate Medical Examinations" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model,name:hr_employee_medical_examination.model_hr_employee_medical_examination +msgid "Hr Employee Medical Examination" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_id +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination_id +msgid "ID" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination_job_id +msgid "Job" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination___last_update +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination___last_update +msgid "Last Modified on" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_write_uid +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination_write_uid +msgid "Last Updated by" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_write_date +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination_write_date +msgid "Last Updated on" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_ids +msgid "Medical Examination" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_count +msgid "Medical Examination Count" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.actions.act_window,name:hr_employee_medical_examination.act_medical_examination_employee +#: model:ir.ui.menu,name:hr_employee_medical_examination.hr_employee_medical_examination_menu +#: model:ir.ui.view,arch_db:hr_employee_medical_examination.view_employee_form +msgid "Medical Examinations" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_name +msgid "Name" +msgstr "" + +#. module: hr_employee_medical_examination +#: selection:hr.employee.medical.examination,result:0 +#: model:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_search_view +msgid "Passed" +msgstr "" + +#. module: hr_employee_medical_examination +#: selection:hr.employee.medical.examination,state:0 +#: model:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_search_view +msgid "Pending" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view +msgid "Populate" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_result +msgid "Result" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_state +msgid "State" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.ui.menu,name:hr_employee_medical_examination.hr_employee_medical_examination_all +msgid "View Medical Examinations" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model,name:hr_employee_medical_examination.model_wizard_generate_medical_examination +msgid "wizard.generate.medical.examination" +msgstr "" + diff --git a/hr_employee_medical_examination/models/__init__.py b/hr_employee_medical_examination/models/__init__.py new file mode 100644 index 00000000000..89956e06f43 --- /dev/null +++ b/hr_employee_medical_examination/models/__init__.py @@ -0,0 +1,2 @@ +from . import hr_employee_medical_examination +from . import hr_employee diff --git a/hr_employee_medical_examination/models/hr_employee.py b/hr_employee_medical_examination/models/hr_employee.py new file mode 100644 index 00000000000..f1717f38626 --- /dev/null +++ b/hr_employee_medical_examination/models/hr_employee.py @@ -0,0 +1,37 @@ +# Copyright 2019 Creu Blanca +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import api, fields, models + + +class HrEmployee(models.Model): + + _inherit = 'hr.employee' + + medical_examination_ids = fields.One2many( + comodel_name='hr.employee.medical.examination', + inverse_name='employee_id', + ) + + medical_examination_count = fields.Integer( + compute='_compute_medical_examination_count', + ) + + can_see_examinations_button = fields.Boolean( + compute='_compute_can_see_examinations_button', + ) + + @api.depends('medical_examination_ids') + def _compute_medical_examination_count(self): + for record in self: + record.medical_examination_count = len( + record.medical_examination_ids + ) + + @api.multi + def _compute_can_see_examinations_button(self): + for record in self: + record.can_see_examinations_button = ( + self.env.uid == record.user_id.id or + self.env.user.has_group('hr.group_hr_manager') + ) diff --git a/hr_employee_medical_examination/models/hr_employee_medical_examination.py b/hr_employee_medical_examination/models/hr_employee_medical_examination.py new file mode 100644 index 00000000000..a1f002668e4 --- /dev/null +++ b/hr_employee_medical_examination/models/hr_employee_medical_examination.py @@ -0,0 +1,42 @@ +# Copyright 2019 Creu Blanca +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import fields, models + + +class HrEmployeeMedicalExamination(models.Model): + + _name = 'hr.employee.medical.examination' + _description = 'Hr Employee Medical Examination' + _inherit = ['mail.thread', 'mail.activity.mixin'] + + name = fields.Char( + required=True, + track_visibility='onchange', + ) + + state = fields.Selection( + selection=[ + ('pending', 'Pending'), + ('done', 'Done'), + ('cancelled', 'Cancelled'), + ], default='pending', + track_visibility='onchange', + ) + + date = fields.Date( + string='Examination Date', + track_visibility='onchange', + ) + result = fields.Selection( + selection=[ + ('failed', 'Failed'), + ('passed', 'Passed'), + ], + track_visibility='onchange', + ) + + employee_id = fields.Many2one( + 'hr.employee', string='Employee', required=True, + track_visibility='onchange', + ) diff --git a/hr_employee_medical_examination/readme/CONTRIBUTORS.rst b/hr_employee_medical_examination/readme/CONTRIBUTORS.rst new file mode 100644 index 00000000000..e59d51045c8 --- /dev/null +++ b/hr_employee_medical_examination/readme/CONTRIBUTORS.rst @@ -0,0 +1 @@ +* Jaime Arroyo diff --git a/hr_employee_medical_examination/readme/DESCRIPTION.rst b/hr_employee_medical_examination/readme/DESCRIPTION.rst new file mode 100644 index 00000000000..2728c228e1b --- /dev/null +++ b/hr_employee_medical_examination/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +Adds information about employee's medical examinations diff --git a/hr_employee_medical_examination/readme/USAGE.rst b/hr_employee_medical_examination/readme/USAGE.rst new file mode 100644 index 00000000000..62cdafad200 --- /dev/null +++ b/hr_employee_medical_examination/readme/USAGE.rst @@ -0,0 +1,14 @@ +This module adds a wizard to generate medical examinations for employees and an +action to see them. + +The idea is to generate all the examinations using the wizard and then manage them +individually even though the usage of the wizard is not mandatory. + +For generating the medical examinations: + +#. Go to the menu *Employees > Medical Examinations > Generate Medical Examinations*. +#. Select a name and the employees and generate it. + +To see all the medical examinations: + +#. Go to the menu *Employees > Medical Examinations > View Medical Examinations*. diff --git a/hr_employee_medical_examination/security/hr_employee_medical_examination_security.xml b/hr_employee_medical_examination/security/hr_employee_medical_examination_security.xml new file mode 100644 index 00000000000..28d90a8fd91 --- /dev/null +++ b/hr_employee_medical_examination/security/hr_employee_medical_examination_security.xml @@ -0,0 +1,17 @@ + + + + + Base User: Only own examinations + + [('employee_id.user_id','=',user.id)] + + + + Manager: All Examinations + + [(1,'=',1)] + + + + diff --git a/hr_employee_medical_examination/security/ir.model.access.csv b/hr_employee_medical_examination/security/ir.model.access.csv new file mode 100644 index 00000000000..ca9b2ea26f4 --- /dev/null +++ b/hr_employee_medical_examination/security/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_hr_employee_medical_examination,access_hr_employee_medical_examination,model_hr_employee_medical_examination,base.group_user,1,0,0,0 +access_hr_employee_medical_examination_manager,access_hr_employee_medical_examination_manager,model_hr_employee_medical_examination,hr.group_hr_manager,1,1,1,1 diff --git a/hr_employee_medical_examination/static/description/icon.png b/hr_employee_medical_examination/static/description/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..3a0328b516c4980e8e44cdb63fd945757ddd132d GIT binary patch literal 9455 zcmW++2RxMjAAjx~&dlBk9S+%}OXg)AGE&Cb*&}d0jUxM@u(PQx^-s)697TX`ehR4?GS^qbkof1cslKgkU)h65qZ9Oc=ml_0temigYLJfnz{IDzUf>bGs4N!v3=Z3jMq&A#7%rM5eQ#dc?k~! zVpnB`o+K7|Al`Q_U;eD$B zfJtP*jH`siUq~{KE)`jP2|#TUEFGRryE2`i0**z#*^6~AI|YzIWy$Cu#CSLW3q=GA z6`?GZymC;dCPk~rBS%eCb`5OLr;RUZ;D`}um=H)BfVIq%7VhiMr)_#G0N#zrNH|__ zc+blN2UAB0=617@>_u;MPHN;P;N#YoE=)R#i$k_`UAA>WWCcEVMh~L_ zj--gtp&|K1#58Yz*AHCTMziU1Jzt_jG0I@qAOHsk$2}yTmVkBp_eHuY$A9)>P6o~I z%aQ?!(GqeQ-Y+b0I(m9pwgi(IIZZzsbMv+9w{PFtd_<_(LA~0H(xz{=FhLB@(1&qHA5EJw1>>=%q2f&^X>IQ{!GJ4e9U z&KlB)z(84HmNgm2hg2C0>WM{E(DdPr+EeU_N@57;PC2&DmGFW_9kP&%?X4}+xWi)( z;)z%wI5>D4a*5XwD)P--sPkoY(a~WBw;E~AW`Yue4kFa^LM3X`8x|}ZUeMnqr}>kH zG%WWW>3ml$Yez?i%)2pbKPI7?5o?hydokgQyZsNEr{a|mLdt;X2TX(#B1j35xPnPW z*bMSSOauW>o;*=kO8ojw91VX!qoOQb)zHJ!odWB}d+*K?#sY_jqPdg{Sm2HdYzdEx zOGVPhVRTGPtv0o}RfVP;Nd(|CB)I;*t&QO8h zFfekr30S!-LHmV_Su-W+rEwYXJ^;6&3|L$mMC8*bQptyOo9;>Qb9Q9`ySe3%V$A*9 zeKEe+b0{#KWGp$F+tga)0RtI)nhMa-K@JS}2krK~n8vJ=Ngm?R!9G<~RyuU0d?nz# z-5EK$o(!F?hmX*2Yt6+coY`6jGbb7tF#6nHA zuKk=GGJ;ZwON1iAfG$E#Y7MnZVmrY|j0eVI(DN_MNFJmyZ|;w4tf@=CCDZ#5N_0K= z$;R~bbk?}TpfDjfB&aiQ$VA}s?P}xPERJG{kxk5~R`iRS(SK5d+Xs9swCozZISbnS zk!)I0>t=A<-^z(cmSFz3=jZ23u13X><0b)P)^1T_))Kr`e!-pb#q&J*Q`p+B6la%C zuVl&0duN<;uOsB3%T9Fp8t{ED108<+W(nOZd?gDnfNBC3>M8WE61$So|P zVvqH0SNtDTcsUdzaMDpT=Ty0pDHHNL@Z0w$Y`XO z2M-_r1S+GaH%pz#Uy0*w$Vdl=X=rQXEzO}d6J^R6zjM1u&c9vYLvLp?W7w(?np9x1 zE_0JSAJCPB%i7p*Wvg)pn5T`8k3-uR?*NT|J`eS#_#54p>!p(mLDvmc-3o0mX*mp_ zN*AeS<>#^-{S%W<*mz^!X$w_2dHWpcJ6^j64qFBft-o}o_Vx80o0>}Du;>kLts;$8 zC`7q$QI(dKYG`Wa8#wl@V4jVWBRGQ@1dr-hstpQL)Tl+aqVpGpbSfN>5i&QMXfiZ> zaA?T1VGe?rpQ@;+pkrVdd{klI&jVS@I5_iz!=UMpTsa~mBga?1r}aRBm1WS;TT*s0f0lY=JBl66Upy)-k4J}lh=P^8(SXk~0xW=T9v*B|gzIhN z>qsO7dFd~mgxAy4V?&)=5ieYq?zi?ZEoj)&2o)RLy=@hbCRcfT5jigwtQGE{L*8<@Yd{zg;CsL5mvzfDY}P-wos_6PfprFVaeqNE%h zKZhLtcQld;ZD+>=nqN~>GvROfueSzJD&BE*}XfU|H&(FssBqY=hPCt`d zH?@s2>I(|;fcW&YM6#V#!kUIP8$Nkdh0A(bEVj``-AAyYgwY~jB zT|I7Bf@%;7aL7Wf4dZ%VqF$eiaC38OV6oy3Z#TER2G+fOCd9Iaoy6aLYbPTN{XRPz z;U!V|vBf%H!}52L2gH_+j;`bTcQRXB+y9onc^wLm5wi3-Be}U>k_u>2Eg$=k!(l@I zcCg+flakT2Nej3i0yn+g+}%NYb?ta;R?(g5SnwsQ49U8Wng8d|{B+lyRcEDvR3+`O{zfmrmvFrL6acVP%yG98X zo&+VBg@px@i)%o?dG(`T;n*$S5*rnyiR#=wW}}GsAcfyQpE|>a{=$Hjg=-*_K;UtD z#z-)AXwSRY?OPefw^iI+ z)AXz#PfEjlwTes|_{sB?4(O@fg0AJ^g8gP}ex9Ucf*@_^J(s_5jJV}c)s$`Myn|Kd z$6>}#q^n{4vN@+Os$m7KV+`}c%4)4pv@06af4-x5#wj!KKb%caK{A&Y#Rfs z-po?Dcb1({W=6FKIUirH&(yg=*6aLCekcKwyfK^JN5{wcA3nhO(o}SK#!CINhI`-I z1)6&n7O&ZmyFMuNwvEic#IiOAwNkR=u5it{B9n2sAJV5pNhar=j5`*N!Na;c7g!l$ z3aYBqUkqqTJ=Re-;)s!EOeij=7SQZ3Hq}ZRds%IM*PtM$wV z@;rlc*NRK7i3y5BETSKuumEN`Xu_8GP1Ri=OKQ$@I^ko8>H6)4rjiG5{VBM>B|%`&&s^)jS|-_95&yc=GqjNo{zFkw%%HHhS~e=s zD#sfS+-?*t|J!+ozP6KvtOl!R)@@-z24}`9{QaVLD^9VCSR2b`b!KC#o;Ki<+wXB6 zx3&O0LOWcg4&rv4QG0)4yb}7BFSEg~=IR5#ZRj8kg}dS7_V&^%#Do==#`u zpy6{ox?jWuR(;pg+f@mT>#HGWHAJRRDDDv~@(IDw&R>9643kK#HN`!1vBJHnC+RM&yIh8{gG2q zA%e*U3|N0XSRa~oX-3EAneep)@{h2vvd3Xvy$7og(sayr@95+e6~Xvi1tUqnIxoIH zVWo*OwYElb#uyW{Imam6f2rGbjR!Y3`#gPqkv57dB6K^wRGxc9B(t|aYDGS=m$&S!NmCtrMMaUg(c zc2qC=2Z`EEFMW-me5B)24AqF*bV5Dr-M5ig(l-WPS%CgaPzs6p_gnCIvTJ=Y<6!gT zVt@AfYCzjjsMEGi=rDQHo0yc;HqoRNnNFeWZgcm?f;cp(6CNylj36DoL(?TS7eU#+ z7&mfr#y))+CJOXQKUMZ7QIdS9@#-}7y2K1{8)cCt0~-X0O!O?Qx#E4Og+;A2SjalQ zs7r?qn0H044=sDN$SRG$arw~n=+T_DNdSrarmu)V6@|?1-ZB#hRn`uilTGPJ@fqEy zGt(f0B+^JDP&f=r{#Y_wi#AVDf-y!RIXU^0jXsFpf>=Ji*TeqSY!H~AMbJdCGLhC) zn7Rx+sXw6uYj;WRYrLd^5IZq@6JI1C^YkgnedZEYy<&4(z%Q$5yv#Boo{AH8n$a zhb4Y3PWdr269&?V%uI$xMcUrMzl=;w<_nm*qr=c3Rl@i5wWB;e-`t7D&c-mcQl7x! zZWB`UGcw=Y2=}~wzrfLx=uet<;m3~=8I~ZRuzvMQUQdr+yTV|ATf1Uuomr__nDf=X zZ3WYJtHp_ri(}SQAPjv+Y+0=fH4krOP@S&=zZ-t1jW1o@}z;xk8 z(Nz1co&El^HK^NrhVHa-_;&88vTU>_J33=%{if;BEY*J#1n59=07jrGQ#IP>@u#3A z;!q+E1Rj3ZJ+!4bq9F8PXJ@yMgZL;>&gYA0%_Kbi8?S=XGM~dnQZQ!yBSgcZhY96H zrWnU;k)qy`rX&&xlDyA%(a1Hhi5CWkmg(`Gb%m(HKi-7Z!LKGRP_B8@`7&hdDy5n= z`OIxqxiVfX@OX1p(mQu>0Ai*v_cTMiw4qRt3~NBvr9oBy0)r>w3p~V0SCm=An6@3n)>@z!|o-$HvDK z|3D2ZMJkLE5loMKl6R^ez@Zz%S$&mbeoqH5`Bb){Ei21q&VP)hWS2tjShfFtGE+$z zzCR$P#uktu+#!w)cX!lWN1XU%K-r=s{|j?)Akf@q#3b#{6cZCuJ~gCxuMXRmI$nGtnH+-h z+GEi!*X=AP<|fG`1>MBdTb?28JYc=fGvAi2I<$B(rs$;eoJCyR6_bc~p!XR@O-+sD z=eH`-ye})I5ic1eL~TDmtfJ|8`0VJ*Yr=hNCd)G1p2MMz4C3^Mj?7;!w|Ly%JqmuW zlIEW^Ft%z?*|fpXda>Jr^1noFZEwFgVV%|*XhH@acv8rdGxeEX{M$(vG{Zw+x(ei@ zmfXb22}8-?Fi`vo-YVrTH*C?a8%M=Hv9MqVH7H^J$KsD?>!SFZ;ZsvnHr_gn=7acz z#W?0eCdVhVMWN12VV^$>WlQ?f;P^{(&pYTops|btm6aj>_Uz+hqpGwB)vWp0Cf5y< zft8-je~nn?W11plq}N)4A{l8I7$!ks_x$PXW-2XaRFswX_BnF{R#6YIwMhAgd5F9X zGmwdadS6(a^fjHtXg8=l?Rc0Sm%hk6E9!5cLVloEy4eh(=FwgP`)~I^5~pBEWo+F6 zSf2ncyMurJN91#cJTy_u8Y}@%!bq1RkGC~-bV@SXRd4F{R-*V`bS+6;W5vZ(&+I<9$;-V|eNfLa5n-6% z2(}&uGRF;p92eS*sE*oR$@pexaqr*meB)VhmIg@h{uzkk$9~qh#cHhw#>O%)b@+(| z^IQgqzuj~Sk(J;swEM-3TrJAPCq9k^^^`q{IItKBRXYe}e0Tdr=Huf7da3$l4PdpwWDop%^}n;dD#K4s#DYA8SHZ z&1!riV4W4R7R#C))JH1~axJ)RYnM$$lIR%6fIVA@zV{XVyx}C+a-Dt8Y9M)^KU0+H zR4IUb2CJ{Hg>CuaXtD50jB(_Tcx=Z$^WYu2u5kubqmwp%drJ6 z?Fo40g!Qd<-l=TQxqHEOuPX0;^z7iX?Ke^a%XT<13TA^5`4Xcw6D@Ur&VT&CUe0d} z1GjOVF1^L@>O)l@?bD~$wzgf(nxX1OGD8fEV?TdJcZc2KoUe|oP1#=$$7ee|xbY)A zDZq+cuTpc(fFdj^=!;{k03C69lMQ(|>uhRfRu%+!k&YOi-3|1QKB z z?n?eq1XP>p-IM$Z^C;2L3itnbJZAip*Zo0aw2bs8@(s^~*8T9go!%dHcAz2lM;`yp zD=7&xjFV$S&5uDaiScyD?B-i1ze`+CoRtz`Wn+Zl&#s4&}MO{@N!ufrzjG$B79)Y2d3tBk&)TxUTw@QS0TEL_?njX|@vq?Uz(nBFK5Pq7*xj#u*R&i|?7+6# z+|r_n#SW&LXhtheZdah{ZVoqwyT{D>MC3nkFF#N)xLi{p7J1jXlmVeb;cP5?e(=f# zuT7fvjSbjS781v?7{)-X3*?>tq?)Yd)~|1{BDS(pqC zC}~H#WXlkUW*H5CDOo<)#x7%RY)A;ShGhI5s*#cRDA8YgqG(HeKDx+#(ZQ?386dv! zlXCO)w91~Vw4AmOcATuV653fa9R$fyK8ul%rG z-wfS zihugoZyr38Im?Zuh6@RcF~t1anQu7>#lPpb#}4cOA!EM11`%f*07RqOVkmX{p~KJ9 z^zP;K#|)$`^Rb{rnHGH{~>1(fawV0*Z#)}M`m8-?ZJV<+e}s9wE# z)l&az?w^5{)`S(%MRzxdNqrs1n*-=jS^_jqE*5XDrA0+VE`5^*p3CuM<&dZEeCjoz zR;uu_H9ZPZV|fQq`Cyw4nscrVwi!fE6ciMmX$!_hN7uF;jjKG)d2@aC4ropY)8etW=xJvni)8eHi`H$%#zn^WJ5NLc-rqk|u&&4Z6fD_m&JfSI1Bvb?b<*n&sfl0^t z=HnmRl`XrFvMKB%9}>PaA`m-fK6a0(8=qPkWS5bb4=v?XcWi&hRY?O5HdulRi4?fN zlsJ*N-0Qw+Yic@s0(2uy%F@ib;GjXt01Fmx5XbRo6+n|pP(&nodMoap^z{~q ziEeaUT@Mxe3vJSfI6?uLND(CNr=#^W<1b}jzW58bIfyWTDle$mmS(|x-0|2UlX+9k zQ^EX7Nw}?EzVoBfT(-LT|=9N@^hcn-_p&sqG z&*oVs2JSU+N4ZD`FhCAWaS;>|wH2G*Id|?pa#@>tyxX`+4HyIArWDvVrX)2WAOQff z0qyHu&-S@i^MS-+j--!pr4fPBj~_8({~e1bfcl0wI1kaoN>mJL6KUPQm5N7lB(ui1 zE-o%kq)&djzWJ}ob<-GfDlkB;F31j-VHKvQUGQ3sp`CwyGJk_i!y^sD0fqC@$9|jO zOqN!r!8-p==F@ZVP=U$qSpY(gQ0)59P1&t@y?5rvg<}E+GB}26NYPp4f2YFQrQtot5mn3wu_qprZ=>Ig-$ zbW26Ws~IgY>}^5w`vTB(G`PTZaDiGBo5o(tp)qli|NeV( z@H_=R8V39rt5J5YB2Ky?4eJJ#b`_iBe2ot~6%7mLt5t8Vwi^Jy7|jWXqa3amOIoRb zOr}WVFP--DsS`1WpN%~)t3R!arKF^Q$e12KEqU36AWwnCBICpH4XCsfnyrHr>$I$4 z!DpKX$OKLWarN7nv@!uIA+~RNO)l$$w}p(;b>mx8pwYvu;dD_unryX_NhT8*Tj>BTrTTL&!?O+%Rv;b?B??gSzdp?6Uug9{ zd@V08Z$BdI?fpoCS$)t4mg4rT8Q_I}h`0d-vYZ^|dOB*Q^S|xqTV*vIg?@fVFSmMpaw0qtTRbx} z({Pg?#{2`sc9)M5N$*N|4;^t$+QP?#mov zGVC@I*lBVrOU-%2y!7%)fAKjpEFsgQc4{amtiHb95KQEwvf<(3T<9-Zm$xIew#P22 zc2Ix|App^>v6(3L_MCU0d3W##AB0M~3D00EWoKZqsJYT(#@w$Y_H7G22M~ApVFTRHMI_3be)Lkn#0F*V8Pq zc}`Cjy$bE;FJ6H7p=0y#R>`}-m4(0F>%@P|?7fx{=R^uFdISRnZ2W_xQhD{YuR3t< z{6yxu=4~JkeA;|(J6_nv#>Nvs&FuLA&PW^he@t(UwFFE8)|a!R{`E`K`i^ZnyE4$k z;(749Ix|oi$c3QbEJ3b~D_kQsPz~fIUKym($a_7dJ?o+40*OLl^{=&oq$<#Q(yyrp z{J-FAniyAw9tPbe&IhQ|a`DqFTVQGQ&Gq3!C2==4x{6EJwiPZ8zub-iXoUtkJiG{} zPaR&}_fn8_z~(=;5lD-aPWD3z8PZS@AaUiomF!G8I}Mf>e~0g#BelA-5#`cj;O5>N Xviia!U7SGha1wx#SCgwmn*{w2TRX*I literal 0 HcmV?d00001 diff --git a/hr_employee_medical_examination/static/description/index.html b/hr_employee_medical_examination/static/description/index.html new file mode 100644 index 00000000000..a57e2c9c8ab --- /dev/null +++ b/hr_employee_medical_examination/static/description/index.html @@ -0,0 +1,436 @@ + + + + + + +Hr Employee Medical Examination + + + +
+

Hr Employee Medical Examination

+ + +

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

+

Adds information about employee’s medical examinations

+

Table of contents

+ +
+

Usage

+

This module adds a wizard to generate medical examinations for employees and an +action to see them.

+

The idea is to generate all the examinations using the wizard and then manage them +individually even though the usage of the wizard is not mandatory.

+

For generating the medical examinations:

+
    +
  1. Go to the menu Employees > Medical Examinations > Generate Medical Examinations.
  2. +
  3. Select a name and the employees and generate it.
  4. +
+

To see all the medical examinations:

+
    +
  1. Go to the menu Employees > Medical Examinations > View Medical Examinations.
  2. +
+
+
+

Bug Tracker

+

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

+

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

+
+
+

Credits

+
+

Authors

+
    +
  • Creu Blanca
  • +
+
+ +
+

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_medical_examination/tests/__init__.py b/hr_employee_medical_examination/tests/__init__.py new file mode 100644 index 00000000000..f6289510d46 --- /dev/null +++ b/hr_employee_medical_examination/tests/__init__.py @@ -0,0 +1 @@ +from . import test_hr_employee_medical_examination diff --git a/hr_employee_medical_examination/tests/test_hr_employee_medical_examination.py b/hr_employee_medical_examination/tests/test_hr_employee_medical_examination.py new file mode 100644 index 00000000000..cfce0bb9ac6 --- /dev/null +++ b/hr_employee_medical_examination/tests/test_hr_employee_medical_examination.py @@ -0,0 +1,52 @@ +# Copyright 2019 Creu Blanca +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo.tests.common import TransactionCase + + +class TestHrEmployeeMedicalExamination(TransactionCase): + + def setUp(self): + super(TestHrEmployeeMedicalExamination, self).setUp() + + self.department = self.env['hr.department'].create({ + 'name': 'Department' + }) + + self.job = self.env['hr.job'].create({ + 'name': 'Job' + }) + + self.employee1 = self.env['hr.employee'].create({ + 'name': 'Employee 1', + 'job_id': self.job.id, + 'department_id': self.department.id, + }) + + self.examination = self.env['hr.employee.medical.examination'].create({ + 'name': 'Dummy Exam to test domain', + 'employee_id': self.employee1.id, + }) + + self.wizard = self.env['wizard.generate.medical.examination'].create({ + 'name': 'Examination 2019' + }) + + def test_hr_employee_medical_examination(self): + self.assertFalse(self.wizard.employee_ids) + self.wizard.write({ + 'job_id': self.job.id, + 'department_id': self.department.id, + }) + self.wizard.populate() + self.assertEqual(len(self.wizard.employee_ids), 1) + result = self.wizard.create_medical_examinations() + + examination = self.env['hr.employee.medical.examination'].search( + result['domain'] + ) + self.assertTrue(examination) + self.assertEqual(1, len(examination)) + self.assertEqual(examination.name, 'Examination 2019 on Employee 1') + self.assertEqual(self.employee1.medical_examination_count, 2) + self.assertTrue(self.employee1.can_see_examinations_button) diff --git a/hr_employee_medical_examination/views/hr_employee_medical_examination_views.xml b/hr_employee_medical_examination/views/hr_employee_medical_examination_views.xml new file mode 100644 index 00000000000..8da0dfba74a --- /dev/null +++ b/hr_employee_medical_examination/views/hr_employee_medical_examination_views.xml @@ -0,0 +1,93 @@ + + + + + + + hr.employee.medical.examination.form (in + hr_employee_medical_examination) + + hr.employee.medical.examination + +
+
+ +
+ +
+
+ + + + + + + + + +
+
+ + + +
+
+
+
+ + + hr.employee.medical.examination.search (in + hr_employee_medical_examination) + + hr.employee.medical.examination + + + + + + + + + + + + + + + hr.employee.medical.examination.tree (in + hr_employee_medical_examination) + + hr.employee.medical.examination + + + + + + + + + + + Employee Medical Examinations + hr.employee.medical.examination + tree,form + + + + + + +
diff --git a/hr_employee_medical_examination/views/hr_employee_views.xml b/hr_employee_medical_examination/views/hr_employee_views.xml new file mode 100644 index 00000000000..72d788f5483 --- /dev/null +++ b/hr_employee_medical_examination/views/hr_employee_views.xml @@ -0,0 +1,35 @@ + + + + + + Medical Examinations + hr.employee.medical.examination + form + tree,form + { + 'search_default_employee_id': [active_id], + 'default_employee_id': active_id, + } + + + + hr.employee.form (in hr_employee_medical_examination) + hr.employee + + +
+ + +
+
+
+ +
diff --git a/hr_employee_medical_examination/wizards/__init__.py b/hr_employee_medical_examination/wizards/__init__.py new file mode 100644 index 00000000000..5aa1e085ee4 --- /dev/null +++ b/hr_employee_medical_examination/wizards/__init__.py @@ -0,0 +1 @@ +from . import wizard_generate_medical_examination diff --git a/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py b/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py new file mode 100644 index 00000000000..66fd8a66d1c --- /dev/null +++ b/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py @@ -0,0 +1,71 @@ +# Copyright 2019 Creu Blanca +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import api, fields, models, _ + + +class WizardGenerateMedicalExamination(models.TransientModel): + + _name = 'wizard.generate.medical.examination' + + name = fields.Char(required=True, string='Examination Name') + + employee_ids = fields.Many2many( + comodel_name='hr.employee', + string='Employees' + ) + department_id = fields.Many2one( + comodel_name='hr.department', + string='Department', + ) + job_id = fields.Many2one( + comodel_name='hr.job', + string='Job', + ) + + def _prepare_employee_domain(self): + res = [] + if self.job_id: + res.append(('job_id', '=', self.job_id.id)) + if self.department_id: + res.append(('department_id', 'child_of', self.department_id.id)) + return res + + @api.multi + def populate(self): + domain = self._prepare_employee_domain() + employees = self.env['hr.employee'].search(domain) + self.employee_ids = employees + action = { + 'name': _('Generate Medical Examinations'), + 'type': 'ir.actions.act_window', + 'res_model': 'wizard.generate.medical.examination', + 'view_mode': 'form', + 'target': 'new', + 'res_id': self.id, + 'context': self._context, + } + return action + + def _create_examination_vals(self, employee): + return { + 'name': _('%s on %s') % (self.name, employee.name), + 'employee_id': employee.id, + } + + @api.multi + def create_medical_examinations(self): + exams = self.env['hr.employee.medical.examination'] + for form in self: + for employee in form.employee_ids: + exams |= self.env['hr.employee.medical.examination'].create( + form._create_examination_vals(employee) + ) + action = self.env.ref( + 'hr_employee_medical_examination.hr_employee' + '_medical_examination_act_window', + False + ) + result = action.read()[0] + result['domain'] = [('id', 'in', exams.ids)] + return result diff --git a/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.xml b/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.xml new file mode 100644 index 00000000000..79e3817bd37 --- /dev/null +++ b/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.xml @@ -0,0 +1,68 @@ + + + + + + + wizard.generate.medical.examination.form (in hr_employee_medical_examination) + wizard.generate.medical.examination + +
+ + + + + +

Filters:

+ + + + + + + + +
+
+ + + + + + + + + + + + +
+
+
+
+
+ + + Generate Medical Examinations + wizard.generate.medical.examination + form + new + + + + +
From 36fadb15889ca1f26b697640fa51434691146c1b Mon Sep 17 00:00:00 2001 From: Jaime Arroyo Date: Wed, 16 Oct 2019 09:57:48 +0200 Subject: [PATCH 02/39] [12.0][MIG] hr_employee_medical_examination --- hr_employee_medical_examination/README.rst | 10 +- .../__manifest__.py | 2 +- hr_employee_medical_examination/i18n/es.po | 296 +++++++++++++++--- .../i18n/hr_employee_medical_examination.pot | 284 ++++++++++++++--- .../models/hr_employee_medical_examination.py | 35 ++- .../static/description/index.html | 6 +- .../test_hr_employee_medical_examination.py | 11 + .../hr_employee_medical_examination_views.xml | 21 +- .../wizard_generate_medical_examination.py | 7 + .../wizard_generate_medical_examination.xml | 3 + 10 files changed, 572 insertions(+), 103 deletions(-) diff --git a/hr_employee_medical_examination/README.rst b/hr_employee_medical_examination/README.rst index bfc6a1253c2..e5b40ad206c 100644 --- a/hr_employee_medical_examination/README.rst +++ b/hr_employee_medical_examination/README.rst @@ -14,13 +14,13 @@ Hr Employee Medical Examination :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/11.0/hr_employee_medical_examination + :target: https://github.com/OCA/hr/tree/12.0/hr_employee_medical_examination :alt: OCA/hr .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/hr-11-0/hr-11-0-hr_employee_medical_examination + :target: https://translation.odoo-community.org/projects/hr-12-0/hr-12-0-hr_employee_medical_examination :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/116/11.0 + :target: https://runbot.odoo-community.org/runbot/116/12.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -56,7 +56,7 @@ Bug Tracker Bugs are tracked on `GitHub Issues `_. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -86,6 +86,6 @@ 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. +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_medical_examination/__manifest__.py b/hr_employee_medical_examination/__manifest__.py index f3bf2d67394..a1d8796c0cc 100644 --- a/hr_employee_medical_examination/__manifest__.py +++ b/hr_employee_medical_examination/__manifest__.py @@ -5,7 +5,7 @@ 'name': 'Hr Employee Medical Examination', 'summary': """ Adds information about employee's medical examinations""", - 'version': '11.0.1.0.0', + 'version': '12.0.1.0.0', 'license': 'AGPL-3', 'author': 'Creu Blanca,Odoo Community Association (OCA)', 'website': 'https://github.com/OCA/hr', diff --git a/hr_employee_medical_examination/i18n/es.po b/hr_employee_medical_examination/i18n/es.po index d1d1526861d..3066a7912b7 100644 --- a/hr_employee_medical_examination/i18n/es.po +++ b/hr_employee_medical_examination/i18n/es.po @@ -1,6 +1,6 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * hr_employee_medical_examination +# * hr_employee_medical_examination # msgid "" msgstr "" @@ -17,23 +17,55 @@ msgstr "" "X-Generator: Weblate 3.8\n" #. module: hr_employee_medical_examination -#: code:addons/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py:52 +#: code:addons/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py:58 #, python-format msgid "%s on %s" msgstr "%s en %s" #. module: hr_employee_medical_examination -#: model:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view msgid "Filters:" msgstr "Filtros:" #. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_can_see_examinations_button +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_needaction +msgid "Action Needed" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_ids +msgid "Activities" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_state +msgid "Activity State" +msgstr "" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view +msgid "Add note..." +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_attachment_count +msgid "Attachment Count" +msgstr "" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view +#, fuzzy +#| msgid "Pending" +msgid "Back To Pending" +msgstr "Pendiente" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee__can_see_examinations_button msgid "Can See Examinations Button" msgstr "Puede ver el Boton de Exámenes Médicos" #. module: hr_employee_medical_examination -#: model:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view msgid "Cancel" msgstr "Cancelar" @@ -43,25 +75,25 @@ msgid "Cancelled" msgstr "Cancelado" #. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_create_uid -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination_create_uid +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__create_uid +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__create_uid msgid "Created by" msgstr "Creado por" #. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_create_date -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination_create_date +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__create_date +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__create_date msgid "Created on" msgstr "Creado el" #. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination_department_id +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__department_id msgid "Department" msgstr "Departamento" #. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_display_name -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination_display_name +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__display_name +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__display_name msgid "Display Name" msgstr "Nombre a Mostrar" @@ -72,7 +104,7 @@ msgstr "Hecho" #. module: hr_employee_medical_examination #: model:ir.model,name:hr_employee_medical_examination.model_hr_employee -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_employee_id +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__employee_id msgid "Employee" msgstr "Empleado" @@ -82,139 +114,317 @@ msgid "Employee Medical Examinations" msgstr "Exámenes Médicos de Empleados" #. module: hr_employee_medical_examination -#: model:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view msgid "Employee's Name" msgstr "Nombre del Empleado" #. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination_employee_ids -#: model:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__employee_ids +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view msgid "Employees" msgstr "Empleados" #. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_date +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__date msgid "Examination Date" msgstr "Fecha de examinación" #. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination_name +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__name msgid "Examination Name" msgstr "Nombre del Exámen Médico" #. module: hr_employee_medical_examination #: selection:hr.employee.medical.examination,result:0 -#: model:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_search_view +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_search_view msgid "Failed" msgstr "Suspendido" #. module: hr_employee_medical_examination -#: model:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_follower_ids +msgid "Followers" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_channel_ids +msgid "Followers (Channels)" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_partner_ids +msgid "Followers (Partners)" +msgstr "" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view msgid "Generate" msgstr "Generar" #. module: hr_employee_medical_examination -#: model:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view msgid "Generate Medical Examination" msgstr "Generar Exámenes Médicos" #. module: hr_employee_medical_examination -#: code:addons/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py:40 +#: code:addons/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py:46 #: model:ir.actions.act_window,name:hr_employee_medical_examination.wizard_generate_medical_examination_act_window #: model:ir.ui.menu,name:hr_employee_medical_examination.hr_employee_medical_examination_generate_wizard #, python-format msgid "Generate Medical Examinations" msgstr "Generar Exámenes Médicos" +#. module: hr_employee_medical_examination +#: model:ir.model,name:hr_employee_medical_examination.model_wizard_generate_medical_examination +#, fuzzy +#| msgid "Generate Medical Examinations" +msgid "Generation wizard for medical examinations" +msgstr "Generar Exámenes Médicos" + #. module: hr_employee_medical_examination #: model:ir.model,name:hr_employee_medical_examination.model_hr_employee_medical_examination msgid "Hr Employee Medical Examination" msgstr "Hr Employee Medical Examination" #. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_id -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination_id +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__id +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__id msgid "ID" msgstr "ID" #. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination_job_id +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_unread +msgid "If checked new messages require your attention." +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_needaction +msgid "If checked, new messages require your attention." +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_error +msgid "If checked, some messages have a delivery error." +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_is_follower +msgid "Is Follower" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__job_id msgid "Job" msgstr "Puesto de Trabajo" #. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination___last_update -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination___last_update +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination____last_update +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination____last_update msgid "Last Modified on" msgstr "Última Modificación" #. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_write_uid -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination_write_uid +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__write_uid +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__write_uid msgid "Last Updated by" msgstr "Actualizado por última vez por" #. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_write_date -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination_write_date +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__write_date +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__write_date msgid "Last Updated on" msgstr "Última Actualización en" #. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_ids +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_main_attachment_id +msgid "Main Attachment" +msgstr "" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view +#, fuzzy +#| msgid "Cancelled" +msgid "Mark as Cancelled" +msgstr "Cancelado" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view +msgid "Mark as Done" +msgstr "" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view +msgid "Mark as Rejected" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee__medical_examination_ids msgid "Medical Examination" msgstr "Exámen Médico" #. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_count +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee__medical_examination_count msgid "Medical Examination Count" msgstr "Número de Exámenes Médicos" #. module: hr_employee_medical_examination #: model:ir.actions.act_window,name:hr_employee_medical_examination.act_medical_examination_employee #: model:ir.ui.menu,name:hr_employee_medical_examination.hr_employee_medical_examination_menu -#: model:ir.ui.view,arch_db:hr_employee_medical_examination.view_employee_form +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.view_employee_form msgid "Medical Examinations" msgstr "Exámenes Médicos" #. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_name +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_error +msgid "Message Delivery error" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_ids +msgid "Messages" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__name msgid "Name" msgstr "Nombre" +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_date_deadline +msgid "Next Activity Deadline" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_summary +msgid "Next Activity Summary" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_type_id +msgid "Next Activity Type" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__note +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view +msgid "Note" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_needaction_counter +msgid "Number of Actions" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_error_counter +msgid "Number of error" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_needaction_counter +msgid "Number of messages which requires an action" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_error_counter +msgid "Number of messages with delivery error" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_unread_counter +msgid "Number of unread messages" +msgstr "" + +#. module: hr_employee_medical_examination +#: selection:hr.employee.medical.examination,activity_state:0 +msgid "Overdue" +msgstr "" + #. module: hr_employee_medical_examination #: selection:hr.employee.medical.examination,result:0 -#: model:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_search_view +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_search_view msgid "Passed" msgstr "Aprobado" #. module: hr_employee_medical_examination #: selection:hr.employee.medical.examination,state:0 -#: model:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_search_view +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_search_view msgid "Pending" msgstr "Pendiente" #. module: hr_employee_medical_examination -#: model:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view +#: selection:hr.employee.medical.examination,activity_state:0 +msgid "Planned" +msgstr "" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view msgid "Populate" msgstr "Buscar" #. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_result +#: selection:hr.employee.medical.examination,state:0 +msgid "Rejected" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_user_id +msgid "Responsible User" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__result msgid "Result" msgstr "Resultado" #. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_state +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__state msgid "State" msgstr "Estado" +#. module: hr_employee_medical_examination +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_state +msgid "" +"Status based on activities\n" +"Overdue: Due date is already passed\n" +"Today: Activity date is today\n" +"Planned: Future activities." +msgstr "" + +#. module: hr_employee_medical_examination +#: selection:hr.employee.medical.examination,activity_state:0 +msgid "Today" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_unread +msgid "Unread Messages" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_unread_counter +msgid "Unread Messages Counter" +msgstr "" + #. module: hr_employee_medical_examination #: model:ir.ui.menu,name:hr_employee_medical_examination.hr_employee_medical_examination_all msgid "View Medical Examinations" msgstr "Ver Exámenes Médicos" #. module: hr_employee_medical_examination -#: model:ir.model,name:hr_employee_medical_examination.model_wizard_generate_medical_examination -msgid "wizard.generate.medical.examination" -msgstr "wizardgenerate.medical.examination" +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__website_message_ids +msgid "Website Messages" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__website_message_ids +msgid "Website communication history" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__year +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__year +msgid "Year" +msgstr "" + +#~ msgid "wizard.generate.medical.examination" +#~ msgstr "wizardgenerate.medical.examination" diff --git a/hr_employee_medical_examination/i18n/hr_employee_medical_examination.pot b/hr_employee_medical_examination/i18n/hr_employee_medical_examination.pot index 08e504c03e3..2d4ec414ee2 100644 --- a/hr_employee_medical_examination/i18n/hr_employee_medical_examination.pot +++ b/hr_employee_medical_examination/i18n/hr_employee_medical_examination.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 11.0\n" +"Project-Id-Version: Odoo Server 12.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: <>\n" "Language-Team: \n" @@ -14,23 +14,53 @@ msgstr "" "Plural-Forms: \n" #. module: hr_employee_medical_examination -#: code:addons/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py:52 +#: code:addons/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py:58 #, python-format msgid "%s on %s" msgstr "" #. module: hr_employee_medical_examination -#: model:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view msgid "Filters:" msgstr "" #. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_can_see_examinations_button +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_needaction +msgid "Action Needed" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_ids +msgid "Activities" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_state +msgid "Activity State" +msgstr "" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view +msgid "Add note..." +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_attachment_count +msgid "Attachment Count" +msgstr "" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view +msgid "Back To Pending" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee__can_see_examinations_button msgid "Can See Examinations Button" msgstr "" #. module: hr_employee_medical_examination -#: model:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view msgid "Cancel" msgstr "" @@ -40,25 +70,25 @@ msgid "Cancelled" msgstr "" #. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_create_uid -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination_create_uid +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__create_uid +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__create_uid msgid "Created by" msgstr "" #. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_create_date -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination_create_date +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__create_date +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__create_date msgid "Created on" msgstr "" #. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination_department_id +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__department_id msgid "Department" msgstr "" #. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_display_name -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination_display_name +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__display_name +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__display_name msgid "Display Name" msgstr "" @@ -69,7 +99,7 @@ msgstr "" #. module: hr_employee_medical_examination #: model:ir.model,name:hr_employee_medical_examination.model_hr_employee -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_employee_id +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__employee_id msgid "Employee" msgstr "" @@ -79,140 +109,310 @@ msgid "Employee Medical Examinations" msgstr "" #. module: hr_employee_medical_examination -#: model:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view msgid "Employee's Name" msgstr "" #. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination_employee_ids -#: model:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__employee_ids +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view msgid "Employees" msgstr "" #. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_date +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__date msgid "Examination Date" msgstr "" #. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination_name +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__name msgid "Examination Name" msgstr "" #. module: hr_employee_medical_examination #: selection:hr.employee.medical.examination,result:0 -#: model:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_search_view +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_search_view msgid "Failed" msgstr "" #. module: hr_employee_medical_examination -#: model:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_follower_ids +msgid "Followers" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_channel_ids +msgid "Followers (Channels)" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_partner_ids +msgid "Followers (Partners)" +msgstr "" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view msgid "Generate" msgstr "" #. module: hr_employee_medical_examination -#: model:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view msgid "Generate Medical Examination" msgstr "" #. module: hr_employee_medical_examination -#: code:addons/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py:40 +#: code:addons/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py:46 #: model:ir.actions.act_window,name:hr_employee_medical_examination.wizard_generate_medical_examination_act_window #: model:ir.ui.menu,name:hr_employee_medical_examination.hr_employee_medical_examination_generate_wizard #, python-format msgid "Generate Medical Examinations" msgstr "" +#. module: hr_employee_medical_examination +#: model:ir.model,name:hr_employee_medical_examination.model_wizard_generate_medical_examination +msgid "Generation wizard for medical examinations" +msgstr "" + #. module: hr_employee_medical_examination #: model:ir.model,name:hr_employee_medical_examination.model_hr_employee_medical_examination msgid "Hr Employee Medical Examination" msgstr "" #. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_id -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination_id +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__id +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__id msgid "ID" msgstr "" #. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination_job_id +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_unread +msgid "If checked new messages require your attention." +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_needaction +msgid "If checked, new messages require your attention." +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_error +msgid "If checked, some messages have a delivery error." +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_is_follower +msgid "Is Follower" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__job_id msgid "Job" msgstr "" #. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination___last_update -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination___last_update +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination____last_update +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination____last_update msgid "Last Modified on" msgstr "" #. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_write_uid -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination_write_uid +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__write_uid +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__write_uid msgid "Last Updated by" msgstr "" #. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_write_date -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination_write_date +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__write_date +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__write_date msgid "Last Updated on" msgstr "" #. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_ids +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_main_attachment_id +msgid "Main Attachment" +msgstr "" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view +msgid "Mark as Cancelled" +msgstr "" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view +msgid "Mark as Done" +msgstr "" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view +msgid "Mark as Rejected" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee__medical_examination_ids msgid "Medical Examination" msgstr "" #. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_count +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee__medical_examination_count msgid "Medical Examination Count" msgstr "" #. module: hr_employee_medical_examination #: model:ir.actions.act_window,name:hr_employee_medical_examination.act_medical_examination_employee #: model:ir.ui.menu,name:hr_employee_medical_examination.hr_employee_medical_examination_menu -#: model:ir.ui.view,arch_db:hr_employee_medical_examination.view_employee_form +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.view_employee_form msgid "Medical Examinations" msgstr "" #. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_name +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_error +msgid "Message Delivery error" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_ids +msgid "Messages" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__name msgid "Name" msgstr "" +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_date_deadline +msgid "Next Activity Deadline" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_summary +msgid "Next Activity Summary" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_type_id +msgid "Next Activity Type" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__note +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view +msgid "Note" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_needaction_counter +msgid "Number of Actions" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_error_counter +msgid "Number of error" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_needaction_counter +msgid "Number of messages which requires an action" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_error_counter +msgid "Number of messages with delivery error" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_unread_counter +msgid "Number of unread messages" +msgstr "" + +#. module: hr_employee_medical_examination +#: selection:hr.employee.medical.examination,activity_state:0 +msgid "Overdue" +msgstr "" + #. module: hr_employee_medical_examination #: selection:hr.employee.medical.examination,result:0 -#: model:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_search_view +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_search_view msgid "Passed" msgstr "" #. module: hr_employee_medical_examination #: selection:hr.employee.medical.examination,state:0 -#: model:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_search_view +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_search_view msgid "Pending" msgstr "" #. module: hr_employee_medical_examination -#: model:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view +#: selection:hr.employee.medical.examination,activity_state:0 +msgid "Planned" +msgstr "" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view msgid "Populate" msgstr "" #. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_result +#: selection:hr.employee.medical.examination,state:0 +msgid "Rejected" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_user_id +msgid "Responsible User" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__result msgid "Result" msgstr "" #. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination_state +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__state msgid "State" msgstr "" +#. module: hr_employee_medical_examination +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_state +msgid "Status based on activities\n" +"Overdue: Due date is already passed\n" +"Today: Activity date is today\n" +"Planned: Future activities." +msgstr "" + +#. module: hr_employee_medical_examination +#: selection:hr.employee.medical.examination,activity_state:0 +msgid "Today" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_unread +msgid "Unread Messages" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_unread_counter +msgid "Unread Messages Counter" +msgstr "" + #. module: hr_employee_medical_examination #: model:ir.ui.menu,name:hr_employee_medical_examination.hr_employee_medical_examination_all msgid "View Medical Examinations" msgstr "" #. module: hr_employee_medical_examination -#: model:ir.model,name:hr_employee_medical_examination.model_wizard_generate_medical_examination -msgid "wizard.generate.medical.examination" +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__website_message_ids +msgid "Website Messages" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__website_message_ids +msgid "Website communication history" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__year +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__year +msgid "Year" msgstr "" diff --git a/hr_employee_medical_examination/models/hr_employee_medical_examination.py b/hr_employee_medical_examination/models/hr_employee_medical_examination.py index a1f002668e4..5319414f9e3 100644 --- a/hr_employee_medical_examination/models/hr_employee_medical_examination.py +++ b/hr_employee_medical_examination/models/hr_employee_medical_examination.py @@ -1,7 +1,9 @@ # Copyright 2019 Creu Blanca # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from odoo import fields, models +import datetime + +from odoo import api, fields, models class HrEmployeeMedicalExamination(models.Model): @@ -20,7 +22,8 @@ class HrEmployeeMedicalExamination(models.Model): ('pending', 'Pending'), ('done', 'Done'), ('cancelled', 'Cancelled'), - ], default='pending', + ("rejected", "Rejected"), + ], default='pending', readonly=True, track_visibility='onchange', ) @@ -40,3 +43,31 @@ class HrEmployeeMedicalExamination(models.Model): 'hr.employee', string='Employee', required=True, track_visibility='onchange', ) + + year = fields.Char( + "Year", default=lambda r: str(datetime.date.today().year), + ) + + note = fields.Text(track_visibility='onchange') + + @api.onchange('date') + def _onchange_date(self): + for record in self: + if record.date: + record.year = str(record.date.year) + + @api.multi + def back_to_pending(self): + self.write({"state": "pending"}) + + @api.multi + def to_done(self): + self.write({"state": "done"}) + + @api.multi + def to_cancelled(self): + self.write({"state": "cancelled"}) + + @api.multi + def to_rejected(self): + self.write({"state": "rejected"}) diff --git a/hr_employee_medical_examination/static/description/index.html b/hr_employee_medical_examination/static/description/index.html index a57e2c9c8ab..f4b80e44b09 100644 --- a/hr_employee_medical_examination/static/description/index.html +++ b/hr_employee_medical_examination/static/description/index.html @@ -367,7 +367,7 @@

Hr Employee Medical Examination

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

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

+

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

Adds information about employee’s medical examinations

Table of contents

@@ -403,7 +403,7 @@

Bug Tracker

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

+feedback.

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

@@ -427,7 +427,7 @@

Maintainers

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.

+

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_medical_examination/tests/test_hr_employee_medical_examination.py b/hr_employee_medical_examination/tests/test_hr_employee_medical_examination.py index cfce0bb9ac6..6ff9e22fc40 100644 --- a/hr_employee_medical_examination/tests/test_hr_employee_medical_examination.py +++ b/hr_employee_medical_examination/tests/test_hr_employee_medical_examination.py @@ -50,3 +50,14 @@ def test_hr_employee_medical_examination(self): self.assertEqual(examination.name, 'Examination 2019 on Employee 1') self.assertEqual(self.employee1.medical_examination_count, 2) self.assertTrue(self.employee1.can_see_examinations_button) + examination.write({'date': '05-05-2018'}) + examination._onchange_date() + self.assertEqual(examination.year, '2018') + examination.to_done() + self.assertEqual(examination.state, 'done') + examination.to_cancelled() + self.assertEqual(examination.state, 'cancelled') + examination.to_rejected() + self.assertEqual(examination.state, 'rejected') + examination.back_to_pending() + self.assertEqual(examination.state, 'pending') diff --git a/hr_employee_medical_examination/views/hr_employee_medical_examination_views.xml b/hr_employee_medical_examination/views/hr_employee_medical_examination_views.xml index 8da0dfba74a..989b31168e0 100644 --- a/hr_employee_medical_examination/views/hr_employee_medical_examination_views.xml +++ b/hr_employee_medical_examination/views/hr_employee_medical_examination_views.xml @@ -12,7 +12,11 @@
- +
@@ -25,11 +29,16 @@ + +
+ + +
@@ -41,14 +50,13 @@ - hr.employee.medical.examination.search (in - hr_employee_medical_examination) - + hr.employee.medical.examination.search (in hr_employee_medical_examination) hr.employee.medical.examination + @@ -59,13 +67,12 @@ - hr.employee.medical.examination.tree (in - hr_employee_medical_examination) - + hr.employee.medical.examination.tree (in hr_employee_medical_examination) hr.employee.medical.examination + diff --git a/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py b/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py index 66fd8a66d1c..a8366e9337d 100644 --- a/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py +++ b/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py @@ -1,14 +1,20 @@ # Copyright 2019 Creu Blanca # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +from datetime import date + from odoo import api, fields, models, _ class WizardGenerateMedicalExamination(models.TransientModel): _name = 'wizard.generate.medical.examination' + _description = 'Generation wizard for medical examinations' name = fields.Char(required=True, string='Examination Name') + year = fields.Char( + "Year", default=lambda r: str(date.today().year), + ) employee_ids = fields.Many2many( comodel_name='hr.employee', @@ -51,6 +57,7 @@ def _create_examination_vals(self, employee): return { 'name': _('%s on %s') % (self.name, employee.name), 'employee_id': employee.id, + 'year': self.year, } @api.multi diff --git a/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.xml b/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.xml index 79e3817bd37..c29586d1a36 100644 --- a/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.xml +++ b/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.xml @@ -13,6 +13,9 @@ + + +

Filters:

From e5679869047ec77bb346bd80efa5ea44eb392c1f Mon Sep 17 00:00:00 2001 From: Jaime Arroyo Date: Tue, 21 Jul 2020 13:21:21 +0200 Subject: [PATCH 03/39] [IMP] hr_employee_medical_examination: black, isort, prettier --- .../__manifest__.py | 28 ++-- .../models/hr_employee.py | 19 ++- .../models/hr_employee_medical_examination.py | 46 +++--- ..._employee_medical_examination_security.xml | 18 ++- .../test_hr_employee_medical_examination.py | 57 ++++---- .../hr_employee_medical_examination_views.xml | 133 +++++++++++------- .../views/hr_employee_views.xml | 31 ++-- .../wizard_generate_medical_examination.py | 65 ++++----- .../wizard_generate_medical_examination.xml | 71 ++++++---- 9 files changed, 245 insertions(+), 223 deletions(-) diff --git a/hr_employee_medical_examination/__manifest__.py b/hr_employee_medical_examination/__manifest__.py index a1d8796c0cc..697756b414f 100644 --- a/hr_employee_medical_examination/__manifest__.py +++ b/hr_employee_medical_examination/__manifest__.py @@ -2,21 +2,19 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { - 'name': 'Hr Employee Medical Examination', - 'summary': """ + "name": "Hr Employee Medical Examination", + "summary": """ Adds information about employee's medical examinations""", - 'version': '12.0.1.0.0', - 'license': 'AGPL-3', - 'author': 'Creu Blanca,Odoo Community Association (OCA)', - 'website': 'https://github.com/OCA/hr', - 'depends': [ - 'hr', - ], - 'data': [ - 'views/hr_employee_medical_examination_views.xml', - 'wizards/wizard_generate_medical_examination.xml', - 'views/hr_employee_views.xml', - 'security/ir.model.access.csv', - 'security/hr_employee_medical_examination_security.xml', + "version": "13.0.1.0.0", + "license": "AGPL-3", + "author": "Creu Blanca,Odoo Community Association (OCA)", + "website": "https://github.com/OCA/hr", + "depends": ["hr"], + "data": [ + "views/hr_employee_medical_examination_views.xml", + "wizards/wizard_generate_medical_examination.xml", + "views/hr_employee_views.xml", + "security/ir.model.access.csv", + "security/hr_employee_medical_examination_security.xml", ], } diff --git a/hr_employee_medical_examination/models/hr_employee.py b/hr_employee_medical_examination/models/hr_employee.py index f1717f38626..49793807d61 100644 --- a/hr_employee_medical_examination/models/hr_employee.py +++ b/hr_employee_medical_examination/models/hr_employee.py @@ -6,32 +6,29 @@ class HrEmployee(models.Model): - _inherit = 'hr.employee' + _inherit = "hr.employee" medical_examination_ids = fields.One2many( - comodel_name='hr.employee.medical.examination', - inverse_name='employee_id', + comodel_name="hr.employee.medical.examination", inverse_name="employee_id", ) medical_examination_count = fields.Integer( - compute='_compute_medical_examination_count', + compute="_compute_medical_examination_count", ) can_see_examinations_button = fields.Boolean( - compute='_compute_can_see_examinations_button', + compute="_compute_can_see_examinations_button", ) - @api.depends('medical_examination_ids') + @api.depends("medical_examination_ids") def _compute_medical_examination_count(self): for record in self: - record.medical_examination_count = len( - record.medical_examination_ids - ) + record.medical_examination_count = len(record.medical_examination_ids) @api.multi def _compute_can_see_examinations_button(self): for record in self: record.can_see_examinations_button = ( - self.env.uid == record.user_id.id or - self.env.user.has_group('hr.group_hr_manager') + self.env.uid == record.user_id.id + or self.env.user.has_group("hr.group_hr_manager") ) diff --git a/hr_employee_medical_examination/models/hr_employee_medical_examination.py b/hr_employee_medical_examination/models/hr_employee_medical_examination.py index 5319414f9e3..c10eba9a573 100644 --- a/hr_employee_medical_examination/models/hr_employee_medical_examination.py +++ b/hr_employee_medical_examination/models/hr_employee_medical_examination.py @@ -8,49 +8,39 @@ class HrEmployeeMedicalExamination(models.Model): - _name = 'hr.employee.medical.examination' - _description = 'Hr Employee Medical Examination' - _inherit = ['mail.thread', 'mail.activity.mixin'] + _name = "hr.employee.medical.examination" + _description = "Hr Employee Medical Examination" + _inherit = ["mail.thread", "mail.activity.mixin"] - name = fields.Char( - required=True, - track_visibility='onchange', - ) + name = fields.Char(required=True, track_visibility="onchange",) state = fields.Selection( selection=[ - ('pending', 'Pending'), - ('done', 'Done'), - ('cancelled', 'Cancelled'), + ("pending", "Pending"), + ("done", "Done"), + ("cancelled", "Cancelled"), ("rejected", "Rejected"), - ], default='pending', readonly=True, - track_visibility='onchange', + ], + default="pending", + readonly=True, + track_visibility="onchange", ) - date = fields.Date( - string='Examination Date', - track_visibility='onchange', - ) + date = fields.Date(string="Examination Date", track_visibility="onchange",) result = fields.Selection( - selection=[ - ('failed', 'Failed'), - ('passed', 'Passed'), - ], - track_visibility='onchange', + selection=[("failed", "Failed"), ("passed", "Passed")], + track_visibility="onchange", ) employee_id = fields.Many2one( - 'hr.employee', string='Employee', required=True, - track_visibility='onchange', + "hr.employee", string="Employee", required=True, track_visibility="onchange", ) - year = fields.Char( - "Year", default=lambda r: str(datetime.date.today().year), - ) + year = fields.Char("Year", default=lambda r: str(datetime.date.today().year)) - note = fields.Text(track_visibility='onchange') + note = fields.Text(track_visibility="onchange") - @api.onchange('date') + @api.onchange("date") def _onchange_date(self): for record in self: if record.date: diff --git a/hr_employee_medical_examination/security/hr_employee_medical_examination_security.xml b/hr_employee_medical_examination/security/hr_employee_medical_examination_security.xml index 28d90a8fd91..dbcffc8efcd 100644 --- a/hr_employee_medical_examination/security/hr_employee_medical_examination_security.xml +++ b/hr_employee_medical_examination/security/hr_employee_medical_examination_security.xml @@ -1,17 +1,23 @@ - + Base User: Only own examinations - + [('employee_id.user_id','=',user.id)] - + - + Manager: All Examinations - + [(1,'=',1)] - + diff --git a/hr_employee_medical_examination/tests/test_hr_employee_medical_examination.py b/hr_employee_medical_examination/tests/test_hr_employee_medical_examination.py index 6ff9e22fc40..442e7e78001 100644 --- a/hr_employee_medical_examination/tests/test_hr_employee_medical_examination.py +++ b/hr_employee_medical_examination/tests/test_hr_employee_medical_examination.py @@ -5,59 +5,52 @@ class TestHrEmployeeMedicalExamination(TransactionCase): - def setUp(self): super(TestHrEmployeeMedicalExamination, self).setUp() - self.department = self.env['hr.department'].create({ - 'name': 'Department' - }) + self.department = self.env["hr.department"].create({"name": "Department"}) - self.job = self.env['hr.job'].create({ - 'name': 'Job' - }) + self.job = self.env["hr.job"].create({"name": "Job"}) - self.employee1 = self.env['hr.employee'].create({ - 'name': 'Employee 1', - 'job_id': self.job.id, - 'department_id': self.department.id, - }) + self.employee1 = self.env["hr.employee"].create( + { + "name": "Employee 1", + "job_id": self.job.id, + "department_id": self.department.id, + } + ) - self.examination = self.env['hr.employee.medical.examination'].create({ - 'name': 'Dummy Exam to test domain', - 'employee_id': self.employee1.id, - }) + self.examination = self.env["hr.employee.medical.examination"].create( + {"name": "Dummy Exam to test domain", "employee_id": self.employee1.id} + ) - self.wizard = self.env['wizard.generate.medical.examination'].create({ - 'name': 'Examination 2019' - }) + self.wizard = self.env["wizard.generate.medical.examination"].create( + {"name": "Examination 2019"} + ) def test_hr_employee_medical_examination(self): self.assertFalse(self.wizard.employee_ids) - self.wizard.write({ - 'job_id': self.job.id, - 'department_id': self.department.id, - }) + self.wizard.write({"job_id": self.job.id, "department_id": self.department.id}) self.wizard.populate() self.assertEqual(len(self.wizard.employee_ids), 1) result = self.wizard.create_medical_examinations() - examination = self.env['hr.employee.medical.examination'].search( - result['domain'] + examination = self.env["hr.employee.medical.examination"].search( + result["domain"] ) self.assertTrue(examination) self.assertEqual(1, len(examination)) - self.assertEqual(examination.name, 'Examination 2019 on Employee 1') + self.assertEqual(examination.name, "Examination 2019 on Employee 1") self.assertEqual(self.employee1.medical_examination_count, 2) self.assertTrue(self.employee1.can_see_examinations_button) - examination.write({'date': '05-05-2018'}) + examination.write({"date": "05-05-2018"}) examination._onchange_date() - self.assertEqual(examination.year, '2018') + self.assertEqual(examination.year, "2018") examination.to_done() - self.assertEqual(examination.state, 'done') + self.assertEqual(examination.state, "done") examination.to_cancelled() - self.assertEqual(examination.state, 'cancelled') + self.assertEqual(examination.state, "cancelled") examination.to_rejected() - self.assertEqual(examination.state, 'rejected') + self.assertEqual(examination.state, "rejected") examination.back_to_pending() - self.assertEqual(examination.state, 'pending') + self.assertEqual(examination.state, "pending") diff --git a/hr_employee_medical_examination/views/hr_employee_medical_examination_views.xml b/hr_employee_medical_examination/views/hr_employee_medical_examination_views.xml index 989b31168e0..57eca2b2dc3 100644 --- a/hr_employee_medical_examination/views/hr_employee_medical_examination_views.xml +++ b/hr_employee_medical_examination/views/hr_employee_medical_examination_views.xml @@ -1,9 +1,7 @@ - + - - hr.employee.medical.examination.form (in hr_employee_medical_examination) @@ -12,89 +10,128 @@
-
-
- - - + + + - +
- - + +
- - - + + +
- - hr.employee.medical.examination.search (in hr_employee_medical_examination) + hr.employee.medical.examination.search (in hr_employee_medical_examination) hr.employee.medical.examination - - - + + + - - + + - + - - hr.employee.medical.examination.tree (in hr_employee_medical_examination) + hr.employee.medical.examination.tree (in hr_employee_medical_examination) hr.employee.medical.examination - - - - + + + + - - + Employee Medical Examinations hr.employee.medical.examination tree,form - - - - - + +
diff --git a/hr_employee_medical_examination/views/hr_employee_views.xml b/hr_employee_medical_examination/views/hr_employee_views.xml index 72d788f5483..f09dd648771 100644 --- a/hr_employee_medical_examination/views/hr_employee_views.xml +++ b/hr_employee_medical_examination/views/hr_employee_views.xml @@ -1,35 +1,38 @@ - + - - Medical Examinations - hr.employee.medical.examination - form - tree,form - { + Medical Examinations + hr.employee.medical.examination + form + tree,form + { 'search_default_employee_id': [active_id], 'default_employee_id': active_id, } - hr.employee.form (in hr_employee_medical_examination) hr.employee - +
- -
-
diff --git a/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py b/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py index a8366e9337d..ffa2082c553 100644 --- a/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py +++ b/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py @@ -3,76 +3,65 @@ from datetime import date -from odoo import api, fields, models, _ +from odoo import _, api, fields, models class WizardGenerateMedicalExamination(models.TransientModel): - _name = 'wizard.generate.medical.examination' - _description = 'Generation wizard for medical examinations' + _name = "wizard.generate.medical.examination" + _description = "Generation wizard for medical examinations" - name = fields.Char(required=True, string='Examination Name') - year = fields.Char( - "Year", default=lambda r: str(date.today().year), - ) + name = fields.Char(required=True, string="Examination Name") + year = fields.Char("Year", default=lambda r: str(date.today().year),) - employee_ids = fields.Many2many( - comodel_name='hr.employee', - string='Employees' - ) - department_id = fields.Many2one( - comodel_name='hr.department', - string='Department', - ) - job_id = fields.Many2one( - comodel_name='hr.job', - string='Job', - ) + employee_ids = fields.Many2many(comodel_name="hr.employee", string="Employees") + department_id = fields.Many2one(comodel_name="hr.department", string="Department",) + job_id = fields.Many2one(comodel_name="hr.job", string="Job",) def _prepare_employee_domain(self): res = [] if self.job_id: - res.append(('job_id', '=', self.job_id.id)) + res.append(("job_id", "=", self.job_id.id)) if self.department_id: - res.append(('department_id', 'child_of', self.department_id.id)) + res.append(("department_id", "child_of", self.department_id.id)) return res @api.multi def populate(self): domain = self._prepare_employee_domain() - employees = self.env['hr.employee'].search(domain) + employees = self.env["hr.employee"].search(domain) self.employee_ids = employees action = { - 'name': _('Generate Medical Examinations'), - 'type': 'ir.actions.act_window', - 'res_model': 'wizard.generate.medical.examination', - 'view_mode': 'form', - 'target': 'new', - 'res_id': self.id, - 'context': self._context, + "name": _("Generate Medical Examinations"), + "type": "ir.actions.act_window", + "res_model": "wizard.generate.medical.examination", + "view_mode": "form", + "target": "new", + "res_id": self.id, + "context": self._context, } return action def _create_examination_vals(self, employee): return { - 'name': _('%s on %s') % (self.name, employee.name), - 'employee_id': employee.id, - 'year': self.year, + "name": _("%s on %s") % (self.name, employee.name), + "employee_id": employee.id, + "year": self.year, } @api.multi def create_medical_examinations(self): - exams = self.env['hr.employee.medical.examination'] + exams = self.env["hr.employee.medical.examination"] for form in self: for employee in form.employee_ids: - exams |= self.env['hr.employee.medical.examination'].create( + exams |= self.env["hr.employee.medical.examination"].create( form._create_examination_vals(employee) ) action = self.env.ref( - 'hr_employee_medical_examination.hr_employee' - '_medical_examination_act_window', - False + "hr_employee_medical_examination.hr_employee" + "_medical_examination_act_window", + False, ) result = action.read()[0] - result['domain'] = [('id', 'in', exams.ids)] + result["domain"] = [("id", "in", exams.ids)] return result diff --git a/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.xml b/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.xml index c29586d1a36..e64838850d7 100644 --- a/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.xml +++ b/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.xml @@ -1,71 +1,80 @@ - + - - - wizard.generate.medical.examination.form (in hr_employee_medical_examination) + wizard.generate.medical.examination.form (in hr_employee_medical_examination) wizard.generate.medical.examination
- + - + -

Filters:

+

+ Filters: +

- + - +
-
- - - - + + + +
-
- - + Generate Medical Examinations wizard.generate.medical.examination form new - - - +
From 64ba67dd67b554eef19200979b79599e8fa8b725 Mon Sep 17 00:00:00 2001 From: Jaime Arroyo Date: Tue, 21 Jul 2020 13:32:56 +0200 Subject: [PATCH 04/39] [13.0][MIG] hr_employee_medical_examination --- hr_employee_medical_examination/README.rst | 10 +-- hr_employee_medical_examination/i18n/es.po | 66 ++++++++--------- .../i18n/hr_employee_medical_examination.pot | 73 +++++++++---------- .../models/hr_employee.py | 1 - .../models/hr_employee_medical_examination.py | 4 - .../static/description/index.html | 6 +- .../test_hr_employee_medical_examination.py | 2 +- .../views/hr_employee_views.xml | 1 - .../wizard_generate_medical_examination.py | 4 +- 9 files changed, 75 insertions(+), 92 deletions(-) diff --git a/hr_employee_medical_examination/README.rst b/hr_employee_medical_examination/README.rst index e5b40ad206c..1ebca6f229d 100644 --- a/hr_employee_medical_examination/README.rst +++ b/hr_employee_medical_examination/README.rst @@ -14,13 +14,13 @@ Hr Employee Medical Examination :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fhr-lightgray.png?logo=github - :target: https://github.com/OCA/hr/tree/12.0/hr_employee_medical_examination + :target: https://github.com/OCA/hr/tree/13.0/hr_employee_medical_examination :alt: OCA/hr .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/hr-12-0/hr-12-0-hr_employee_medical_examination + :target: https://translation.odoo-community.org/projects/hr-13-0/hr-13-0-hr_employee_medical_examination :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/116/12.0 + :target: https://runbot.odoo-community.org/runbot/116/13.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -56,7 +56,7 @@ Bug Tracker Bugs are tracked on `GitHub Issues `_. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -86,6 +86,6 @@ 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. +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_medical_examination/i18n/es.po b/hr_employee_medical_examination/i18n/es.po index 3066a7912b7..2b159abd51b 100644 --- a/hr_employee_medical_examination/i18n/es.po +++ b/hr_employee_medical_examination/i18n/es.po @@ -17,7 +17,7 @@ msgstr "" "X-Generator: Weblate 3.8\n" #. module: hr_employee_medical_examination -#: code:addons/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py:58 +#: code:addons/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py:0 #, python-format msgid "%s on %s" msgstr "%s en %s" @@ -37,6 +37,11 @@ msgstr "" msgid "Activities" msgstr "" +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_exception_decoration +msgid "Activity Exception Decoration" +msgstr "" + #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_state msgid "Activity State" @@ -55,7 +60,6 @@ msgstr "" #. module: hr_employee_medical_examination #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view #, fuzzy -#| msgid "Pending" msgid "Back To Pending" msgstr "Pendiente" @@ -70,7 +74,7 @@ msgid "Cancel" msgstr "Cancelar" #. module: hr_employee_medical_examination -#: selection:hr.employee.medical.examination,state:0 +#: model:ir.model.fields.selection,name:hr_employee_medical_examination.selection__hr_employee_medical_examination__state__cancelled msgid "Cancelled" msgstr "Cancelado" @@ -98,7 +102,7 @@ msgid "Display Name" msgstr "Nombre a Mostrar" #. module: hr_employee_medical_examination -#: selection:hr.employee.medical.examination,state:0 +#: model:ir.model.fields.selection,name:hr_employee_medical_examination.selection__hr_employee_medical_examination__state__done msgid "Done" msgstr "Hecho" @@ -135,7 +139,7 @@ msgid "Examination Name" msgstr "Nombre del Exámen Médico" #. module: hr_employee_medical_examination -#: selection:hr.employee.medical.examination,result:0 +#: model:ir.model.fields.selection,name:hr_employee_medical_examination.selection__hr_employee_medical_examination__result__failed #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_search_view msgid "Failed" msgstr "Suspendido" @@ -166,7 +170,7 @@ msgid "Generate Medical Examination" msgstr "Generar Exámenes Médicos" #. module: hr_employee_medical_examination -#: code:addons/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py:46 +#: code:addons/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py:0 #: model:ir.actions.act_window,name:hr_employee_medical_examination.wizard_generate_medical_examination_act_window #: model:ir.ui.menu,name:hr_employee_medical_examination.hr_employee_medical_examination_generate_wizard #, python-format @@ -176,7 +180,6 @@ msgstr "Generar Exámenes Médicos" #. module: hr_employee_medical_examination #: model:ir.model,name:hr_employee_medical_examination.model_wizard_generate_medical_examination #, fuzzy -#| msgid "Generate Medical Examinations" msgid "Generation wizard for medical examinations" msgstr "Generar Exámenes Médicos" @@ -192,17 +195,24 @@ msgid "ID" msgstr "ID" #. module: hr_employee_medical_examination -#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_unread -msgid "If checked new messages require your attention." +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_exception_icon +msgid "Icon" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_exception_icon +msgid "Icon to indicate an exception activity." msgstr "" #. module: hr_employee_medical_examination #: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_needaction +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_unread msgid "If checked, new messages require your attention." msgstr "" #. module: hr_employee_medical_examination #: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_error +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "" @@ -242,7 +252,6 @@ msgstr "" #. module: hr_employee_medical_examination #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view #, fuzzy -#| msgid "Cancelled" msgid "Mark as Cancelled" msgstr "Cancelado" @@ -316,7 +325,7 @@ msgstr "" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_error_counter -msgid "Number of error" +msgid "Number of errors" msgstr "" #. module: hr_employee_medical_examination @@ -335,34 +344,24 @@ msgid "Number of unread messages" msgstr "" #. module: hr_employee_medical_examination -#: selection:hr.employee.medical.examination,activity_state:0 -msgid "Overdue" -msgstr "" - -#. module: hr_employee_medical_examination -#: selection:hr.employee.medical.examination,result:0 +#: model:ir.model.fields.selection,name:hr_employee_medical_examination.selection__hr_employee_medical_examination__result__passed #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_search_view msgid "Passed" msgstr "Aprobado" #. module: hr_employee_medical_examination -#: selection:hr.employee.medical.examination,state:0 +#: model:ir.model.fields.selection,name:hr_employee_medical_examination.selection__hr_employee_medical_examination__state__pending #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_search_view msgid "Pending" msgstr "Pendiente" -#. module: hr_employee_medical_examination -#: selection:hr.employee.medical.examination,activity_state:0 -msgid "Planned" -msgstr "" - #. module: hr_employee_medical_examination #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view msgid "Populate" msgstr "Buscar" #. module: hr_employee_medical_examination -#: selection:hr.employee.medical.examination,state:0 +#: model:ir.model.fields.selection,name:hr_employee_medical_examination.selection__hr_employee_medical_examination__state__rejected msgid "Rejected" msgstr "" @@ -376,6 +375,11 @@ msgstr "" msgid "Result" msgstr "Resultado" +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_sms_error +msgid "SMS Delivery error" +msgstr "" + #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__state msgid "State" @@ -391,8 +395,8 @@ msgid "" msgstr "" #. module: hr_employee_medical_examination -#: selection:hr.employee.medical.examination,activity_state:0 -msgid "Today" +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_exception_decoration +msgid "Type of the exception activity on record." msgstr "" #. module: hr_employee_medical_examination @@ -410,16 +414,6 @@ msgstr "" msgid "View Medical Examinations" msgstr "Ver Exámenes Médicos" -#. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__website_message_ids -msgid "Website Messages" -msgstr "" - -#. module: hr_employee_medical_examination -#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__website_message_ids -msgid "Website communication history" -msgstr "" - #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__year #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__year diff --git a/hr_employee_medical_examination/i18n/hr_employee_medical_examination.pot b/hr_employee_medical_examination/i18n/hr_employee_medical_examination.pot index 2d4ec414ee2..dccbf10ab8d 100644 --- a/hr_employee_medical_examination/i18n/hr_employee_medical_examination.pot +++ b/hr_employee_medical_examination/i18n/hr_employee_medical_examination.pot @@ -1,12 +1,12 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * hr_employee_medical_examination +# * hr_employee_medical_examination # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 12.0\n" +"Project-Id-Version: Odoo Server 13.0\n" "Report-Msgid-Bugs-To: \n" -"Last-Translator: <>\n" +"Last-Translator: \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -14,7 +14,7 @@ msgstr "" "Plural-Forms: \n" #. module: hr_employee_medical_examination -#: code:addons/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py:58 +#: code:addons/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py:0 #, python-format msgid "%s on %s" msgstr "" @@ -34,6 +34,11 @@ msgstr "" msgid "Activities" msgstr "" +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_exception_decoration +msgid "Activity Exception Decoration" +msgstr "" + #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_state msgid "Activity State" @@ -65,7 +70,7 @@ msgid "Cancel" msgstr "" #. module: hr_employee_medical_examination -#: selection:hr.employee.medical.examination,state:0 +#: model:ir.model.fields.selection,name:hr_employee_medical_examination.selection__hr_employee_medical_examination__state__cancelled msgid "Cancelled" msgstr "" @@ -93,7 +98,7 @@ msgid "Display Name" msgstr "" #. module: hr_employee_medical_examination -#: selection:hr.employee.medical.examination,state:0 +#: model:ir.model.fields.selection,name:hr_employee_medical_examination.selection__hr_employee_medical_examination__state__done msgid "Done" msgstr "" @@ -130,7 +135,7 @@ msgid "Examination Name" msgstr "" #. module: hr_employee_medical_examination -#: selection:hr.employee.medical.examination,result:0 +#: model:ir.model.fields.selection,name:hr_employee_medical_examination.selection__hr_employee_medical_examination__result__failed #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_search_view msgid "Failed" msgstr "" @@ -161,7 +166,7 @@ msgid "Generate Medical Examination" msgstr "" #. module: hr_employee_medical_examination -#: code:addons/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py:46 +#: code:addons/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py:0 #: model:ir.actions.act_window,name:hr_employee_medical_examination.wizard_generate_medical_examination_act_window #: model:ir.ui.menu,name:hr_employee_medical_examination.hr_employee_medical_examination_generate_wizard #, python-format @@ -185,17 +190,24 @@ msgid "ID" msgstr "" #. module: hr_employee_medical_examination -#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_unread -msgid "If checked new messages require your attention." +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_exception_icon +msgid "Icon" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_exception_icon +msgid "Icon to indicate an exception activity." msgstr "" #. module: hr_employee_medical_examination #: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_needaction +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_unread msgid "If checked, new messages require your attention." msgstr "" #. module: hr_employee_medical_examination #: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_error +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "" @@ -307,7 +319,7 @@ msgstr "" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_error_counter -msgid "Number of error" +msgid "Number of errors" msgstr "" #. module: hr_employee_medical_examination @@ -326,34 +338,24 @@ msgid "Number of unread messages" msgstr "" #. module: hr_employee_medical_examination -#: selection:hr.employee.medical.examination,activity_state:0 -msgid "Overdue" -msgstr "" - -#. module: hr_employee_medical_examination -#: selection:hr.employee.medical.examination,result:0 +#: model:ir.model.fields.selection,name:hr_employee_medical_examination.selection__hr_employee_medical_examination__result__passed #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_search_view msgid "Passed" msgstr "" #. module: hr_employee_medical_examination -#: selection:hr.employee.medical.examination,state:0 +#: model:ir.model.fields.selection,name:hr_employee_medical_examination.selection__hr_employee_medical_examination__state__pending #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_search_view msgid "Pending" msgstr "" -#. module: hr_employee_medical_examination -#: selection:hr.employee.medical.examination,activity_state:0 -msgid "Planned" -msgstr "" - #. module: hr_employee_medical_examination #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view msgid "Populate" msgstr "" #. module: hr_employee_medical_examination -#: selection:hr.employee.medical.examination,state:0 +#: model:ir.model.fields.selection,name:hr_employee_medical_examination.selection__hr_employee_medical_examination__state__rejected msgid "Rejected" msgstr "" @@ -367,6 +369,11 @@ msgstr "" msgid "Result" msgstr "" +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_sms_error +msgid "SMS Delivery error" +msgstr "" + #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__state msgid "State" @@ -374,15 +381,16 @@ msgstr "" #. module: hr_employee_medical_examination #: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_state -msgid "Status based on activities\n" +msgid "" +"Status based on activities\n" "Overdue: Due date is already passed\n" "Today: Activity date is today\n" "Planned: Future activities." msgstr "" #. module: hr_employee_medical_examination -#: selection:hr.employee.medical.examination,activity_state:0 -msgid "Today" +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_exception_decoration +msgid "Type of the exception activity on record." msgstr "" #. module: hr_employee_medical_examination @@ -400,19 +408,8 @@ msgstr "" msgid "View Medical Examinations" msgstr "" -#. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__website_message_ids -msgid "Website Messages" -msgstr "" - -#. module: hr_employee_medical_examination -#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__website_message_ids -msgid "Website communication history" -msgstr "" - #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__year #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__year msgid "Year" msgstr "" - diff --git a/hr_employee_medical_examination/models/hr_employee.py b/hr_employee_medical_examination/models/hr_employee.py index 49793807d61..2ba2b5c916c 100644 --- a/hr_employee_medical_examination/models/hr_employee.py +++ b/hr_employee_medical_examination/models/hr_employee.py @@ -25,7 +25,6 @@ def _compute_medical_examination_count(self): for record in self: record.medical_examination_count = len(record.medical_examination_ids) - @api.multi def _compute_can_see_examinations_button(self): for record in self: record.can_see_examinations_button = ( diff --git a/hr_employee_medical_examination/models/hr_employee_medical_examination.py b/hr_employee_medical_examination/models/hr_employee_medical_examination.py index c10eba9a573..49f4426af66 100644 --- a/hr_employee_medical_examination/models/hr_employee_medical_examination.py +++ b/hr_employee_medical_examination/models/hr_employee_medical_examination.py @@ -46,18 +46,14 @@ def _onchange_date(self): if record.date: record.year = str(record.date.year) - @api.multi def back_to_pending(self): self.write({"state": "pending"}) - @api.multi def to_done(self): self.write({"state": "done"}) - @api.multi def to_cancelled(self): self.write({"state": "cancelled"}) - @api.multi def to_rejected(self): self.write({"state": "rejected"}) diff --git a/hr_employee_medical_examination/static/description/index.html b/hr_employee_medical_examination/static/description/index.html index f4b80e44b09..319b843217a 100644 --- a/hr_employee_medical_examination/static/description/index.html +++ b/hr_employee_medical_examination/static/description/index.html @@ -367,7 +367,7 @@

Hr Employee Medical Examination

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

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

+

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

Adds information about employee’s medical examinations

Table of contents

@@ -403,7 +403,7 @@

Bug Tracker

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

+feedback.

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

@@ -427,7 +427,7 @@

Maintainers

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.

+

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_medical_examination/tests/test_hr_employee_medical_examination.py b/hr_employee_medical_examination/tests/test_hr_employee_medical_examination.py index 442e7e78001..8d952bcebfc 100644 --- a/hr_employee_medical_examination/tests/test_hr_employee_medical_examination.py +++ b/hr_employee_medical_examination/tests/test_hr_employee_medical_examination.py @@ -43,7 +43,7 @@ def test_hr_employee_medical_examination(self): self.assertEqual(examination.name, "Examination 2019 on Employee 1") self.assertEqual(self.employee1.medical_examination_count, 2) self.assertTrue(self.employee1.can_see_examinations_button) - examination.write({"date": "05-05-2018"}) + examination.write({"date": "2018-05-05"}) examination._onchange_date() self.assertEqual(examination.year, "2018") examination.to_done() diff --git a/hr_employee_medical_examination/views/hr_employee_views.xml b/hr_employee_medical_examination/views/hr_employee_views.xml index f09dd648771..4c0b553aa9d 100644 --- a/hr_employee_medical_examination/views/hr_employee_views.xml +++ b/hr_employee_medical_examination/views/hr_employee_views.xml @@ -5,7 +5,6 @@ Medical Examinations hr.employee.medical.examination - form tree,form { 'search_default_employee_id': [active_id], diff --git a/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py b/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py index ffa2082c553..98ec76fbf3a 100644 --- a/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py +++ b/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py @@ -3,7 +3,7 @@ from datetime import date -from odoo import _, api, fields, models +from odoo import _, fields, models class WizardGenerateMedicalExamination(models.TransientModel): @@ -26,7 +26,6 @@ def _prepare_employee_domain(self): res.append(("department_id", "child_of", self.department_id.id)) return res - @api.multi def populate(self): domain = self._prepare_employee_domain() employees = self.env["hr.employee"].search(domain) @@ -49,7 +48,6 @@ def _create_examination_vals(self, employee): "year": self.year, } - @api.multi def create_medical_examinations(self): exams = self.env["hr.employee.medical.examination"] for form in self: From e715d4cde43aa6c472a4b77cda21636ffe361546 Mon Sep 17 00:00:00 2001 From: aphon61bank Date: Thu, 12 Nov 2020 14:31:07 +0700 Subject: [PATCH 05/39] [14.0][MIG] hr_employee_medical_examination --- hr_employee_medical_examination/README.rst | 12 ++++---- .../__manifest__.py | 2 +- hr_employee_medical_examination/i18n/es.po | 28 +++++++++++++++++ .../i18n/hr_employee_medical_examination.pot | 30 ++++++++++++++++++- .../models/hr_employee.py | 3 +- .../models/hr_employee_medical_examination.py | 21 +++++++++---- .../readme/CONTRIBUTORS.rst | 2 ++ .../security/ir.model.access.csv | 1 + .../static/description/index.html | 7 +++-- .../wizard_generate_medical_examination.py | 15 ++++++++-- 10 files changed, 101 insertions(+), 20 deletions(-) diff --git a/hr_employee_medical_examination/README.rst b/hr_employee_medical_examination/README.rst index 1ebca6f229d..be25a220d66 100644 --- a/hr_employee_medical_examination/README.rst +++ b/hr_employee_medical_examination/README.rst @@ -14,13 +14,13 @@ Hr Employee Medical Examination :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/13.0/hr_employee_medical_examination + :target: https://github.com/OCA/hr/tree/14.0/hr_employee_medical_examination :alt: OCA/hr .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/hr-13-0/hr-13-0-hr_employee_medical_examination + :target: https://translation.odoo-community.org/projects/hr-14-0/hr-14-0-hr_employee_medical_examination :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/116/13.0 + :target: https://runbot.odoo-community.org/runbot/116/14.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -56,7 +56,7 @@ Bug Tracker Bugs are tracked on `GitHub Issues `_. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -73,6 +73,8 @@ Contributors * Jaime Arroyo +* Nattapong W. + Maintainers ~~~~~~~~~~~ @@ -86,6 +88,6 @@ 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. +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_medical_examination/__manifest__.py b/hr_employee_medical_examination/__manifest__.py index 697756b414f..490c4fc7adc 100644 --- a/hr_employee_medical_examination/__manifest__.py +++ b/hr_employee_medical_examination/__manifest__.py @@ -5,7 +5,7 @@ "name": "Hr Employee Medical Examination", "summary": """ Adds information about employee's medical examinations""", - "version": "13.0.1.0.0", + "version": "14.0.1.0.0", "license": "AGPL-3", "author": "Creu Blanca,Odoo Community Association (OCA)", "website": "https://github.com/OCA/hr", diff --git a/hr_employee_medical_examination/i18n/es.po b/hr_employee_medical_examination/i18n/es.po index 2b159abd51b..00d24723fa7 100644 --- a/hr_employee_medical_examination/i18n/es.po +++ b/hr_employee_medical_examination/i18n/es.po @@ -47,6 +47,11 @@ msgstr "" msgid "Activity State" msgstr "" +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_type_icon +msgid "Activity Type Icon" +msgstr "" + #. module: hr_employee_medical_examination #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view msgid "Add note..." @@ -96,6 +101,7 @@ msgid "Department" msgstr "Departamento" #. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee__display_name #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__display_name #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__display_name msgid "Display Name" @@ -159,6 +165,11 @@ msgstr "" msgid "Followers (Partners)" msgstr "" +#. module: hr_employee_medical_examination +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_type_icon +msgid "Font awesome icon e.g. fa-tasks" +msgstr "" + #. module: hr_employee_medical_examination #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view msgid "Generate" @@ -189,6 +200,7 @@ msgid "Hr Employee Medical Examination" msgstr "Hr Employee Medical Examination" #. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee__id #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__id #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__id msgid "ID" @@ -227,6 +239,7 @@ msgid "Job" msgstr "Puesto de Trabajo" #. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee____last_update #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination____last_update #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination____last_update msgid "Last Modified on" @@ -292,6 +305,11 @@ msgstr "" msgid "Messages" msgstr "" +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__my_activity_date_deadline +msgid "My Activity Deadline" +msgstr "" + #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__name msgid "Name" @@ -414,6 +432,16 @@ msgstr "" msgid "View Medical Examinations" msgstr "Ver Exámenes Médicos" +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__website_message_ids +msgid "Website Messages" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__website_message_ids +msgid "Website communication history" +msgstr "" + #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__year #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__year diff --git a/hr_employee_medical_examination/i18n/hr_employee_medical_examination.pot b/hr_employee_medical_examination/i18n/hr_employee_medical_examination.pot index dccbf10ab8d..f7bbc5fcfbb 100644 --- a/hr_employee_medical_examination/i18n/hr_employee_medical_examination.pot +++ b/hr_employee_medical_examination/i18n/hr_employee_medical_examination.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 13.0\n" +"Project-Id-Version: Odoo Server 14.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: \n" "Language-Team: \n" @@ -44,6 +44,11 @@ msgstr "" msgid "Activity State" msgstr "" +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_type_icon +msgid "Activity Type Icon" +msgstr "" + #. module: hr_employee_medical_examination #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view msgid "Add note..." @@ -92,6 +97,7 @@ msgid "Department" msgstr "" #. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee__display_name #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__display_name #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__display_name msgid "Display Name" @@ -155,6 +161,11 @@ msgstr "" msgid "Followers (Partners)" msgstr "" +#. module: hr_employee_medical_examination +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_type_icon +msgid "Font awesome icon e.g. fa-tasks" +msgstr "" + #. module: hr_employee_medical_examination #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view msgid "Generate" @@ -184,6 +195,7 @@ msgid "Hr Employee Medical Examination" msgstr "" #. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee__id #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__id #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__id msgid "ID" @@ -222,6 +234,7 @@ msgid "Job" msgstr "" #. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee____last_update #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination____last_update #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination____last_update msgid "Last Modified on" @@ -286,6 +299,11 @@ msgstr "" msgid "Messages" msgstr "" +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__my_activity_date_deadline +msgid "My Activity Deadline" +msgstr "" + #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__name msgid "Name" @@ -408,6 +426,16 @@ msgstr "" msgid "View Medical Examinations" msgstr "" +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__website_message_ids +msgid "Website Messages" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__website_message_ids +msgid "Website communication history" +msgstr "" + #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__year #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__year diff --git a/hr_employee_medical_examination/models/hr_employee.py b/hr_employee_medical_examination/models/hr_employee.py index 2ba2b5c916c..19864b64b76 100644 --- a/hr_employee_medical_examination/models/hr_employee.py +++ b/hr_employee_medical_examination/models/hr_employee.py @@ -9,7 +9,8 @@ class HrEmployee(models.Model): _inherit = "hr.employee" medical_examination_ids = fields.One2many( - comodel_name="hr.employee.medical.examination", inverse_name="employee_id", + comodel_name="hr.employee.medical.examination", + inverse_name="employee_id", ) medical_examination_count = fields.Integer( diff --git a/hr_employee_medical_examination/models/hr_employee_medical_examination.py b/hr_employee_medical_examination/models/hr_employee_medical_examination.py index 49f4426af66..55ce48bc62e 100644 --- a/hr_employee_medical_examination/models/hr_employee_medical_examination.py +++ b/hr_employee_medical_examination/models/hr_employee_medical_examination.py @@ -12,7 +12,10 @@ class HrEmployeeMedicalExamination(models.Model): _description = "Hr Employee Medical Examination" _inherit = ["mail.thread", "mail.activity.mixin"] - name = fields.Char(required=True, track_visibility="onchange",) + name = fields.Char( + required=True, + tracking=True, + ) state = fields.Selection( selection=[ @@ -23,22 +26,28 @@ class HrEmployeeMedicalExamination(models.Model): ], default="pending", readonly=True, - track_visibility="onchange", + tracking=True, ) - date = fields.Date(string="Examination Date", track_visibility="onchange",) + date = fields.Date( + string="Examination Date", + tracking=True, + ) result = fields.Selection( selection=[("failed", "Failed"), ("passed", "Passed")], - track_visibility="onchange", + tracking=True, ) employee_id = fields.Many2one( - "hr.employee", string="Employee", required=True, track_visibility="onchange", + "hr.employee", + string="Employee", + required=True, + tracking=True, ) year = fields.Char("Year", default=lambda r: str(datetime.date.today().year)) - note = fields.Text(track_visibility="onchange") + note = fields.Text(tracking=True) @api.onchange("date") def _onchange_date(self): diff --git a/hr_employee_medical_examination/readme/CONTRIBUTORS.rst b/hr_employee_medical_examination/readme/CONTRIBUTORS.rst index e59d51045c8..83dd559963c 100644 --- a/hr_employee_medical_examination/readme/CONTRIBUTORS.rst +++ b/hr_employee_medical_examination/readme/CONTRIBUTORS.rst @@ -1 +1,3 @@ * Jaime Arroyo + +* Nattapong W. diff --git a/hr_employee_medical_examination/security/ir.model.access.csv b/hr_employee_medical_examination/security/ir.model.access.csv index ca9b2ea26f4..ce7fb0eded1 100644 --- a/hr_employee_medical_examination/security/ir.model.access.csv +++ b/hr_employee_medical_examination/security/ir.model.access.csv @@ -1,3 +1,4 @@ id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink access_hr_employee_medical_examination,access_hr_employee_medical_examination,model_hr_employee_medical_examination,base.group_user,1,0,0,0 access_hr_employee_medical_examination_manager,access_hr_employee_medical_examination_manager,model_hr_employee_medical_examination,hr.group_hr_manager,1,1,1,1 +access_wizard_generate_medical_examination,access_wizard_generate_medical_examination,model_wizard_generate_medical_examination,base.group_user,1,1,1,1 diff --git a/hr_employee_medical_examination/static/description/index.html b/hr_employee_medical_examination/static/description/index.html index 319b843217a..89cdbbb99a3 100644 --- a/hr_employee_medical_examination/static/description/index.html +++ b/hr_employee_medical_examination/static/description/index.html @@ -367,7 +367,7 @@

Hr Employee Medical Examination

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

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

+

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

Adds information about employee’s medical examinations

Table of contents

@@ -403,7 +403,7 @@

Bug Tracker

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

+feedback.

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

@@ -418,6 +418,7 @@

Authors

Contributors

@@ -427,7 +428,7 @@

Maintainers

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.

+

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_medical_examination/wizards/wizard_generate_medical_examination.py b/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py index 98ec76fbf3a..ffe530e84a4 100644 --- a/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py +++ b/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py @@ -12,11 +12,20 @@ class WizardGenerateMedicalExamination(models.TransientModel): _description = "Generation wizard for medical examinations" name = fields.Char(required=True, string="Examination Name") - year = fields.Char("Year", default=lambda r: str(date.today().year),) + year = fields.Char( + "Year", + default=lambda r: str(date.today().year), + ) employee_ids = fields.Many2many(comodel_name="hr.employee", string="Employees") - department_id = fields.Many2one(comodel_name="hr.department", string="Department",) - job_id = fields.Many2one(comodel_name="hr.job", string="Job",) + department_id = fields.Many2one( + comodel_name="hr.department", + string="Department", + ) + job_id = fields.Many2one( + comodel_name="hr.job", + string="Job", + ) def _prepare_employee_domain(self): res = [] From 97b1174de18cd9196e1bef6072d4a8a9552b4f7a Mon Sep 17 00:00:00 2001 From: Maria Sparenberg Date: Wed, 11 May 2022 10:24:30 +0000 Subject: [PATCH 06/39] Added translation using Weblate (German) --- hr_employee_medical_examination/i18n/de.po | 444 +++++++++++++++++++++ 1 file changed, 444 insertions(+) create mode 100644 hr_employee_medical_examination/i18n/de.po diff --git a/hr_employee_medical_examination/i18n/de.po b/hr_employee_medical_examination/i18n/de.po new file mode 100644 index 00000000000..5e61d4ca066 --- /dev/null +++ b/hr_employee_medical_examination/i18n/de.po @@ -0,0 +1,444 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_employee_medical_examination +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: Automatically generated\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" + +#. module: hr_employee_medical_examination +#: code:addons/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py:0 +#, python-format +msgid "%s on %s" +msgstr "" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view +msgid "Filters:" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_needaction +msgid "Action Needed" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_ids +msgid "Activities" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_exception_decoration +msgid "Activity Exception Decoration" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_state +msgid "Activity State" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_type_icon +msgid "Activity Type Icon" +msgstr "" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view +msgid "Add note..." +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_attachment_count +msgid "Attachment Count" +msgstr "" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view +msgid "Back To Pending" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee__can_see_examinations_button +msgid "Can See Examinations Button" +msgstr "" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view +msgid "Cancel" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields.selection,name:hr_employee_medical_examination.selection__hr_employee_medical_examination__state__cancelled +msgid "Cancelled" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__create_uid +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__create_uid +msgid "Created by" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__create_date +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__create_date +msgid "Created on" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__department_id +msgid "Department" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee__display_name +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__display_name +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__display_name +msgid "Display Name" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields.selection,name:hr_employee_medical_examination.selection__hr_employee_medical_examination__state__done +msgid "Done" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model,name:hr_employee_medical_examination.model_hr_employee +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__employee_id +msgid "Employee" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.actions.act_window,name:hr_employee_medical_examination.hr_employee_medical_examination_act_window +msgid "Employee Medical Examinations" +msgstr "" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view +msgid "Employee's Name" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__employee_ids +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view +msgid "Employees" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__date +msgid "Examination Date" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__name +msgid "Examination Name" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields.selection,name:hr_employee_medical_examination.selection__hr_employee_medical_examination__result__failed +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_search_view +msgid "Failed" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_follower_ids +msgid "Followers" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_channel_ids +msgid "Followers (Channels)" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_partner_ids +msgid "Followers (Partners)" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_type_icon +msgid "Font awesome icon e.g. fa-tasks" +msgstr "" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view +msgid "Generate" +msgstr "" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view +msgid "Generate Medical Examination" +msgstr "" + +#. module: hr_employee_medical_examination +#: code:addons/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py:0 +#: model:ir.actions.act_window,name:hr_employee_medical_examination.wizard_generate_medical_examination_act_window +#: model:ir.ui.menu,name:hr_employee_medical_examination.hr_employee_medical_examination_generate_wizard +#, python-format +msgid "Generate Medical Examinations" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model,name:hr_employee_medical_examination.model_wizard_generate_medical_examination +msgid "Generation wizard for medical examinations" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model,name:hr_employee_medical_examination.model_hr_employee_medical_examination +msgid "Hr Employee Medical Examination" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee__id +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__id +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__id +msgid "ID" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_exception_icon +msgid "Icon" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_exception_icon +msgid "Icon to indicate an exception activity." +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_needaction +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_unread +msgid "If checked, new messages require your attention." +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_error +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_sms_error +msgid "If checked, some messages have a delivery error." +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_is_follower +msgid "Is Follower" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__job_id +msgid "Job" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee____last_update +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination____last_update +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination____last_update +msgid "Last Modified on" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__write_uid +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__write_date +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__write_date +msgid "Last Updated on" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_main_attachment_id +msgid "Main Attachment" +msgstr "" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view +msgid "Mark as Cancelled" +msgstr "" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view +msgid "Mark as Done" +msgstr "" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view +msgid "Mark as Rejected" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee__medical_examination_ids +msgid "Medical Examination" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee__medical_examination_count +msgid "Medical Examination Count" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.actions.act_window,name:hr_employee_medical_examination.act_medical_examination_employee +#: model:ir.ui.menu,name:hr_employee_medical_examination.hr_employee_medical_examination_menu +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.view_employee_form +msgid "Medical Examinations" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_error +msgid "Message Delivery error" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_ids +msgid "Messages" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__my_activity_date_deadline +msgid "My Activity Deadline" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__name +msgid "Name" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_date_deadline +msgid "Next Activity Deadline" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_summary +msgid "Next Activity Summary" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_type_id +msgid "Next Activity Type" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__note +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view +msgid "Note" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_needaction_counter +msgid "Number of Actions" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_error_counter +msgid "Number of errors" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_needaction_counter +msgid "Number of messages which requires an action" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_error_counter +msgid "Number of messages with delivery error" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_unread_counter +msgid "Number of unread messages" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields.selection,name:hr_employee_medical_examination.selection__hr_employee_medical_examination__result__passed +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_search_view +msgid "Passed" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields.selection,name:hr_employee_medical_examination.selection__hr_employee_medical_examination__state__pending +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_search_view +msgid "Pending" +msgstr "" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view +msgid "Populate" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields.selection,name:hr_employee_medical_examination.selection__hr_employee_medical_examination__state__rejected +msgid "Rejected" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_user_id +msgid "Responsible User" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__result +msgid "Result" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_sms_error +msgid "SMS Delivery error" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__state +msgid "State" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_state +msgid "" +"Status based on activities\n" +"Overdue: Due date is already passed\n" +"Today: Activity date is today\n" +"Planned: Future activities." +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_exception_decoration +msgid "Type of the exception activity on record." +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_unread +msgid "Unread Messages" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_unread_counter +msgid "Unread Messages Counter" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.ui.menu,name:hr_employee_medical_examination.hr_employee_medical_examination_all +msgid "View Medical Examinations" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__website_message_ids +msgid "Website Messages" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__website_message_ids +msgid "Website communication history" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__year +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__year +msgid "Year" +msgstr "" From 1c3301669de7c5f98d497cd1cac58b05b09d926f Mon Sep 17 00:00:00 2001 From: Olga Marco Date: Fri, 13 May 2022 11:52:45 +0200 Subject: [PATCH 07/39] [MIG] hr_employee_medical_examination: Migration to 15.0 --- hr_employee_medical_examination/__manifest__.py | 2 +- .../models/hr_employee_medical_examination.py | 2 +- .../hr_employee_medical_examination_security.xml | 16 +++++++--------- .../wizard_generate_medical_examination.py | 7 +++++-- 4 files changed, 14 insertions(+), 13 deletions(-) diff --git a/hr_employee_medical_examination/__manifest__.py b/hr_employee_medical_examination/__manifest__.py index 490c4fc7adc..7145d2c2fee 100644 --- a/hr_employee_medical_examination/__manifest__.py +++ b/hr_employee_medical_examination/__manifest__.py @@ -5,7 +5,7 @@ "name": "Hr Employee Medical Examination", "summary": """ Adds information about employee's medical examinations""", - "version": "14.0.1.0.0", + "version": "15.0.1.0.0", "license": "AGPL-3", "author": "Creu Blanca,Odoo Community Association (OCA)", "website": "https://github.com/OCA/hr", diff --git a/hr_employee_medical_examination/models/hr_employee_medical_examination.py b/hr_employee_medical_examination/models/hr_employee_medical_examination.py index 55ce48bc62e..97d1cc3fcca 100644 --- a/hr_employee_medical_examination/models/hr_employee_medical_examination.py +++ b/hr_employee_medical_examination/models/hr_employee_medical_examination.py @@ -45,7 +45,7 @@ class HrEmployeeMedicalExamination(models.Model): tracking=True, ) - year = fields.Char("Year", default=lambda r: str(datetime.date.today().year)) + year = fields.Char(default=lambda r: str(datetime.date.today().year)) note = fields.Text(tracking=True) diff --git a/hr_employee_medical_examination/security/hr_employee_medical_examination_security.xml b/hr_employee_medical_examination/security/hr_employee_medical_examination_security.xml index dbcffc8efcd..8795f82d2c8 100644 --- a/hr_employee_medical_examination/security/hr_employee_medical_examination_security.xml +++ b/hr_employee_medical_examination/security/hr_employee_medical_examination_security.xml @@ -1,23 +1,21 @@ - - + Base User: Only own examinations + name="model_id" + ref="hr_employee_medical_examination.model_hr_employee_medical_examination" + /> [('employee_id.user_id','=',user.id)] Manager: All Examinations + name="model_id" + ref="hr_employee_medical_examination.model_hr_employee_medical_examination" + /> [(1,'=',1)] - diff --git a/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py b/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py index ffe530e84a4..c0ced30dbf2 100644 --- a/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py +++ b/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py @@ -13,7 +13,6 @@ class WizardGenerateMedicalExamination(models.TransientModel): name = fields.Char(required=True, string="Examination Name") year = fields.Char( - "Year", default=lambda r: str(date.today().year), ) @@ -52,7 +51,11 @@ def populate(self): def _create_examination_vals(self, employee): return { - "name": _("%s on %s") % (self.name, employee.name), + "name": _("%(name)s on %(employee)s") + % { + "name": self.name, + "employee": employee.name, + }, "employee_id": employee.id, "year": self.year, } From 39b0fbb03ff8c832d6b1d747105e449700a8904b Mon Sep 17 00:00:00 2001 From: oca-ci Date: Thu, 23 Jun 2022 15:15:44 +0000 Subject: [PATCH 08/39] [UPD] Update hr_employee_medical_examination.pot --- .../i18n/hr_employee_medical_examination.pot | 27 +++++-------------- 1 file changed, 7 insertions(+), 20 deletions(-) diff --git a/hr_employee_medical_examination/i18n/hr_employee_medical_examination.pot b/hr_employee_medical_examination/i18n/hr_employee_medical_examination.pot index f7bbc5fcfbb..035f311dc18 100644 --- a/hr_employee_medical_examination/i18n/hr_employee_medical_examination.pot +++ b/hr_employee_medical_examination/i18n/hr_employee_medical_examination.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 14.0\n" +"Project-Id-Version: Odoo Server 15.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: \n" "Language-Team: \n" @@ -16,7 +16,7 @@ msgstr "" #. module: hr_employee_medical_examination #: code:addons/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py:0 #, python-format -msgid "%s on %s" +msgid "%(name)s on %(employee)s" msgstr "" #. module: hr_employee_medical_examination @@ -97,7 +97,6 @@ msgid "Department" msgstr "" #. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee__display_name #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__display_name #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__display_name msgid "Display Name" @@ -151,11 +150,6 @@ msgstr "" msgid "Followers" msgstr "" -#. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_channel_ids -msgid "Followers (Channels)" -msgstr "" - #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_partner_ids msgid "Followers (Partners)" @@ -189,13 +183,17 @@ msgstr "" msgid "Generation wizard for medical examinations" msgstr "" +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__has_message +msgid "Has Message" +msgstr "" + #. module: hr_employee_medical_examination #: model:ir.model,name:hr_employee_medical_examination.model_hr_employee_medical_examination msgid "Hr Employee Medical Examination" msgstr "" #. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee__id #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__id #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__id msgid "ID" @@ -234,7 +232,6 @@ msgid "Job" msgstr "" #. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee____last_update #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination____last_update #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination____last_update msgid "Last Modified on" @@ -426,16 +423,6 @@ msgstr "" msgid "View Medical Examinations" msgstr "" -#. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__website_message_ids -msgid "Website Messages" -msgstr "" - -#. module: hr_employee_medical_examination -#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__website_message_ids -msgid "Website communication history" -msgstr "" - #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__year #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__year From bc0d7871f65828768af5c6cebed59b89056f115a Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Thu, 23 Jun 2022 15:18:18 +0000 Subject: [PATCH 09/39] [UPD] README.rst --- hr_employee_medical_examination/README.rst | 10 +++++----- .../static/description/index.html | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/hr_employee_medical_examination/README.rst b/hr_employee_medical_examination/README.rst index be25a220d66..927b6a58f4b 100644 --- a/hr_employee_medical_examination/README.rst +++ b/hr_employee_medical_examination/README.rst @@ -14,13 +14,13 @@ Hr Employee Medical Examination :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/14.0/hr_employee_medical_examination + :target: https://github.com/OCA/hr/tree/15.0/hr_employee_medical_examination :alt: OCA/hr .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/hr-14-0/hr-14-0-hr_employee_medical_examination + :target: https://translation.odoo-community.org/projects/hr-15-0/hr-15-0-hr_employee_medical_examination :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/116/14.0 + :target: https://runbot.odoo-community.org/runbot/116/15.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -56,7 +56,7 @@ Bug Tracker Bugs are tracked on `GitHub Issues `_. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -88,6 +88,6 @@ 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. +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_medical_examination/static/description/index.html b/hr_employee_medical_examination/static/description/index.html index 89cdbbb99a3..71342a16032 100644 --- a/hr_employee_medical_examination/static/description/index.html +++ b/hr_employee_medical_examination/static/description/index.html @@ -367,7 +367,7 @@

Hr Employee Medical Examination

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

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

+

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

Adds information about employee’s medical examinations

Table of contents

@@ -403,7 +403,7 @@

Bug Tracker

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

+feedback.

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

@@ -428,7 +428,7 @@

Maintainers

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.

+

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.

From 8b0059bc53c43834fa55bed07a7c3f56543360c5 Mon Sep 17 00:00:00 2001 From: oca-ci Date: Wed, 13 Jul 2022 08:12:43 +0000 Subject: [PATCH 10/39] [UPD] Update hr_employee_medical_examination.pot --- .../i18n/hr_employee_medical_examination.pot | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hr_employee_medical_examination/i18n/hr_employee_medical_examination.pot b/hr_employee_medical_examination/i18n/hr_employee_medical_examination.pot index 035f311dc18..87bd48e4aee 100644 --- a/hr_employee_medical_examination/i18n/hr_employee_medical_examination.pot +++ b/hr_employee_medical_examination/i18n/hr_employee_medical_examination.pot @@ -306,6 +306,11 @@ msgstr "" msgid "Name" msgstr "" +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_calendar_event_id +msgid "Next Activity Calendar Event" +msgstr "" + #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_date_deadline msgid "Next Activity Deadline" From fabfec6a577e9fd3b6a6dc2c1f5e71c2c592cff8 Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Sun, 17 Jul 2022 03:52:03 +0000 Subject: [PATCH 11/39] Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: hr-15.0/hr-15.0-hr_employee_medical_examination Translate-URL: https://translation.odoo-community.org/projects/hr-15-0/hr-15-0-hr_employee_medical_examination/ --- hr_employee_medical_examination/i18n/de.po | 30 +++++++------------ hr_employee_medical_examination/i18n/es.po | 35 ++++++++++------------ 2 files changed, 26 insertions(+), 39 deletions(-) diff --git a/hr_employee_medical_examination/i18n/de.po b/hr_employee_medical_examination/i18n/de.po index 5e61d4ca066..a4a9d8e5307 100644 --- a/hr_employee_medical_examination/i18n/de.po +++ b/hr_employee_medical_examination/i18n/de.po @@ -17,7 +17,7 @@ msgstr "" #. module: hr_employee_medical_examination #: code:addons/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py:0 #, python-format -msgid "%s on %s" +msgid "%(name)s on %(employee)s" msgstr "" #. module: hr_employee_medical_examination @@ -98,7 +98,6 @@ msgid "Department" msgstr "" #. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee__display_name #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__display_name #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__display_name msgid "Display Name" @@ -152,11 +151,6 @@ msgstr "" msgid "Followers" msgstr "" -#. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_channel_ids -msgid "Followers (Channels)" -msgstr "" - #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_partner_ids msgid "Followers (Partners)" @@ -190,13 +184,17 @@ msgstr "" msgid "Generation wizard for medical examinations" msgstr "" +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__has_message +msgid "Has Message" +msgstr "" + #. module: hr_employee_medical_examination #: model:ir.model,name:hr_employee_medical_examination.model_hr_employee_medical_examination msgid "Hr Employee Medical Examination" msgstr "" #. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee__id #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__id #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__id msgid "ID" @@ -235,7 +233,6 @@ msgid "Job" msgstr "" #. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee____last_update #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination____last_update #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination____last_update msgid "Last Modified on" @@ -310,6 +307,11 @@ msgstr "" msgid "Name" msgstr "" +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_calendar_event_id +msgid "Next Activity Calendar Event" +msgstr "" + #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_date_deadline msgid "Next Activity Deadline" @@ -427,16 +429,6 @@ msgstr "" msgid "View Medical Examinations" msgstr "" -#. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__website_message_ids -msgid "Website Messages" -msgstr "" - -#. module: hr_employee_medical_examination -#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__website_message_ids -msgid "Website communication history" -msgstr "" - #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__year #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__year diff --git a/hr_employee_medical_examination/i18n/es.po b/hr_employee_medical_examination/i18n/es.po index 00d24723fa7..5882bf5e837 100644 --- a/hr_employee_medical_examination/i18n/es.po +++ b/hr_employee_medical_examination/i18n/es.po @@ -19,8 +19,8 @@ msgstr "" #. module: hr_employee_medical_examination #: code:addons/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py:0 #, python-format -msgid "%s on %s" -msgstr "%s en %s" +msgid "%(name)s on %(employee)s" +msgstr "" #. module: hr_employee_medical_examination #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view @@ -101,7 +101,6 @@ msgid "Department" msgstr "Departamento" #. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee__display_name #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__display_name #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__display_name msgid "Display Name" @@ -155,11 +154,6 @@ msgstr "Suspendido" msgid "Followers" msgstr "" -#. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_channel_ids -msgid "Followers (Channels)" -msgstr "" - #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_partner_ids msgid "Followers (Partners)" @@ -194,13 +188,17 @@ msgstr "Generar Exámenes Médicos" msgid "Generation wizard for medical examinations" msgstr "Generar Exámenes Médicos" +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__has_message +msgid "Has Message" +msgstr "" + #. module: hr_employee_medical_examination #: model:ir.model,name:hr_employee_medical_examination.model_hr_employee_medical_examination msgid "Hr Employee Medical Examination" msgstr "Hr Employee Medical Examination" #. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee__id #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__id #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__id msgid "ID" @@ -239,7 +237,6 @@ msgid "Job" msgstr "Puesto de Trabajo" #. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee____last_update #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination____last_update #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination____last_update msgid "Last Modified on" @@ -315,6 +312,11 @@ msgstr "" msgid "Name" msgstr "Nombre" +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_calendar_event_id +msgid "Next Activity Calendar Event" +msgstr "" + #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_date_deadline msgid "Next Activity Deadline" @@ -432,21 +434,14 @@ msgstr "" msgid "View Medical Examinations" msgstr "Ver Exámenes Médicos" -#. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__website_message_ids -msgid "Website Messages" -msgstr "" - -#. module: hr_employee_medical_examination -#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__website_message_ids -msgid "Website communication history" -msgstr "" - #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__year #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__year msgid "Year" msgstr "" +#~ msgid "%s on %s" +#~ msgstr "%s en %s" + #~ msgid "wizard.generate.medical.examination" #~ msgstr "wizardgenerate.medical.examination" From b32a81776a898284618ac715fecbaadb9b97bd2f Mon Sep 17 00:00:00 2001 From: FernandoRomera Date: Tue, 20 Dec 2022 12:44:04 +0100 Subject: [PATCH 12/39] [16.0][MIG] hr_employee_medical_examination: Migration to 16.0 --- hr_employee_medical_examination/__manifest__.py | 4 ++-- .../tests/test_hr_employee_medical_examination.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hr_employee_medical_examination/__manifest__.py b/hr_employee_medical_examination/__manifest__.py index 7145d2c2fee..9da0ad52e69 100644 --- a/hr_employee_medical_examination/__manifest__.py +++ b/hr_employee_medical_examination/__manifest__.py @@ -5,9 +5,9 @@ "name": "Hr Employee Medical Examination", "summary": """ Adds information about employee's medical examinations""", - "version": "15.0.1.0.0", + "version": "16.0.1.0.0", "license": "AGPL-3", - "author": "Creu Blanca,Odoo Community Association (OCA)", + "author": "Creu Blanca, Odoo Community Association (OCA)", "website": "https://github.com/OCA/hr", "depends": ["hr"], "data": [ diff --git a/hr_employee_medical_examination/tests/test_hr_employee_medical_examination.py b/hr_employee_medical_examination/tests/test_hr_employee_medical_examination.py index 8d952bcebfc..36d5c56bcf5 100644 --- a/hr_employee_medical_examination/tests/test_hr_employee_medical_examination.py +++ b/hr_employee_medical_examination/tests/test_hr_employee_medical_examination.py @@ -6,7 +6,7 @@ class TestHrEmployeeMedicalExamination(TransactionCase): def setUp(self): - super(TestHrEmployeeMedicalExamination, self).setUp() + super().setUp() self.department = self.env["hr.department"].create({"name": "Department"}) From 5e228ad8fb41011b023db54b64a8f57190cac18b Mon Sep 17 00:00:00 2001 From: oca-ci Date: Thu, 22 Dec 2022 17:58:06 +0000 Subject: [PATCH 13/39] [UPD] Update hr_employee_medical_examination.pot --- .../i18n/hr_employee_medical_examination.pot | 25 +++---------------- 1 file changed, 3 insertions(+), 22 deletions(-) diff --git a/hr_employee_medical_examination/i18n/hr_employee_medical_examination.pot b/hr_employee_medical_examination/i18n/hr_employee_medical_examination.pot index 87bd48e4aee..403a99c7591 100644 --- a/hr_employee_medical_examination/i18n/hr_employee_medical_examination.pot +++ b/hr_employee_medical_examination/i18n/hr_employee_medical_examination.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 15.0\n" +"Project-Id-Version: Odoo Server 16.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: \n" "Language-Team: \n" @@ -14,6 +14,7 @@ msgstr "" "Plural-Forms: \n" #. module: hr_employee_medical_examination +#. odoo-python #: code:addons/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py:0 #, python-format msgid "%(name)s on %(employee)s" @@ -171,6 +172,7 @@ msgid "Generate Medical Examination" msgstr "" #. module: hr_employee_medical_examination +#. odoo-python #: code:addons/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py:0 #: model:ir.actions.act_window,name:hr_employee_medical_examination.wizard_generate_medical_examination_act_window #: model:ir.ui.menu,name:hr_employee_medical_examination.hr_employee_medical_examination_generate_wizard @@ -211,7 +213,6 @@ msgstr "" #. module: hr_employee_medical_examination #: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_needaction -#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_unread msgid "If checked, new messages require your attention." msgstr "" @@ -306,11 +307,6 @@ msgstr "" msgid "Name" msgstr "" -#. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_calendar_event_id -msgid "Next Activity Calendar Event" -msgstr "" - #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_date_deadline msgid "Next Activity Deadline" @@ -352,11 +348,6 @@ msgstr "" msgid "Number of messages with delivery error" msgstr "" -#. module: hr_employee_medical_examination -#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_unread_counter -msgid "Number of unread messages" -msgstr "" - #. module: hr_employee_medical_examination #: model:ir.model.fields.selection,name:hr_employee_medical_examination.selection__hr_employee_medical_examination__result__passed #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_search_view @@ -413,16 +404,6 @@ msgstr "" msgid "Type of the exception activity on record." msgstr "" -#. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_unread -msgid "Unread Messages" -msgstr "" - -#. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_unread_counter -msgid "Unread Messages Counter" -msgstr "" - #. module: hr_employee_medical_examination #: model:ir.ui.menu,name:hr_employee_medical_examination.hr_employee_medical_examination_all msgid "View Medical Examinations" From 4822c486e73fc304ea96525135a42c33ef31c679 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Thu, 22 Dec 2022 18:00:10 +0000 Subject: [PATCH 14/39] [UPD] README.rst --- hr_employee_medical_examination/README.rst | 10 +++++----- .../static/description/index.html | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/hr_employee_medical_examination/README.rst b/hr_employee_medical_examination/README.rst index 927b6a58f4b..80834e64ecc 100644 --- a/hr_employee_medical_examination/README.rst +++ b/hr_employee_medical_examination/README.rst @@ -14,13 +14,13 @@ Hr Employee Medical Examination :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/15.0/hr_employee_medical_examination + :target: https://github.com/OCA/hr/tree/16.0/hr_employee_medical_examination :alt: OCA/hr .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/hr-15-0/hr-15-0-hr_employee_medical_examination + :target: https://translation.odoo-community.org/projects/hr-16-0/hr-16-0-hr_employee_medical_examination :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/116/15.0 + :target: https://runbot.odoo-community.org/runbot/116/16.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -56,7 +56,7 @@ Bug Tracker Bugs are tracked on `GitHub Issues `_. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -88,6 +88,6 @@ 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. +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_medical_examination/static/description/index.html b/hr_employee_medical_examination/static/description/index.html index 71342a16032..3774d5793e6 100644 --- a/hr_employee_medical_examination/static/description/index.html +++ b/hr_employee_medical_examination/static/description/index.html @@ -367,7 +367,7 @@

Hr Employee Medical Examination

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

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

+

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

Adds information about employee’s medical examinations

Table of contents

@@ -403,7 +403,7 @@

Bug Tracker

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

+feedback.

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

@@ -428,7 +428,7 @@

Maintainers

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.

+

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.

From cc77fcf7a88242ff1ec8639a67503f930fba793d Mon Sep 17 00:00:00 2001 From: Weblate Date: Thu, 22 Dec 2022 20:08:39 +0000 Subject: [PATCH 15/39] Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: hr-16.0/hr-16.0-hr_employee_medical_examination Translate-URL: https://translation.odoo-community.org/projects/hr-16-0/hr-16-0-hr_employee_medical_examination/ --- hr_employee_medical_examination/i18n/de.po | 23 ++-------------------- hr_employee_medical_examination/i18n/es.po | 23 ++-------------------- 2 files changed, 4 insertions(+), 42 deletions(-) diff --git a/hr_employee_medical_examination/i18n/de.po b/hr_employee_medical_examination/i18n/de.po index a4a9d8e5307..eb1ac6b80dd 100644 --- a/hr_employee_medical_examination/i18n/de.po +++ b/hr_employee_medical_examination/i18n/de.po @@ -15,6 +15,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" #. module: hr_employee_medical_examination +#. odoo-python #: code:addons/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py:0 #, python-format msgid "%(name)s on %(employee)s" @@ -172,6 +173,7 @@ msgid "Generate Medical Examination" msgstr "" #. module: hr_employee_medical_examination +#. odoo-python #: code:addons/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py:0 #: model:ir.actions.act_window,name:hr_employee_medical_examination.wizard_generate_medical_examination_act_window #: model:ir.ui.menu,name:hr_employee_medical_examination.hr_employee_medical_examination_generate_wizard @@ -212,7 +214,6 @@ msgstr "" #. module: hr_employee_medical_examination #: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_needaction -#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_unread msgid "If checked, new messages require your attention." msgstr "" @@ -307,11 +308,6 @@ msgstr "" msgid "Name" msgstr "" -#. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_calendar_event_id -msgid "Next Activity Calendar Event" -msgstr "" - #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_date_deadline msgid "Next Activity Deadline" @@ -353,11 +349,6 @@ msgstr "" msgid "Number of messages with delivery error" msgstr "" -#. module: hr_employee_medical_examination -#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_unread_counter -msgid "Number of unread messages" -msgstr "" - #. module: hr_employee_medical_examination #: model:ir.model.fields.selection,name:hr_employee_medical_examination.selection__hr_employee_medical_examination__result__passed #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_search_view @@ -414,16 +405,6 @@ msgstr "" msgid "Type of the exception activity on record." msgstr "" -#. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_unread -msgid "Unread Messages" -msgstr "" - -#. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_unread_counter -msgid "Unread Messages Counter" -msgstr "" - #. module: hr_employee_medical_examination #: model:ir.ui.menu,name:hr_employee_medical_examination.hr_employee_medical_examination_all msgid "View Medical Examinations" diff --git a/hr_employee_medical_examination/i18n/es.po b/hr_employee_medical_examination/i18n/es.po index 5882bf5e837..b6f7db8eace 100644 --- a/hr_employee_medical_examination/i18n/es.po +++ b/hr_employee_medical_examination/i18n/es.po @@ -17,6 +17,7 @@ msgstr "" "X-Generator: Weblate 3.8\n" #. module: hr_employee_medical_examination +#. odoo-python #: code:addons/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py:0 #, python-format msgid "%(name)s on %(employee)s" @@ -175,6 +176,7 @@ msgid "Generate Medical Examination" msgstr "Generar Exámenes Médicos" #. module: hr_employee_medical_examination +#. odoo-python #: code:addons/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py:0 #: model:ir.actions.act_window,name:hr_employee_medical_examination.wizard_generate_medical_examination_act_window #: model:ir.ui.menu,name:hr_employee_medical_examination.hr_employee_medical_examination_generate_wizard @@ -216,7 +218,6 @@ msgstr "" #. module: hr_employee_medical_examination #: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_needaction -#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_unread msgid "If checked, new messages require your attention." msgstr "" @@ -312,11 +313,6 @@ msgstr "" msgid "Name" msgstr "Nombre" -#. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_calendar_event_id -msgid "Next Activity Calendar Event" -msgstr "" - #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_date_deadline msgid "Next Activity Deadline" @@ -358,11 +354,6 @@ msgstr "" msgid "Number of messages with delivery error" msgstr "" -#. module: hr_employee_medical_examination -#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_unread_counter -msgid "Number of unread messages" -msgstr "" - #. module: hr_employee_medical_examination #: model:ir.model.fields.selection,name:hr_employee_medical_examination.selection__hr_employee_medical_examination__result__passed #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_search_view @@ -419,16 +410,6 @@ msgstr "" msgid "Type of the exception activity on record." msgstr "" -#. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_unread -msgid "Unread Messages" -msgstr "" - -#. module: hr_employee_medical_examination -#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_unread_counter -msgid "Unread Messages Counter" -msgstr "" - #. module: hr_employee_medical_examination #: model:ir.ui.menu,name:hr_employee_medical_examination.hr_employee_medical_examination_all msgid "View Medical Examinations" From 78ec131cabd88f71c3e9bab7c8ef8eda07928b1c Mon Sep 17 00:00:00 2001 From: Bole Date: Wed, 1 Feb 2023 18:15:19 +0000 Subject: [PATCH 16/39] Added translation using Weblate (Croatian) --- hr_employee_medical_examination/i18n/hr.po | 418 +++++++++++++++++++++ 1 file changed, 418 insertions(+) create mode 100644 hr_employee_medical_examination/i18n/hr.po diff --git a/hr_employee_medical_examination/i18n/hr.po b/hr_employee_medical_examination/i18n/hr.po new file mode 100644 index 00000000000..9d5d82fe827 --- /dev/null +++ b/hr_employee_medical_examination/i18n/hr.po @@ -0,0 +1,418 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_employee_medical_examination +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: Automatically generated\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" + +#. module: hr_employee_medical_examination +#. odoo-python +#: code:addons/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py:0 +#, python-format +msgid "%(name)s on %(employee)s" +msgstr "" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view +msgid "Filters:" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_needaction +msgid "Action Needed" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_ids +msgid "Activities" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_exception_decoration +msgid "Activity Exception Decoration" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_state +msgid "Activity State" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_type_icon +msgid "Activity Type Icon" +msgstr "" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view +msgid "Add note..." +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_attachment_count +msgid "Attachment Count" +msgstr "" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view +msgid "Back To Pending" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee__can_see_examinations_button +msgid "Can See Examinations Button" +msgstr "" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view +msgid "Cancel" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields.selection,name:hr_employee_medical_examination.selection__hr_employee_medical_examination__state__cancelled +msgid "Cancelled" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__create_uid +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__create_uid +msgid "Created by" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__create_date +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__create_date +msgid "Created on" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__department_id +msgid "Department" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__display_name +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__display_name +msgid "Display Name" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields.selection,name:hr_employee_medical_examination.selection__hr_employee_medical_examination__state__done +msgid "Done" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model,name:hr_employee_medical_examination.model_hr_employee +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__employee_id +msgid "Employee" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.actions.act_window,name:hr_employee_medical_examination.hr_employee_medical_examination_act_window +msgid "Employee Medical Examinations" +msgstr "" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view +msgid "Employee's Name" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__employee_ids +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view +msgid "Employees" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__date +msgid "Examination Date" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__name +msgid "Examination Name" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields.selection,name:hr_employee_medical_examination.selection__hr_employee_medical_examination__result__failed +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_search_view +msgid "Failed" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_follower_ids +msgid "Followers" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_partner_ids +msgid "Followers (Partners)" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_type_icon +msgid "Font awesome icon e.g. fa-tasks" +msgstr "" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view +msgid "Generate" +msgstr "" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view +msgid "Generate Medical Examination" +msgstr "" + +#. module: hr_employee_medical_examination +#. odoo-python +#: code:addons/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py:0 +#: model:ir.actions.act_window,name:hr_employee_medical_examination.wizard_generate_medical_examination_act_window +#: model:ir.ui.menu,name:hr_employee_medical_examination.hr_employee_medical_examination_generate_wizard +#, python-format +msgid "Generate Medical Examinations" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model,name:hr_employee_medical_examination.model_wizard_generate_medical_examination +msgid "Generation wizard for medical examinations" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__has_message +msgid "Has Message" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model,name:hr_employee_medical_examination.model_hr_employee_medical_examination +msgid "Hr Employee Medical Examination" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__id +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__id +msgid "ID" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_exception_icon +msgid "Icon" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_exception_icon +msgid "Icon to indicate an exception activity." +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_needaction +msgid "If checked, new messages require your attention." +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_error +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_sms_error +msgid "If checked, some messages have a delivery error." +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_is_follower +msgid "Is Follower" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__job_id +msgid "Job" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination____last_update +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination____last_update +msgid "Last Modified on" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__write_uid +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__write_date +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__write_date +msgid "Last Updated on" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_main_attachment_id +msgid "Main Attachment" +msgstr "" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view +msgid "Mark as Cancelled" +msgstr "" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view +msgid "Mark as Done" +msgstr "" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view +msgid "Mark as Rejected" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee__medical_examination_ids +msgid "Medical Examination" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee__medical_examination_count +msgid "Medical Examination Count" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.actions.act_window,name:hr_employee_medical_examination.act_medical_examination_employee +#: model:ir.ui.menu,name:hr_employee_medical_examination.hr_employee_medical_examination_menu +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.view_employee_form +msgid "Medical Examinations" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_error +msgid "Message Delivery error" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_ids +msgid "Messages" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__my_activity_date_deadline +msgid "My Activity Deadline" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__name +msgid "Name" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_date_deadline +msgid "Next Activity Deadline" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_summary +msgid "Next Activity Summary" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_type_id +msgid "Next Activity Type" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__note +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view +msgid "Note" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_needaction_counter +msgid "Number of Actions" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_error_counter +msgid "Number of errors" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_needaction_counter +msgid "Number of messages which requires an action" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_error_counter +msgid "Number of messages with delivery error" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields.selection,name:hr_employee_medical_examination.selection__hr_employee_medical_examination__result__passed +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_search_view +msgid "Passed" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields.selection,name:hr_employee_medical_examination.selection__hr_employee_medical_examination__state__pending +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_search_view +msgid "Pending" +msgstr "" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view +msgid "Populate" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields.selection,name:hr_employee_medical_examination.selection__hr_employee_medical_examination__state__rejected +msgid "Rejected" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_user_id +msgid "Responsible User" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__result +msgid "Result" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_sms_error +msgid "SMS Delivery error" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__state +msgid "State" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_state +msgid "" +"Status based on activities\n" +"Overdue: Due date is already passed\n" +"Today: Activity date is today\n" +"Planned: Future activities." +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_exception_decoration +msgid "Type of the exception activity on record." +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.ui.menu,name:hr_employee_medical_examination.hr_employee_medical_examination_all +msgid "View Medical Examinations" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__year +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__year +msgid "Year" +msgstr "" From a333b2572cf8de9b075956c87825788b6ddec674 Mon Sep 17 00:00:00 2001 From: Bole Date: Wed, 1 Feb 2023 18:15:44 +0000 Subject: [PATCH 17/39] Translated using Weblate (Croatian) Currently translated at 58.6% (44 of 75 strings) Translation: hr-16.0/hr-16.0-hr_employee_medical_examination Translate-URL: https://translation.odoo-community.org/projects/hr-16-0/hr-16-0-hr_employee_medical_examination/hr/ --- hr_employee_medical_examination/i18n/hr.po | 92 +++++++++++----------- 1 file changed, 47 insertions(+), 45 deletions(-) diff --git a/hr_employee_medical_examination/i18n/hr.po b/hr_employee_medical_examination/i18n/hr.po index 9d5d82fe827..7a864cb0491 100644 --- a/hr_employee_medical_examination/i18n/hr.po +++ b/hr_employee_medical_examination/i18n/hr.po @@ -6,7 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 16.0\n" "Report-Msgid-Bugs-To: \n" -"Last-Translator: Automatically generated\n" +"PO-Revision-Date: 2023-02-01 20:46+0000\n" +"Last-Translator: Bole \n" "Language-Team: none\n" "Language: hr\n" "MIME-Version: 1.0\n" @@ -14,6 +15,7 @@ msgstr "" "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 4.14.1\n" #. module: hr_employee_medical_examination #. odoo-python @@ -25,138 +27,138 @@ msgstr "" #. module: hr_employee_medical_examination #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view msgid "Filters:" -msgstr "" +msgstr "Filteri:" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_needaction msgid "Action Needed" -msgstr "" +msgstr "Potrebna radnja" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_ids msgid "Activities" -msgstr "" +msgstr "Aktivnosti" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_exception_decoration msgid "Activity Exception Decoration" -msgstr "" +msgstr "Dekoracija izuzetka aktivnosti" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_state msgid "Activity State" -msgstr "" +msgstr "Status aktivnosti" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_type_icon msgid "Activity Type Icon" -msgstr "" +msgstr "Ikona tipa aktivnosti" #. module: hr_employee_medical_examination #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view msgid "Add note..." -msgstr "" +msgstr "Dodaj bilješku..." #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_attachment_count msgid "Attachment Count" -msgstr "" +msgstr "Broj priloga" #. module: hr_employee_medical_examination #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view msgid "Back To Pending" -msgstr "" +msgstr "Nazad na U tijeku" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee__can_see_examinations_button msgid "Can See Examinations Button" -msgstr "" +msgstr "Može vidjeti gumb Pregleda" #. module: hr_employee_medical_examination #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view msgid "Cancel" -msgstr "" +msgstr "Odustani" #. module: hr_employee_medical_examination #: model:ir.model.fields.selection,name:hr_employee_medical_examination.selection__hr_employee_medical_examination__state__cancelled msgid "Cancelled" -msgstr "" +msgstr "Otkazano" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__create_uid #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__create_uid msgid "Created by" -msgstr "" +msgstr "Kreirao" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__create_date #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__create_date msgid "Created on" -msgstr "" +msgstr "Kreirano" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__department_id msgid "Department" -msgstr "" +msgstr "Odjel" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__display_name #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__display_name msgid "Display Name" -msgstr "" +msgstr "Naziv" #. module: hr_employee_medical_examination #: model:ir.model.fields.selection,name:hr_employee_medical_examination.selection__hr_employee_medical_examination__state__done msgid "Done" -msgstr "" +msgstr "Gotovo" #. module: hr_employee_medical_examination #: model:ir.model,name:hr_employee_medical_examination.model_hr_employee #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__employee_id msgid "Employee" -msgstr "" +msgstr "Djelatnik" #. module: hr_employee_medical_examination #: model:ir.actions.act_window,name:hr_employee_medical_examination.hr_employee_medical_examination_act_window msgid "Employee Medical Examinations" -msgstr "" +msgstr "Medicinski pregledi djelatnika" #. module: hr_employee_medical_examination #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view msgid "Employee's Name" -msgstr "" +msgstr "Naziv djelatnika" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__employee_ids #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view msgid "Employees" -msgstr "" +msgstr "Djelatnici" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__date msgid "Examination Date" -msgstr "" +msgstr "Datum pregleda" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__name msgid "Examination Name" -msgstr "" +msgstr "Naziv pregleda" #. module: hr_employee_medical_examination #: model:ir.model.fields.selection,name:hr_employee_medical_examination.selection__hr_employee_medical_examination__result__failed #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_search_view msgid "Failed" -msgstr "" +msgstr "Nije zadovoljio" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_follower_ids msgid "Followers" -msgstr "" +msgstr "Pratitelji" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_partner_ids msgid "Followers (Partners)" -msgstr "" +msgstr "Pratitelji (partneri)" #. module: hr_employee_medical_examination #: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_type_icon @@ -166,12 +168,12 @@ msgstr "" #. module: hr_employee_medical_examination #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view msgid "Generate" -msgstr "" +msgstr "Generiraj" #. module: hr_employee_medical_examination #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view msgid "Generate Medical Examination" -msgstr "" +msgstr "Generiraj medicinski pregled" #. module: hr_employee_medical_examination #. odoo-python @@ -180,33 +182,33 @@ msgstr "" #: model:ir.ui.menu,name:hr_employee_medical_examination.hr_employee_medical_examination_generate_wizard #, python-format msgid "Generate Medical Examinations" -msgstr "" +msgstr "Generiraj medicinske preglede" #. module: hr_employee_medical_examination #: model:ir.model,name:hr_employee_medical_examination.model_wizard_generate_medical_examination msgid "Generation wizard for medical examinations" -msgstr "" +msgstr "Čarobnjak za generiranje medicinskih pregleda" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__has_message msgid "Has Message" -msgstr "" +msgstr "Ima poruka" #. module: hr_employee_medical_examination #: model:ir.model,name:hr_employee_medical_examination.model_hr_employee_medical_examination msgid "Hr Employee Medical Examination" -msgstr "" +msgstr "Medicinski pregled djelatnika" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__id #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__id msgid "ID" -msgstr "" +msgstr "ID" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_exception_icon msgid "Icon" -msgstr "" +msgstr "Ikona" #. module: hr_employee_medical_examination #: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_exception_icon @@ -232,19 +234,19 @@ msgstr "" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__job_id msgid "Job" -msgstr "" +msgstr "Posao" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination____last_update #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination____last_update msgid "Last Modified on" -msgstr "" +msgstr "Zadnje modificirano" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__write_uid #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__write_uid msgid "Last Updated by" -msgstr "" +msgstr "Zadnje ažurirano" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__write_date @@ -255,39 +257,39 @@ msgstr "" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_main_attachment_id msgid "Main Attachment" -msgstr "" +msgstr "Glavni prilog" #. module: hr_employee_medical_examination #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view msgid "Mark as Cancelled" -msgstr "" +msgstr "Označi kao otkazano" #. module: hr_employee_medical_examination #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view msgid "Mark as Done" -msgstr "" +msgstr "Označi kao gotovo" #. module: hr_employee_medical_examination #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view msgid "Mark as Rejected" -msgstr "" +msgstr "Označi kao odbijeno" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee__medical_examination_ids msgid "Medical Examination" -msgstr "" +msgstr "Medicinski pregled" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee__medical_examination_count msgid "Medical Examination Count" -msgstr "" +msgstr "Broj medicinskih pregleda" #. module: hr_employee_medical_examination #: model:ir.actions.act_window,name:hr_employee_medical_examination.act_medical_examination_employee #: model:ir.ui.menu,name:hr_employee_medical_examination.hr_employee_medical_examination_menu #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.view_employee_form msgid "Medical Examinations" -msgstr "" +msgstr "Medicinski pregledi" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_error From 7c440d04abca7208db126025641388f3e9530f07 Mon Sep 17 00:00:00 2001 From: mymage Date: Wed, 17 May 2023 12:33:21 +0000 Subject: [PATCH 18/39] Added translation using Weblate (Italian) --- hr_employee_medical_examination/i18n/it.po | 417 +++++++++++++++++++++ 1 file changed, 417 insertions(+) create mode 100644 hr_employee_medical_examination/i18n/it.po diff --git a/hr_employee_medical_examination/i18n/it.po b/hr_employee_medical_examination/i18n/it.po new file mode 100644 index 00000000000..97354aa3e8d --- /dev/null +++ b/hr_employee_medical_examination/i18n/it.po @@ -0,0 +1,417 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_employee_medical_examination +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: Automatically generated\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" + +#. module: hr_employee_medical_examination +#. odoo-python +#: code:addons/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py:0 +#, python-format +msgid "%(name)s on %(employee)s" +msgstr "" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view +msgid "Filters:" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_needaction +msgid "Action Needed" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_ids +msgid "Activities" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_exception_decoration +msgid "Activity Exception Decoration" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_state +msgid "Activity State" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_type_icon +msgid "Activity Type Icon" +msgstr "" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view +msgid "Add note..." +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_attachment_count +msgid "Attachment Count" +msgstr "" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view +msgid "Back To Pending" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee__can_see_examinations_button +msgid "Can See Examinations Button" +msgstr "" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view +msgid "Cancel" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields.selection,name:hr_employee_medical_examination.selection__hr_employee_medical_examination__state__cancelled +msgid "Cancelled" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__create_uid +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__create_uid +msgid "Created by" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__create_date +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__create_date +msgid "Created on" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__department_id +msgid "Department" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__display_name +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__display_name +msgid "Display Name" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields.selection,name:hr_employee_medical_examination.selection__hr_employee_medical_examination__state__done +msgid "Done" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model,name:hr_employee_medical_examination.model_hr_employee +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__employee_id +msgid "Employee" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.actions.act_window,name:hr_employee_medical_examination.hr_employee_medical_examination_act_window +msgid "Employee Medical Examinations" +msgstr "" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view +msgid "Employee's Name" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__employee_ids +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view +msgid "Employees" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__date +msgid "Examination Date" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__name +msgid "Examination Name" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields.selection,name:hr_employee_medical_examination.selection__hr_employee_medical_examination__result__failed +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_search_view +msgid "Failed" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_follower_ids +msgid "Followers" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_partner_ids +msgid "Followers (Partners)" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_type_icon +msgid "Font awesome icon e.g. fa-tasks" +msgstr "" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view +msgid "Generate" +msgstr "" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view +msgid "Generate Medical Examination" +msgstr "" + +#. module: hr_employee_medical_examination +#. odoo-python +#: code:addons/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py:0 +#: model:ir.actions.act_window,name:hr_employee_medical_examination.wizard_generate_medical_examination_act_window +#: model:ir.ui.menu,name:hr_employee_medical_examination.hr_employee_medical_examination_generate_wizard +#, python-format +msgid "Generate Medical Examinations" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model,name:hr_employee_medical_examination.model_wizard_generate_medical_examination +msgid "Generation wizard for medical examinations" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__has_message +msgid "Has Message" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model,name:hr_employee_medical_examination.model_hr_employee_medical_examination +msgid "Hr Employee Medical Examination" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__id +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__id +msgid "ID" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_exception_icon +msgid "Icon" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_exception_icon +msgid "Icon to indicate an exception activity." +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_needaction +msgid "If checked, new messages require your attention." +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_error +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_sms_error +msgid "If checked, some messages have a delivery error." +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_is_follower +msgid "Is Follower" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__job_id +msgid "Job" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination____last_update +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination____last_update +msgid "Last Modified on" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__write_uid +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__write_date +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__write_date +msgid "Last Updated on" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_main_attachment_id +msgid "Main Attachment" +msgstr "" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view +msgid "Mark as Cancelled" +msgstr "" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view +msgid "Mark as Done" +msgstr "" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view +msgid "Mark as Rejected" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee__medical_examination_ids +msgid "Medical Examination" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee__medical_examination_count +msgid "Medical Examination Count" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.actions.act_window,name:hr_employee_medical_examination.act_medical_examination_employee +#: model:ir.ui.menu,name:hr_employee_medical_examination.hr_employee_medical_examination_menu +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.view_employee_form +msgid "Medical Examinations" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_error +msgid "Message Delivery error" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_ids +msgid "Messages" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__my_activity_date_deadline +msgid "My Activity Deadline" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__name +msgid "Name" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_date_deadline +msgid "Next Activity Deadline" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_summary +msgid "Next Activity Summary" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_type_id +msgid "Next Activity Type" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__note +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view +msgid "Note" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_needaction_counter +msgid "Number of Actions" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_error_counter +msgid "Number of errors" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_needaction_counter +msgid "Number of messages which requires an action" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_error_counter +msgid "Number of messages with delivery error" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields.selection,name:hr_employee_medical_examination.selection__hr_employee_medical_examination__result__passed +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_search_view +msgid "Passed" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields.selection,name:hr_employee_medical_examination.selection__hr_employee_medical_examination__state__pending +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_search_view +msgid "Pending" +msgstr "" + +#. module: hr_employee_medical_examination +#: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view +msgid "Populate" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields.selection,name:hr_employee_medical_examination.selection__hr_employee_medical_examination__state__rejected +msgid "Rejected" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_user_id +msgid "Responsible User" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__result +msgid "Result" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_sms_error +msgid "SMS Delivery error" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__state +msgid "State" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_state +msgid "" +"Status based on activities\n" +"Overdue: Due date is already passed\n" +"Today: Activity date is today\n" +"Planned: Future activities." +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_exception_decoration +msgid "Type of the exception activity on record." +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.ui.menu,name:hr_employee_medical_examination.hr_employee_medical_examination_all +msgid "View Medical Examinations" +msgstr "" + +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__year +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__year +msgid "Year" +msgstr "" From ee5f778208bc7615b88cf9853018319ab337f7d0 Mon Sep 17 00:00:00 2001 From: mymage Date: Thu, 18 May 2023 12:56:02 +0000 Subject: [PATCH 19/39] Translated using Weblate (Italian) Currently translated at 100.0% (75 of 75 strings) Translation: hr-16.0/hr-16.0-hr_employee_medical_examination Translate-URL: https://translation.odoo-community.org/projects/hr-16-0/hr-16-0-hr_employee_medical_examination/it/ --- hr_employee_medical_examination/i18n/it.po | 156 +++++++++++---------- 1 file changed, 81 insertions(+), 75 deletions(-) diff --git a/hr_employee_medical_examination/i18n/it.po b/hr_employee_medical_examination/i18n/it.po index 97354aa3e8d..1cb0d64c4b0 100644 --- a/hr_employee_medical_examination/i18n/it.po +++ b/hr_employee_medical_examination/i18n/it.po @@ -6,171 +6,173 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 16.0\n" "Report-Msgid-Bugs-To: \n" -"Last-Translator: Automatically generated\n" +"PO-Revision-Date: 2023-05-18 15:35+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.16.4\n" #. module: hr_employee_medical_examination #. odoo-python #: code:addons/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py:0 #, python-format msgid "%(name)s on %(employee)s" -msgstr "" +msgstr "%(name)s su %(employee)s" #. module: hr_employee_medical_examination #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view msgid "Filters:" -msgstr "" +msgstr "Filtri:" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_needaction msgid "Action Needed" -msgstr "" +msgstr "Azione richiesta" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_ids msgid "Activities" -msgstr "" +msgstr "Attività" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_exception_decoration msgid "Activity Exception Decoration" -msgstr "" +msgstr "Decorazione eccezione attività" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_state msgid "Activity State" -msgstr "" +msgstr "Stato attività" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_type_icon msgid "Activity Type Icon" -msgstr "" +msgstr "Icona tipo attività" #. module: hr_employee_medical_examination #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view msgid "Add note..." -msgstr "" +msgstr "Aggiungi nota..." #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_attachment_count msgid "Attachment Count" -msgstr "" +msgstr "Conteggio allegati" #. module: hr_employee_medical_examination #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view msgid "Back To Pending" -msgstr "" +msgstr "Torna ai sospesi" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee__can_see_examinations_button msgid "Can See Examinations Button" -msgstr "" +msgstr "Può visualizzare pulsante visita" #. module: hr_employee_medical_examination #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view msgid "Cancel" -msgstr "" +msgstr "Annulla" #. module: hr_employee_medical_examination #: model:ir.model.fields.selection,name:hr_employee_medical_examination.selection__hr_employee_medical_examination__state__cancelled msgid "Cancelled" -msgstr "" +msgstr "Annullato" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__create_uid #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__create_uid msgid "Created by" -msgstr "" +msgstr "Creato da" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__create_date #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__create_date msgid "Created on" -msgstr "" +msgstr "Creato il" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__department_id msgid "Department" -msgstr "" +msgstr "Reparto" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__display_name #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__display_name msgid "Display Name" -msgstr "" +msgstr "Nome visualizzato" #. module: hr_employee_medical_examination #: model:ir.model.fields.selection,name:hr_employee_medical_examination.selection__hr_employee_medical_examination__state__done msgid "Done" -msgstr "" +msgstr "Completato" #. module: hr_employee_medical_examination #: model:ir.model,name:hr_employee_medical_examination.model_hr_employee #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__employee_id msgid "Employee" -msgstr "" +msgstr "Dipendente" #. module: hr_employee_medical_examination #: model:ir.actions.act_window,name:hr_employee_medical_examination.hr_employee_medical_examination_act_window msgid "Employee Medical Examinations" -msgstr "" +msgstr "Visita medico dipendente" #. module: hr_employee_medical_examination #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view msgid "Employee's Name" -msgstr "" +msgstr "Nome del dipendente" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__employee_ids #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view msgid "Employees" -msgstr "" +msgstr "Dipendenti" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__date msgid "Examination Date" -msgstr "" +msgstr "Data visita" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__name msgid "Examination Name" -msgstr "" +msgstr "Nome visita" #. module: hr_employee_medical_examination #: model:ir.model.fields.selection,name:hr_employee_medical_examination.selection__hr_employee_medical_examination__result__failed #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_search_view msgid "Failed" -msgstr "" +msgstr "Fallita" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_follower_ids msgid "Followers" -msgstr "" +msgstr "Seguito da" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_partner_ids msgid "Followers (Partners)" -msgstr "" +msgstr "Seguito da (partner)" #. module: hr_employee_medical_examination #: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_type_icon msgid "Font awesome icon e.g. fa-tasks" -msgstr "" +msgstr "Icona Font Awesome es. fa-tasks" #. module: hr_employee_medical_examination #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view msgid "Generate" -msgstr "" +msgstr "Genera" #. module: hr_employee_medical_examination #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view msgid "Generate Medical Examination" -msgstr "" +msgstr "Venera visita medica" #. module: hr_employee_medical_examination #. odoo-python @@ -179,217 +181,217 @@ msgstr "" #: model:ir.ui.menu,name:hr_employee_medical_examination.hr_employee_medical_examination_generate_wizard #, python-format msgid "Generate Medical Examinations" -msgstr "" +msgstr "Genera visite mediche" #. module: hr_employee_medical_examination #: model:ir.model,name:hr_employee_medical_examination.model_wizard_generate_medical_examination msgid "Generation wizard for medical examinations" -msgstr "" +msgstr "Procedura guidata generazione visite mediche" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__has_message msgid "Has Message" -msgstr "" +msgstr "Ha un messaggio" #. module: hr_employee_medical_examination #: model:ir.model,name:hr_employee_medical_examination.model_hr_employee_medical_examination msgid "Hr Employee Medical Examination" -msgstr "" +msgstr "Visita medica dipendente RU" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__id #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__id msgid "ID" -msgstr "" +msgstr "ID" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_exception_icon msgid "Icon" -msgstr "" +msgstr "icona" #. module: hr_employee_medical_examination #: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_exception_icon msgid "Icon to indicate an exception activity." -msgstr "" +msgstr "Icona per indicare un'attività eccezione." #. module: hr_employee_medical_examination #: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_needaction msgid "If checked, new messages require your attention." -msgstr "" +msgstr "Se selezionata, nuovi messaggi richiedono attenzione." #. module: hr_employee_medical_examination #: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_error #: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_sms_error msgid "If checked, some messages have a delivery error." -msgstr "" +msgstr "Se selezionata, alcuni messaggi hanno un errore di consegna." #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_is_follower msgid "Is Follower" -msgstr "" +msgstr "Segue" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__job_id msgid "Job" -msgstr "" +msgstr "Lavoro" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination____last_update #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination____last_update msgid "Last Modified on" -msgstr "" +msgstr "Ultima modifica il" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__write_uid #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__write_uid msgid "Last Updated by" -msgstr "" +msgstr "Ultimo aggiornamento di" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__write_date #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__write_date msgid "Last Updated on" -msgstr "" +msgstr "Ultimo aggiornamento il" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_main_attachment_id msgid "Main Attachment" -msgstr "" +msgstr "Allegato principale" #. module: hr_employee_medical_examination #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view msgid "Mark as Cancelled" -msgstr "" +msgstr "Segna come annullata" #. module: hr_employee_medical_examination #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view msgid "Mark as Done" -msgstr "" +msgstr "Segna come eseguita" #. module: hr_employee_medical_examination #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view msgid "Mark as Rejected" -msgstr "" +msgstr "Segna come respinta" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee__medical_examination_ids msgid "Medical Examination" -msgstr "" +msgstr "Visita medica" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee__medical_examination_count msgid "Medical Examination Count" -msgstr "" +msgstr "Conteggio visita medica" #. module: hr_employee_medical_examination #: model:ir.actions.act_window,name:hr_employee_medical_examination.act_medical_examination_employee #: model:ir.ui.menu,name:hr_employee_medical_examination.hr_employee_medical_examination_menu #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.view_employee_form msgid "Medical Examinations" -msgstr "" +msgstr "Visite mediche" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_error msgid "Message Delivery error" -msgstr "" +msgstr "Errore di consegna messaggio" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_ids msgid "Messages" -msgstr "" +msgstr "Messaggi" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__my_activity_date_deadline msgid "My Activity Deadline" -msgstr "" +msgstr "Scadenza mia attività" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__name msgid "Name" -msgstr "" +msgstr "Nome" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_date_deadline msgid "Next Activity Deadline" -msgstr "" +msgstr "Scadenza prossima attività" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_summary msgid "Next Activity Summary" -msgstr "" +msgstr "Riepilogo prossima attività" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_type_id msgid "Next Activity Type" -msgstr "" +msgstr "Tipologia prossima attività" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__note #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view msgid "Note" -msgstr "" +msgstr "Nota" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_needaction_counter msgid "Number of Actions" -msgstr "" +msgstr "Numero di azioni" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_error_counter msgid "Number of errors" -msgstr "" +msgstr "Numero di errori" #. module: hr_employee_medical_examination #: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_needaction_counter msgid "Number of messages which requires an action" -msgstr "" +msgstr "Numero di messaggi che richiedono un'azione" #. module: hr_employee_medical_examination #: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_error_counter msgid "Number of messages with delivery error" -msgstr "" +msgstr "Numero di messaggi con errore di consegna" #. module: hr_employee_medical_examination #: model:ir.model.fields.selection,name:hr_employee_medical_examination.selection__hr_employee_medical_examination__result__passed #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_search_view msgid "Passed" -msgstr "" +msgstr "Superata" #. module: hr_employee_medical_examination #: model:ir.model.fields.selection,name:hr_employee_medical_examination.selection__hr_employee_medical_examination__state__pending #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_search_view msgid "Pending" -msgstr "" +msgstr "In attesa" #. module: hr_employee_medical_examination #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view msgid "Populate" -msgstr "" +msgstr "Compila" #. module: hr_employee_medical_examination #: model:ir.model.fields.selection,name:hr_employee_medical_examination.selection__hr_employee_medical_examination__state__rejected msgid "Rejected" -msgstr "" +msgstr "Respinta" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_user_id msgid "Responsible User" -msgstr "" +msgstr "Utente responsabile" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__result msgid "Result" -msgstr "" +msgstr "Risultato" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_sms_error msgid "SMS Delivery error" -msgstr "" +msgstr "Errore consegna SMS" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__state msgid "State" -msgstr "" +msgstr "Stato" #. module: hr_employee_medical_examination #: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_state @@ -399,19 +401,23 @@ msgid "" "Today: Activity date is today\n" "Planned: Future activities." msgstr "" +"Stato in base alle attività\n" +"Scaduto: la data richiesta è trascorsa\n" +"Oggi: la data attività è oggi\n" +"Pianificato: attività future." #. module: hr_employee_medical_examination #: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_exception_decoration msgid "Type of the exception activity on record." -msgstr "" +msgstr "Tipo di attività eccezione sul record." #. module: hr_employee_medical_examination #: model:ir.ui.menu,name:hr_employee_medical_examination.hr_employee_medical_examination_all msgid "View Medical Examinations" -msgstr "" +msgstr "Visualizza visite mediche" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__year #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__year msgid "Year" -msgstr "" +msgstr "Anno" From 39be1329a430a5f4ee8ca10be73532aa0ad29e36 Mon Sep 17 00:00:00 2001 From: mymage Date: Thu, 18 May 2023 18:30:20 +0000 Subject: [PATCH 20/39] Translated using Weblate (Italian) Currently translated at 100.0% (75 of 75 strings) Translation: hr-16.0/hr-16.0-hr_employee_medical_examination Translate-URL: https://translation.odoo-community.org/projects/hr-16-0/hr-16-0-hr_employee_medical_examination/it/ --- hr_employee_medical_examination/i18n/it.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hr_employee_medical_examination/i18n/it.po b/hr_employee_medical_examination/i18n/it.po index 1cb0d64c4b0..93c9300e0fa 100644 --- a/hr_employee_medical_examination/i18n/it.po +++ b/hr_employee_medical_examination/i18n/it.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 16.0\n" "Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2023-05-18 15:35+0000\n" +"PO-Revision-Date: 2023-05-18 21:29+0000\n" "Last-Translator: mymage \n" "Language-Team: none\n" "Language: it\n" @@ -98,7 +98,7 @@ msgstr "Creato il" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__department_id msgid "Department" -msgstr "Reparto" +msgstr "Ufficio" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__display_name From 36a46850cb0ac2e76c97682b5bde18ab362ded44 Mon Sep 17 00:00:00 2001 From: mymage Date: Mon, 22 May 2023 12:08:15 +0000 Subject: [PATCH 21/39] Translated using Weblate (Italian) Currently translated at 100.0% (75 of 75 strings) Translation: hr-16.0/hr-16.0-hr_employee_medical_examination Translate-URL: https://translation.odoo-community.org/projects/hr-16-0/hr-16-0-hr_employee_medical_examination/it/ --- hr_employee_medical_examination/i18n/it.po | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hr_employee_medical_examination/i18n/it.po b/hr_employee_medical_examination/i18n/it.po index 93c9300e0fa..c69b70cc383 100644 --- a/hr_employee_medical_examination/i18n/it.po +++ b/hr_employee_medical_examination/i18n/it.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 16.0\n" "Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2023-05-18 21:29+0000\n" +"PO-Revision-Date: 2023-05-22 15:08+0000\n" "Last-Translator: mymage \n" "Language-Team: none\n" "Language: it\n" @@ -14,7 +14,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.16.4\n" +"X-Generator: Weblate 4.17\n" #. module: hr_employee_medical_examination #. odoo-python @@ -109,7 +109,7 @@ msgstr "Nome visualizzato" #. module: hr_employee_medical_examination #: model:ir.model.fields.selection,name:hr_employee_medical_examination.selection__hr_employee_medical_examination__state__done msgid "Done" -msgstr "Completato" +msgstr "Completata" #. module: hr_employee_medical_examination #: model:ir.model,name:hr_employee_medical_examination.model_hr_employee @@ -120,7 +120,7 @@ msgstr "Dipendente" #. module: hr_employee_medical_examination #: model:ir.actions.act_window,name:hr_employee_medical_examination.hr_employee_medical_examination_act_window msgid "Employee Medical Examinations" -msgstr "Visita medico dipendente" +msgstr "Visita medica dipendente" #. module: hr_employee_medical_examination #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view @@ -172,7 +172,7 @@ msgstr "Genera" #. module: hr_employee_medical_examination #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view msgid "Generate Medical Examination" -msgstr "Venera visita medica" +msgstr "Genera visita medica" #. module: hr_employee_medical_examination #. odoo-python From 3f87db48873a2dd379534a0b2455460c2c6c7392 Mon Sep 17 00:00:00 2001 From: mymage Date: Tue, 30 May 2023 08:52:38 +0000 Subject: [PATCH 22/39] Translated using Weblate (Italian) Currently translated at 100.0% (75 of 75 strings) Translation: hr-16.0/hr-16.0-hr_employee_medical_examination Translate-URL: https://translation.odoo-community.org/projects/hr-16-0/hr-16-0-hr_employee_medical_examination/it/ --- hr_employee_medical_examination/i18n/it.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hr_employee_medical_examination/i18n/it.po b/hr_employee_medical_examination/i18n/it.po index c69b70cc383..b8a8cbedeb8 100644 --- a/hr_employee_medical_examination/i18n/it.po +++ b/hr_employee_medical_examination/i18n/it.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 16.0\n" "Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2023-05-22 15:08+0000\n" +"PO-Revision-Date: 2023-05-30 09:10+0000\n" "Last-Translator: mymage \n" "Language-Team: none\n" "Language: it\n" @@ -98,7 +98,7 @@ msgstr "Creato il" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__department_id msgid "Department" -msgstr "Ufficio" +msgstr "Reparto" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__display_name From eb31d44da273d7aa0e97941577f9cc0e90e98d23 Mon Sep 17 00:00:00 2001 From: mymage Date: Thu, 1 Jun 2023 13:08:24 +0000 Subject: [PATCH 23/39] Translated using Weblate (Italian) Currently translated at 100.0% (75 of 75 strings) Translation: hr-16.0/hr-16.0-hr_employee_medical_examination Translate-URL: https://translation.odoo-community.org/projects/hr-16-0/hr-16-0-hr_employee_medical_examination/it/ --- hr_employee_medical_examination/i18n/it.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hr_employee_medical_examination/i18n/it.po b/hr_employee_medical_examination/i18n/it.po index b8a8cbedeb8..1337dca4294 100644 --- a/hr_employee_medical_examination/i18n/it.po +++ b/hr_employee_medical_examination/i18n/it.po @@ -6,7 +6,7 @@ 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" +"PO-Revision-Date: 2023-06-01 15:09+0000\n" "Last-Translator: mymage \n" "Language-Team: none\n" "Language: it\n" @@ -71,7 +71,7 @@ msgstr "Torna ai sospesi" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee__can_see_examinations_button msgid "Can See Examinations Button" -msgstr "Può visualizzare pulsante visita" +msgstr "Può visualizzare pulsante visite" #. module: hr_employee_medical_examination #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view @@ -120,7 +120,7 @@ msgstr "Dipendente" #. module: hr_employee_medical_examination #: model:ir.actions.act_window,name:hr_employee_medical_examination.hr_employee_medical_examination_act_window msgid "Employee Medical Examinations" -msgstr "Visita medica dipendente" +msgstr "Visite mediche dipendente" #. module: hr_employee_medical_examination #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view From 5d8324b7eaf5d2537abc88aeb09d8c968db3147a Mon Sep 17 00:00:00 2001 From: oca-ci Date: Tue, 6 Jun 2023 11:47:35 +0000 Subject: [PATCH 24/39] [UPD] Update hr_employee_medical_examination.pot --- .../i18n/hr_employee_medical_examination.pot | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hr_employee_medical_examination/i18n/hr_employee_medical_examination.pot b/hr_employee_medical_examination/i18n/hr_employee_medical_examination.pot index 403a99c7591..77ed49b5ea3 100644 --- a/hr_employee_medical_examination/i18n/hr_employee_medical_examination.pot +++ b/hr_employee_medical_examination/i18n/hr_employee_medical_examination.pot @@ -307,6 +307,11 @@ msgstr "" msgid "Name" msgstr "" +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_calendar_event_id +msgid "Next Activity Calendar Event" +msgstr "" + #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_date_deadline msgid "Next Activity Deadline" From 6726a9332a9590bd460f757387eeec27a69ac9db Mon Sep 17 00:00:00 2001 From: Weblate Date: Tue, 6 Jun 2023 11:58:08 +0000 Subject: [PATCH 25/39] Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: hr-16.0/hr-16.0-hr_employee_medical_examination Translate-URL: https://translation.odoo-community.org/projects/hr-16-0/hr-16-0-hr_employee_medical_examination/ --- hr_employee_medical_examination/i18n/de.po | 5 +++++ hr_employee_medical_examination/i18n/es.po | 5 +++++ hr_employee_medical_examination/i18n/hr.po | 5 +++++ hr_employee_medical_examination/i18n/it.po | 5 +++++ 4 files changed, 20 insertions(+) diff --git a/hr_employee_medical_examination/i18n/de.po b/hr_employee_medical_examination/i18n/de.po index eb1ac6b80dd..8c70d0c6b1f 100644 --- a/hr_employee_medical_examination/i18n/de.po +++ b/hr_employee_medical_examination/i18n/de.po @@ -308,6 +308,11 @@ msgstr "" msgid "Name" msgstr "" +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_calendar_event_id +msgid "Next Activity Calendar Event" +msgstr "" + #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_date_deadline msgid "Next Activity Deadline" diff --git a/hr_employee_medical_examination/i18n/es.po b/hr_employee_medical_examination/i18n/es.po index b6f7db8eace..b30cb08ded6 100644 --- a/hr_employee_medical_examination/i18n/es.po +++ b/hr_employee_medical_examination/i18n/es.po @@ -313,6 +313,11 @@ msgstr "" msgid "Name" msgstr "Nombre" +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_calendar_event_id +msgid "Next Activity Calendar Event" +msgstr "" + #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_date_deadline msgid "Next Activity Deadline" diff --git a/hr_employee_medical_examination/i18n/hr.po b/hr_employee_medical_examination/i18n/hr.po index 7a864cb0491..e19bec90bc1 100644 --- a/hr_employee_medical_examination/i18n/hr.po +++ b/hr_employee_medical_examination/i18n/hr.po @@ -311,6 +311,11 @@ msgstr "" msgid "Name" msgstr "" +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_calendar_event_id +msgid "Next Activity Calendar Event" +msgstr "" + #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_date_deadline msgid "Next Activity Deadline" diff --git a/hr_employee_medical_examination/i18n/it.po b/hr_employee_medical_examination/i18n/it.po index 1337dca4294..dacbc00c090 100644 --- a/hr_employee_medical_examination/i18n/it.po +++ b/hr_employee_medical_examination/i18n/it.po @@ -310,6 +310,11 @@ msgstr "Scadenza mia attività" msgid "Name" msgstr "Nome" +#. module: hr_employee_medical_examination +#: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_calendar_event_id +msgid "Next Activity Calendar Event" +msgstr "" + #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_date_deadline msgid "Next Activity Deadline" From d81d006e354161076975b785412fa45afa188ea3 Mon Sep 17 00:00:00 2001 From: mymage Date: Mon, 12 Jun 2023 06:15:07 +0000 Subject: [PATCH 26/39] Translated using Weblate (Italian) Currently translated at 100.0% (76 of 76 strings) Translation: hr-16.0/hr-16.0-hr_employee_medical_examination Translate-URL: https://translation.odoo-community.org/projects/hr-16-0/hr-16-0-hr_employee_medical_examination/it/ --- hr_employee_medical_examination/i18n/it.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hr_employee_medical_examination/i18n/it.po b/hr_employee_medical_examination/i18n/it.po index dacbc00c090..12ee4f1bab6 100644 --- a/hr_employee_medical_examination/i18n/it.po +++ b/hr_employee_medical_examination/i18n/it.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 16.0\n" "Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2023-06-01 15:09+0000\n" +"PO-Revision-Date: 2023-06-12 09:09+0000\n" "Last-Translator: mymage \n" "Language-Team: none\n" "Language: it\n" @@ -313,7 +313,7 @@ msgstr "Nome" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_calendar_event_id msgid "Next Activity Calendar Event" -msgstr "" +msgstr "Evento calendario attività successiva" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_date_deadline From 3e53e45ae484d47ea901509bd8458a49731be3c1 Mon Sep 17 00:00:00 2001 From: mymage Date: Fri, 16 Jun 2023 14:07:40 +0000 Subject: [PATCH 27/39] Translated using Weblate (Italian) Currently translated at 100.0% (76 of 76 strings) Translation: hr-16.0/hr-16.0-hr_employee_medical_examination Translate-URL: https://translation.odoo-community.org/projects/hr-16-0/hr-16-0-hr_employee_medical_examination/it/ --- hr_employee_medical_examination/i18n/it.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hr_employee_medical_examination/i18n/it.po b/hr_employee_medical_examination/i18n/it.po index 12ee4f1bab6..12a8640c03d 100644 --- a/hr_employee_medical_examination/i18n/it.po +++ b/hr_employee_medical_examination/i18n/it.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 16.0\n" "Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2023-06-12 09:09+0000\n" +"PO-Revision-Date: 2023-06-16 14:10+0000\n" "Last-Translator: mymage \n" "Language-Team: none\n" "Language: it\n" @@ -207,7 +207,7 @@ msgstr "ID" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_exception_icon msgid "Icon" -msgstr "icona" +msgstr "Icona" #. module: hr_employee_medical_examination #: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_exception_icon From 4b46efa965d768c23a9414d5dd6e9aece0038da9 Mon Sep 17 00:00:00 2001 From: Ivorra78 Date: Thu, 3 Aug 2023 19:07:25 +0000 Subject: [PATCH 28/39] Translated using Weblate (Spanish) Currently translated at 100.0% (76 of 76 strings) Translation: hr-16.0/hr-16.0-hr_employee_medical_examination Translate-URL: https://translation.odoo-community.org/projects/hr-16-0/hr-16-0-hr_employee_medical_examination/es/ --- hr_employee_medical_examination/i18n/es.po | 95 +++++++++++----------- 1 file changed, 48 insertions(+), 47 deletions(-) diff --git a/hr_employee_medical_examination/i18n/es.po b/hr_employee_medical_examination/i18n/es.po index b30cb08ded6..cc37a55195f 100644 --- a/hr_employee_medical_examination/i18n/es.po +++ b/hr_employee_medical_examination/i18n/es.po @@ -6,22 +6,22 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2019-10-15 14:31+0000\n" -"Last-Translator: Jaime Arroyo \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 3.8\n" +"X-Generator: Weblate 4.17\n" #. module: hr_employee_medical_examination #. odoo-python #: code:addons/hr_employee_medical_examination/wizards/wizard_generate_medical_examination.py:0 #, python-format msgid "%(name)s on %(employee)s" -msgstr "" +msgstr "%(name)sen%(employee)s" #. module: hr_employee_medical_examination #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view @@ -31,43 +31,42 @@ msgstr "Filtros:" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_needaction msgid "Action Needed" -msgstr "" +msgstr "Acción necesaria" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_ids msgid "Activities" -msgstr "" +msgstr "Actividades" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_exception_decoration msgid "Activity Exception Decoration" -msgstr "" +msgstr "Decoración de actividad de excepción" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_state msgid "Activity State" -msgstr "" +msgstr "Estado de la actividad" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_type_icon msgid "Activity Type Icon" -msgstr "" +msgstr "Icono de tipo de actIvidad" #. module: hr_employee_medical_examination #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view msgid "Add note..." -msgstr "" +msgstr "Añadir nota..." #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_attachment_count msgid "Attachment Count" -msgstr "" +msgstr "Recuento de anexos" #. module: hr_employee_medical_examination #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view -#, fuzzy msgid "Back To Pending" -msgstr "Pendiente" +msgstr "Volver a Pendiente" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee__can_see_examinations_button @@ -153,17 +152,17 @@ msgstr "Suspendido" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_follower_ids msgid "Followers" -msgstr "" +msgstr "Seguidores/as" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_partner_ids msgid "Followers (Partners)" -msgstr "" +msgstr "Seguidores (Clientes)" #. module: hr_employee_medical_examination #: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_type_icon msgid "Font awesome icon e.g. fa-tasks" -msgstr "" +msgstr "Icono de fuente impresionante, por ejemplo fa-tasks" #. module: hr_employee_medical_examination #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.wizard_generate_medical_examination_form_view @@ -186,19 +185,18 @@ msgstr "Generar Exámenes Médicos" #. module: hr_employee_medical_examination #: model:ir.model,name:hr_employee_medical_examination.model_wizard_generate_medical_examination -#, fuzzy msgid "Generation wizard for medical examinations" -msgstr "Generar Exámenes Médicos" +msgstr "Asistente de generación para reconocimientos médicos" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__has_message msgid "Has Message" -msgstr "" +msgstr "Tiene mensaje" #. module: hr_employee_medical_examination #: model:ir.model,name:hr_employee_medical_examination.model_hr_employee_medical_examination msgid "Hr Employee Medical Examination" -msgstr "Hr Employee Medical Examination" +msgstr "Reconocimiento médico para empleados de RRHH" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__id @@ -209,28 +207,28 @@ msgstr "ID" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_exception_icon msgid "Icon" -msgstr "" +msgstr "Icono" #. module: hr_employee_medical_examination #: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_exception_icon msgid "Icon to indicate an exception activity." -msgstr "" +msgstr "Icono para indicar una actividad por excepción." #. module: hr_employee_medical_examination #: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_needaction msgid "If checked, new messages require your attention." -msgstr "" +msgstr "Si está marcado, nuevos mensajes requieren su atención." #. module: hr_employee_medical_examination #: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_error #: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_sms_error msgid "If checked, some messages have a delivery error." -msgstr "" +msgstr "Si está marcado, algunos mensajes tienen error de entrega." #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_is_follower msgid "Is Follower" -msgstr "" +msgstr "Es seguidor/a" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__job_id @@ -258,23 +256,22 @@ msgstr "Última Actualización en" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_main_attachment_id msgid "Main Attachment" -msgstr "" +msgstr "Archivo adjunto principal" #. module: hr_employee_medical_examination #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view -#, fuzzy msgid "Mark as Cancelled" -msgstr "Cancelado" +msgstr "Marcar como Cancelado" #. module: hr_employee_medical_examination #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view msgid "Mark as Done" -msgstr "" +msgstr "Marcar como Hecho" #. module: hr_employee_medical_examination #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view msgid "Mark as Rejected" -msgstr "" +msgstr "Marcar como Rechazado" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee__medical_examination_ids @@ -296,17 +293,17 @@ msgstr "Exámenes Médicos" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_error msgid "Message Delivery error" -msgstr "" +msgstr "Error en entrega del mensaje" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_ids msgid "Messages" -msgstr "" +msgstr "Mensajes" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__my_activity_date_deadline msgid "My Activity Deadline" -msgstr "" +msgstr "Fecha limite de mi actividad" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__name @@ -316,48 +313,48 @@ msgstr "Nombre" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_calendar_event_id msgid "Next Activity Calendar Event" -msgstr "" +msgstr "Próximo evento del calendario de actividades" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_date_deadline msgid "Next Activity Deadline" -msgstr "" +msgstr "Fecha Límite para la Próxima Actividad" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_summary msgid "Next Activity Summary" -msgstr "" +msgstr "Resumen de la Siguiente Actividad" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_type_id msgid "Next Activity Type" -msgstr "" +msgstr "Tipo de la siguiente actividad" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__note #: model_terms:ir.ui.view,arch_db:hr_employee_medical_examination.hr_employee_medical_examination_form_view msgid "Note" -msgstr "" +msgstr "Nota" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_needaction_counter msgid "Number of Actions" -msgstr "" +msgstr "Número de acciones" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_error_counter msgid "Number of errors" -msgstr "" +msgstr "Número de errores" #. module: hr_employee_medical_examination #: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_needaction_counter msgid "Number of messages which requires an action" -msgstr "" +msgstr "Números de mensajes que requieren una acción" #. module: hr_employee_medical_examination #: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_error_counter msgid "Number of messages with delivery error" -msgstr "" +msgstr "Número de mensajes con error de entrega" #. module: hr_employee_medical_examination #: model:ir.model.fields.selection,name:hr_employee_medical_examination.selection__hr_employee_medical_examination__result__passed @@ -379,12 +376,12 @@ msgstr "Buscar" #. module: hr_employee_medical_examination #: model:ir.model.fields.selection,name:hr_employee_medical_examination.selection__hr_employee_medical_examination__state__rejected msgid "Rejected" -msgstr "" +msgstr "Rechazado" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_user_id msgid "Responsible User" -msgstr "" +msgstr "Usuario Responsable" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__result @@ -394,7 +391,7 @@ msgstr "Resultado" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__message_has_sms_error msgid "SMS Delivery error" -msgstr "" +msgstr "Error en la entrega de sms" #. module: hr_employee_medical_examination #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__state @@ -409,11 +406,15 @@ msgid "" "Today: Activity date is today\n" "Planned: Future activities." msgstr "" +"Estado en función de las actividades\n" +"Atrasada: La fecha de vencimiento ya ha pasado\n" +"Hoy: La fecha de la actividad es hoy\n" +"Planificada: Actividades futuras." #. module: hr_employee_medical_examination #: model:ir.model.fields,help:hr_employee_medical_examination.field_hr_employee_medical_examination__activity_exception_decoration msgid "Type of the exception activity on record." -msgstr "" +msgstr "Tipo (o clase) de actividad excepcional registrada." #. module: hr_employee_medical_examination #: model:ir.ui.menu,name:hr_employee_medical_examination.hr_employee_medical_examination_all @@ -424,7 +425,7 @@ msgstr "Ver Exámenes Médicos" #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_hr_employee_medical_examination__year #: model:ir.model.fields,field_description:hr_employee_medical_examination.field_wizard_generate_medical_examination__year msgid "Year" -msgstr "" +msgstr "Año" #~ msgid "%s on %s" #~ msgstr "%s en %s" From 13c9b5d6758c7cab6d5fda5cfbc199033de3e9a1 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Sun, 3 Sep 2023 13:09:14 +0000 Subject: [PATCH 29/39] [UPD] README.rst --- hr_employee_medical_examination/README.rst | 15 +++++--- .../static/description/index.html | 38 ++++++++++--------- 2 files changed, 29 insertions(+), 24 deletions(-) diff --git a/hr_employee_medical_examination/README.rst b/hr_employee_medical_examination/README.rst index 80834e64ecc..484fdc699e1 100644 --- a/hr_employee_medical_examination/README.rst +++ b/hr_employee_medical_examination/README.rst @@ -2,10 +2,13 @@ Hr Employee Medical Examination =============================== -.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:a42b91b614ab41a7cd887d3ba4045d326d6513e88191122f1a8a9e515ab76630 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png :target: https://odoo-community.org/page/development-status @@ -19,11 +22,11 @@ Hr Employee Medical Examination .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png :target: https://translation.odoo-community.org/projects/hr-16-0/hr-16-0-hr_employee_medical_examination :alt: Translate me on Weblate -.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/116/16.0 - :alt: Try me on Runbot +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/hr&target_branch=16.0 + :alt: Try me on Runboat -|badge1| |badge2| |badge3| |badge4| |badge5| +|badge1| |badge2| |badge3| |badge4| |badge5| Adds information about employee's medical examinations @@ -55,7 +58,7 @@ Bug Tracker Bugs are tracked on `GitHub Issues `_. In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us smashing it by providing a detailed and welcomed +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. diff --git a/hr_employee_medical_examination/static/description/index.html b/hr_employee_medical_examination/static/description/index.html index 3774d5793e6..b49802f37e6 100644 --- a/hr_employee_medical_examination/static/description/index.html +++ b/hr_employee_medical_examination/static/description/index.html @@ -1,20 +1,20 @@ - + - + Hr Employee Medical Examination