diff --git a/mgmtsystem_evaluation_hr/README.rst b/mgmtsystem_evaluation_hr/README.rst new file mode 100644 index 00000000000..7865305860f --- /dev/null +++ b/mgmtsystem_evaluation_hr/README.rst @@ -0,0 +1,76 @@ +======================== +Mgmtsystem Evaluation Hr +======================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:a60eafde7cc2b3c8bd585b78904c47b9b81fdb294d17cd0eb5066eeb4fb06426 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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%2Fmanagement--system-lightgray.png?logo=github + :target: https://github.com/OCA/management-system/tree/18.0/mgmtsystem_evaluation_hr + :alt: OCA/management-system +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/management-system-18-0/management-system-18-0-mgmtsystem_evaluation_hr + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/management-system&target_branch=18.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +Allow to use evaluations on Employees. + +**Table of contents** + +.. contents:: + :local: + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +------- + +* Dixmit + +Contributors +------------ + +- Enric Tobella + +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/management-system `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/mgmtsystem_evaluation_hr/__init__.py b/mgmtsystem_evaluation_hr/__init__.py new file mode 100644 index 00000000000..0650744f6bc --- /dev/null +++ b/mgmtsystem_evaluation_hr/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/mgmtsystem_evaluation_hr/__manifest__.py b/mgmtsystem_evaluation_hr/__manifest__.py new file mode 100644 index 00000000000..638f23638fb --- /dev/null +++ b/mgmtsystem_evaluation_hr/__manifest__.py @@ -0,0 +1,17 @@ +# Copyright 2023 Dixmit +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +{ + "name": "Mgmtsystem Evaluation Hr", + "summary": """ + Allow to use evaluations on Employees""", + "version": "18.0.1.0.0", + "license": "AGPL-3", + "author": "Dixmit,Odoo Community Association (OCA)", + "website": "https://github.com/OCA/management-system", + "depends": ["mgmtsystem_evaluation", "hr"], + "data": [ + "views/hr_employee.xml", + ], + "demo": [], +} diff --git a/mgmtsystem_evaluation_hr/i18n/es.po b/mgmtsystem_evaluation_hr/i18n/es.po new file mode 100644 index 00000000000..92ebd1714d3 --- /dev/null +++ b/mgmtsystem_evaluation_hr/i18n/es.po @@ -0,0 +1,52 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * mgmtsystem_evaluation_hr +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-02-26 15:35+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: none\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: mgmtsystem_evaluation_hr +#: model:ir.model.fields,field_description:mgmtsystem_evaluation_hr.field_hr_employee__display_name +msgid "Display Name" +msgstr "Mostrar Nombre" + +#. module: mgmtsystem_evaluation_hr +#: model:ir.model,name:mgmtsystem_evaluation_hr.model_hr_employee +msgid "Employee" +msgstr "Empleado/a" + +#. module: mgmtsystem_evaluation_hr +#: model_terms:ir.ui.view,arch_db:mgmtsystem_evaluation_hr.hr_employee_form_view +msgid "Evaluations" +msgstr "Evaluaciones" + +#. module: mgmtsystem_evaluation_hr +#: model:ir.model.fields,field_description:mgmtsystem_evaluation_hr.field_hr_employee__id +msgid "ID" +msgstr "ID" + +#. module: mgmtsystem_evaluation_hr +#: model:ir.model.fields,field_description:mgmtsystem_evaluation_hr.field_hr_employee____last_update +msgid "Last Modified on" +msgstr "Última Modificación el" + +#. module: mgmtsystem_evaluation_hr +#: model:ir.model.fields,field_description:mgmtsystem_evaluation_hr.field_hr_employee__mgmtsystem_evaluation_ids +msgid "Mgmtsystem Evaluation" +msgstr "Evaluación del Sistema de Gestión" + +#. module: mgmtsystem_evaluation_hr +#: model:ir.model.fields,field_description:mgmtsystem_evaluation_hr.field_hr_employee__mgmtsystem_evaluation_count +msgid "Mgmtsystem Evaluation Count" +msgstr "Recuento de Evaluación del Sistema de Gestión" diff --git a/mgmtsystem_evaluation_hr/i18n/it.po b/mgmtsystem_evaluation_hr/i18n/it.po new file mode 100644 index 00000000000..5295176d9c0 --- /dev/null +++ b/mgmtsystem_evaluation_hr/i18n/it.po @@ -0,0 +1,52 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * mgmtsystem_evaluation_hr +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-10-09 09:13+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: mgmtsystem_evaluation_hr +#: model:ir.model.fields,field_description:mgmtsystem_evaluation_hr.field_hr_employee__display_name +msgid "Display Name" +msgstr "Nome visualizzato" + +#. module: mgmtsystem_evaluation_hr +#: model:ir.model,name:mgmtsystem_evaluation_hr.model_hr_employee +msgid "Employee" +msgstr "Dipendente" + +#. module: mgmtsystem_evaluation_hr +#: model_terms:ir.ui.view,arch_db:mgmtsystem_evaluation_hr.hr_employee_form_view +msgid "Evaluations" +msgstr "Valutazioni" + +#. module: mgmtsystem_evaluation_hr +#: model:ir.model.fields,field_description:mgmtsystem_evaluation_hr.field_hr_employee__id +msgid "ID" +msgstr "ID" + +#. module: mgmtsystem_evaluation_hr +#: model:ir.model.fields,field_description:mgmtsystem_evaluation_hr.field_hr_employee____last_update +msgid "Last Modified on" +msgstr "Ultima modifica il" + +#. module: mgmtsystem_evaluation_hr +#: model:ir.model.fields,field_description:mgmtsystem_evaluation_hr.field_hr_employee__mgmtsystem_evaluation_ids +msgid "Mgmtsystem Evaluation" +msgstr "Valutazione sistema di gestione" + +#. module: mgmtsystem_evaluation_hr +#: model:ir.model.fields,field_description:mgmtsystem_evaluation_hr.field_hr_employee__mgmtsystem_evaluation_count +msgid "Mgmtsystem Evaluation Count" +msgstr "Conteggio valutazione sistema di gestione" diff --git a/mgmtsystem_evaluation_hr/i18n/mgmtsystem_evaluation_hr.pot b/mgmtsystem_evaluation_hr/i18n/mgmtsystem_evaluation_hr.pot new file mode 100644 index 00000000000..7dc88a3e608 --- /dev/null +++ b/mgmtsystem_evaluation_hr/i18n/mgmtsystem_evaluation_hr.pot @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * mgmtsystem_evaluation_hr +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: mgmtsystem_evaluation_hr +#: model:ir.model,name:mgmtsystem_evaluation_hr.model_hr_employee +msgid "Employee" +msgstr "" + +#. module: mgmtsystem_evaluation_hr +#: model_terms:ir.ui.view,arch_db:mgmtsystem_evaluation_hr.hr_employee_form_view +msgid "Evaluations" +msgstr "" + +#. module: mgmtsystem_evaluation_hr +#: model:ir.model.fields,field_description:mgmtsystem_evaluation_hr.field_hr_employee__mgmtsystem_evaluation_ids +msgid "Mgmtsystem Evaluation" +msgstr "" + +#. module: mgmtsystem_evaluation_hr +#: model:ir.model.fields,field_description:mgmtsystem_evaluation_hr.field_hr_employee__mgmtsystem_evaluation_count +msgid "Mgmtsystem Evaluation Count" +msgstr "" diff --git a/mgmtsystem_evaluation_hr/models/__init__.py b/mgmtsystem_evaluation_hr/models/__init__.py new file mode 100644 index 00000000000..e11a62f98ca --- /dev/null +++ b/mgmtsystem_evaluation_hr/models/__init__.py @@ -0,0 +1 @@ +from . import hr_employee diff --git a/mgmtsystem_evaluation_hr/models/hr_employee.py b/mgmtsystem_evaluation_hr/models/hr_employee.py new file mode 100644 index 00000000000..483bb01c919 --- /dev/null +++ b/mgmtsystem_evaluation_hr/models/hr_employee.py @@ -0,0 +1,12 @@ +# Copyright 2023 Dixmit +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo import models + + +class HrEmployee(models.Model): + _name = "hr.employee" + _inherit = ["hr.employee", "mgmtsystem.evaluation.abstract"] + + def _get_mgmtsystem_evaluation_user(self): + return self.user_id diff --git a/mgmtsystem_evaluation_hr/pyproject.toml b/mgmtsystem_evaluation_hr/pyproject.toml new file mode 100644 index 00000000000..4231d0cccb3 --- /dev/null +++ b/mgmtsystem_evaluation_hr/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/mgmtsystem_evaluation_hr/readme/CONTRIBUTORS.md b/mgmtsystem_evaluation_hr/readme/CONTRIBUTORS.md new file mode 100644 index 00000000000..c84bf49d7cb --- /dev/null +++ b/mgmtsystem_evaluation_hr/readme/CONTRIBUTORS.md @@ -0,0 +1 @@ +- Enric Tobella diff --git a/mgmtsystem_evaluation_hr/readme/DESCRIPTION.md b/mgmtsystem_evaluation_hr/readme/DESCRIPTION.md new file mode 100644 index 00000000000..aa73ffabc84 --- /dev/null +++ b/mgmtsystem_evaluation_hr/readme/DESCRIPTION.md @@ -0,0 +1 @@ +Allow to use evaluations on Employees. diff --git a/mgmtsystem_evaluation_hr/static/description/icon.png b/mgmtsystem_evaluation_hr/static/description/icon.png new file mode 100644 index 00000000000..3a0328b516c Binary files /dev/null and b/mgmtsystem_evaluation_hr/static/description/icon.png differ diff --git a/mgmtsystem_evaluation_hr/static/description/index.html b/mgmtsystem_evaluation_hr/static/description/index.html new file mode 100644 index 00000000000..42f42ce4e0d --- /dev/null +++ b/mgmtsystem_evaluation_hr/static/description/index.html @@ -0,0 +1,423 @@ + + + + + +Mgmtsystem Evaluation Hr + + + +
+

Mgmtsystem Evaluation Hr

+ + +

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

+

Allow to use evaluations on Employees.

+

Table of contents

+ +
+

Bug Tracker

+

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

+

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

+
+
+

Credits

+
+

Authors

+
    +
  • Dixmit
  • +
+
+
+

Contributors

+
    +
  • Enric Tobella
  • +
+
+
+

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/management-system project on GitHub.

+

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

+
+
+
+ + diff --git a/mgmtsystem_evaluation_hr/views/hr_employee.xml b/mgmtsystem_evaluation_hr/views/hr_employee.xml new file mode 100644 index 00000000000..d26be83575e --- /dev/null +++ b/mgmtsystem_evaluation_hr/views/hr_employee.xml @@ -0,0 +1,27 @@ + + + + + hr.employee.form (in mgmtsystem_evaluation_hr) + hr.employee + + +
+ +
+
+
+