diff --git a/hr_employee_digitized_signature/README.rst b/hr_employee_digitized_signature/README.rst new file mode 100644 index 00000000000..a488f28bf6d --- /dev/null +++ b/hr_employee_digitized_signature/README.rst @@ -0,0 +1,84 @@ +============================ +Employee Digitized Signature +============================ + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:8b00d8e82178c02dd3a087578a4ce771c16b12aae97e1b2dae06fa3bcaffab3c + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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/18.0/hr_employee_digitized_signature + :alt: OCA/hr +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/hr-18-0/hr-18-0-hr_employee_digitized_signature + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/hr&target_branch=18.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module adds signature for the employee. + +**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 +------- + +* Ecosoft + +Contributors +------------ + +- Tharathip Chaweewongphan + +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. + +.. |maintainer-newtratip| image:: https://github.com/newtratip.png?size=40px + :target: https://github.com/newtratip + :alt: newtratip + +Current `maintainer `__: + +|maintainer-newtratip| + +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_digitized_signature/__init__.py b/hr_employee_digitized_signature/__init__.py new file mode 100644 index 00000000000..69f7babdfb1 --- /dev/null +++ b/hr_employee_digitized_signature/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from . import models diff --git a/hr_employee_digitized_signature/__manifest__.py b/hr_employee_digitized_signature/__manifest__.py new file mode 100644 index 00000000000..1555984fdec --- /dev/null +++ b/hr_employee_digitized_signature/__manifest__.py @@ -0,0 +1,15 @@ +# Copyright 2021 Ecosoft Co., Ltd. (http://ecosoft.co.th) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Employee Digitized Signature", + "version": "18.0.1.0.0", + "author": "Ecosoft, Odoo Community Association (OCA)", + "website": "https://github.com/OCA/hr", + "category": "Human Resources", + "license": "AGPL-3", + "depends": ["hr"], + "data": ["views/hr_employee_views.xml"], + "installable": True, + "maintainers": ["newtratip"], +} diff --git a/hr_employee_digitized_signature/i18n/de.po b/hr_employee_digitized_signature/i18n/de.po new file mode 100644 index 00000000000..4b1bef7d599 --- /dev/null +++ b/hr_employee_digitized_signature/i18n/de.po @@ -0,0 +1,36 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_employee_digitized_signature +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2022-05-11 13:05+0000\n" +"Last-Translator: Maria Sparenberg \n" +"Language-Team: none\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.3.2\n" + +#. module: hr_employee_digitized_signature +#: model:ir.model,name:hr_employee_digitized_signature.model_hr_employee +msgid "Employee" +msgstr "Mitarbeiter" + +#. module: hr_employee_digitized_signature +#: model:ir.model.fields,field_description:hr_employee_digitized_signature.field_hr_employee__signature +msgid "Signature" +msgstr "Unterschrift" + +#~ msgid "Display Name" +#~ msgstr "Anzeigename" + +#~ msgid "ID" +#~ msgstr "ID" + +#~ msgid "Last Modified on" +#~ msgstr "Zuletzt geändert am" diff --git a/hr_employee_digitized_signature/i18n/es.po b/hr_employee_digitized_signature/i18n/es.po new file mode 100644 index 00000000000..519d535ad03 --- /dev/null +++ b/hr_employee_digitized_signature/i18n/es.po @@ -0,0 +1,27 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_employee_digitized_signature +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-08-04 12:10+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: none\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: hr_employee_digitized_signature +#: model:ir.model,name:hr_employee_digitized_signature.model_hr_employee +msgid "Employee" +msgstr "Empleado/a" + +#. module: hr_employee_digitized_signature +#: model:ir.model.fields,field_description:hr_employee_digitized_signature.field_hr_employee__signature +msgid "Signature" +msgstr "Firma" diff --git a/hr_employee_digitized_signature/i18n/es_AR.po b/hr_employee_digitized_signature/i18n/es_AR.po new file mode 100644 index 00000000000..bb583691272 --- /dev/null +++ b/hr_employee_digitized_signature/i18n/es_AR.po @@ -0,0 +1,36 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_employee_digitized_signature +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2022-08-05 01:07+0000\n" +"Last-Translator: Nicolas Rodriguez Sande \n" +"Language-Team: none\n" +"Language: es_AR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.3.2\n" + +#. module: hr_employee_digitized_signature +#: model:ir.model,name:hr_employee_digitized_signature.model_hr_employee +msgid "Employee" +msgstr "Empleado" + +#. module: hr_employee_digitized_signature +#: model:ir.model.fields,field_description:hr_employee_digitized_signature.field_hr_employee__signature +msgid "Signature" +msgstr "Firma registrada" + +#~ msgid "Display Name" +#~ msgstr "Nombre para mostrar" + +#~ msgid "ID" +#~ msgstr "ID" + +#~ msgid "Last Modified on" +#~ msgstr "Última modificación en" diff --git a/hr_employee_digitized_signature/i18n/hr_employee_digitized_signature.pot b/hr_employee_digitized_signature/i18n/hr_employee_digitized_signature.pot new file mode 100644 index 00000000000..c0836718c8b --- /dev/null +++ b/hr_employee_digitized_signature/i18n/hr_employee_digitized_signature.pot @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_employee_digitized_signature +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: hr_employee_digitized_signature +#: model:ir.model,name:hr_employee_digitized_signature.model_hr_employee +msgid "Employee" +msgstr "" + +#. module: hr_employee_digitized_signature +#: model:ir.model.fields,field_description:hr_employee_digitized_signature.field_hr_employee__signature +msgid "Signature" +msgstr "" diff --git a/hr_employee_digitized_signature/i18n/it.po b/hr_employee_digitized_signature/i18n/it.po new file mode 100644 index 00000000000..1a20e98e6d7 --- /dev/null +++ b/hr_employee_digitized_signature/i18n/it.po @@ -0,0 +1,27 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_employee_digitized_signature +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-05-18 11:21+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.14.1\n" + +#. module: hr_employee_digitized_signature +#: model:ir.model,name:hr_employee_digitized_signature.model_hr_employee +msgid "Employee" +msgstr "Dipendente" + +#. module: hr_employee_digitized_signature +#: model:ir.model.fields,field_description:hr_employee_digitized_signature.field_hr_employee__signature +msgid "Signature" +msgstr "Firma" diff --git a/hr_employee_digitized_signature/models/__init__.py b/hr_employee_digitized_signature/models/__init__.py new file mode 100644 index 00000000000..90277184378 --- /dev/null +++ b/hr_employee_digitized_signature/models/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from . import hr_employee diff --git a/hr_employee_digitized_signature/models/hr_employee.py b/hr_employee_digitized_signature/models/hr_employee.py new file mode 100644 index 00000000000..5fc12c334ab --- /dev/null +++ b/hr_employee_digitized_signature/models/hr_employee.py @@ -0,0 +1,10 @@ +# Copyright 2021 Ecosoft Co., Ltd. (http://ecosoft.co.th) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import fields, models + + +class HrEmployee(models.Model): + _inherit = "hr.employee" + + signature = fields.Binary() diff --git a/hr_employee_digitized_signature/pyproject.toml b/hr_employee_digitized_signature/pyproject.toml new file mode 100644 index 00000000000..4231d0cccb3 --- /dev/null +++ b/hr_employee_digitized_signature/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/hr_employee_digitized_signature/readme/CONTRIBUTORS.md b/hr_employee_digitized_signature/readme/CONTRIBUTORS.md new file mode 100644 index 00000000000..c4fd073ef08 --- /dev/null +++ b/hr_employee_digitized_signature/readme/CONTRIBUTORS.md @@ -0,0 +1 @@ +- Tharathip Chaweewongphan \ diff --git a/hr_employee_digitized_signature/readme/DESCRIPTION.md b/hr_employee_digitized_signature/readme/DESCRIPTION.md new file mode 100644 index 00000000000..e5b742e28c7 --- /dev/null +++ b/hr_employee_digitized_signature/readme/DESCRIPTION.md @@ -0,0 +1 @@ +This module adds signature for the employee. diff --git a/hr_employee_digitized_signature/static/description/icon.png b/hr_employee_digitized_signature/static/description/icon.png new file mode 100644 index 00000000000..3a0328b516c Binary files /dev/null and b/hr_employee_digitized_signature/static/description/icon.png differ diff --git a/hr_employee_digitized_signature/static/description/index.html b/hr_employee_digitized_signature/static/description/index.html new file mode 100644 index 00000000000..b4474a69d1b --- /dev/null +++ b/hr_employee_digitized_signature/static/description/index.html @@ -0,0 +1,425 @@ + + + + + +Employee Digitized Signature + + + +
+

Employee Digitized Signature

+ + +

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

+

This module adds signature for the employee.

+

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

+
    +
  • Ecosoft
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+ +Odoo Community Association + +

OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

+

Current maintainer:

+

newtratip

+

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_digitized_signature/views/hr_employee_views.xml b/hr_employee_digitized_signature/views/hr_employee_views.xml new file mode 100644 index 00000000000..468505b4b6b --- /dev/null +++ b/hr_employee_digitized_signature/views/hr_employee_views.xml @@ -0,0 +1,12 @@ + + + hr.employee.form + hr.employee + + + + + + + + diff --git a/setup/_metapackage/pyproject.toml b/setup/_metapackage/pyproject.toml index 6b345e4d232..16a7a859f4d 100644 --- a/setup/_metapackage/pyproject.toml +++ b/setup/_metapackage/pyproject.toml @@ -15,6 +15,7 @@ dependencies = [ "odoo-addon-hr_employee_birthday_mail==18.0.*", "odoo-addon-hr_employee_calendar_planning==18.0.*", "odoo-addon-hr_employee_document==18.0.*", + "odoo-addon-hr_employee_digitized_signature==18.0.*", "odoo-addon-hr_employee_firstname==18.0.*", "odoo-addon-hr_employee_id==18.0.*", "odoo-addon-hr_employee_language==18.0.*",