diff --git a/.copier-answers.yml b/.copier-answers.yml index bb5f5e2fdace..361b37b7e33d 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,5 +1,5 @@ # Do NOT update manually; changes here will be overwritten by Copier -_commit: v1.21.1 +_commit: v1.24 _src_path: gh:oca/oca-addons-repo-template additional_ruff_rules: [] ci: GitHub diff --git a/.eslintrc.yml b/.eslintrc.yml index fed88d70d23e..0b382039586a 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -4,7 +4,7 @@ env: # See https://github.com/OCA/odoo-community.org/issues/37#issuecomment-470686449 parserOptions: - ecmaVersion: 2019 + ecmaVersion: 2022 overrides: - files: diff --git a/.gitignore b/.gitignore index 0090721f5d24..2b045db39953 100644 --- a/.gitignore +++ b/.gitignore @@ -25,6 +25,15 @@ var/ *.egg *.eggs +# Debian packages +*.deb + +# Redhat packages +*.rpm + +# MacOS packages +*.dmg + # Installer logs pip-log.txt pip-delete-this-directory.txt diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 15cfdf386715..9c3dc366bc47 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -43,7 +43,7 @@ repos: hooks: - id: whool-init - repo: https://github.com/oca/maintainer-tools - rev: 9a170331575a265c092ee6b24b845ec508e8ef75 + rev: d5fab7ee87fceee858a3d01048c78a548974d935 hooks: # update the NOT INSTALLABLE ADDONS section above - id: oca-update-pre-commit-excluded-addons diff --git a/README.md b/README.md index 6c61dc8d502e..fc99c51af6f0 100644 --- a/README.md +++ b/README.md @@ -21,8 +21,11 @@ Available addons ---------------- addon | version | maintainers | summary --- | --- | --- | --- -[hr_employee_document](hr_employee_document/) | 17.0.1.0.0 | | Documents attached to the employee profile +[hr_course](hr_course/) | 17.0.1.0.0 | | This module allows your to manage employee's training courses +[hr_department_code](hr_department_code/) | 17.0.1.0.0 | | HR department code +[hr_employee_document](hr_employee_document/) | 17.0.1.0.1 | | Documents attached to the employee profile [hr_employee_firstname](hr_employee_firstname/) | 17.0.1.0.0 | [![Savoir-faire Linux](https://github.com/Savoir-faire Linux.png?size=30px)](https://github.com/Savoir-faire Linux) [![luisg123v](https://github.com/luisg123v.png?size=30px)](https://github.com/luisg123v) | Adds First Name to Employee +[hr_employee_partner_external](hr_employee_partner_external/) | 17.0.1.0.0 | | Associate an external Partner to Employee [hr_employee_second_lastname](hr_employee_second_lastname/) | 17.0.1.0.1 | [![luisg123v](https://github.com/luisg123v.png?size=30px)](https://github.com/luisg123v) | Split Name in First Name, Father's Last Name and Mother's Last Name [hr_holidays_settings](hr_holidays_settings/) | 17.0.1.0.0 | | Enables Settings Form for HR Holidays. [hr_personal_equipment_request](hr_personal_equipment_request/) | 17.0.1.0.0 | | This addon allows to manage employee personal equipment diff --git a/hr_course/README.rst b/hr_course/README.rst index ccb381b0ed21..29f927b3058e 100644 --- a/hr_course/README.rst +++ b/hr_course/README.rst @@ -7,7 +7,7 @@ HR Course !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:afb58c2dc404fff2cfb92338804f77298b639869c6b05a8f95c6a94a9870bdd3 + !! source digest: sha256:daef8818c8922de2991b0186ce8d242b7ee0082d61e2c12e3c2e95f445864b99 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png @@ -72,7 +72,7 @@ Contributors - Enric Tobella - Jaime Arroyo -- Manish Bohra +- Manish Bohra manishkumarbohra@outlook.com Maintainers ----------- diff --git a/hr_course/i18n/de.po b/hr_course/i18n/de.po index 73b5286781f2..cb2de7d69b2f 100644 --- a/hr_course/i18n/de.po +++ b/hr_course/i18n/de.po @@ -333,14 +333,6 @@ msgstr "" msgid "Is Follower" msgstr "" -#. module: hr_course -#: model:ir.model.fields,field_description:hr_course.field_hr_course____last_update -#: model:ir.model.fields,field_description:hr_course.field_hr_course_attendee____last_update -#: model:ir.model.fields,field_description:hr_course.field_hr_course_category____last_update -#: model:ir.model.fields,field_description:hr_course.field_hr_course_schedule____last_update -msgid "Last Modified on" -msgstr "" - #. module: hr_course #: model:ir.model.fields,field_description:hr_course.field_hr_course__write_uid #: model:ir.model.fields,field_description:hr_course.field_hr_course_attendee__write_uid @@ -357,12 +349,6 @@ msgstr "" msgid "Last Updated on" msgstr "" -#. module: hr_course -#: model:ir.model.fields,field_description:hr_course.field_hr_course__message_main_attachment_id -#: model:ir.model.fields,field_description:hr_course.field_hr_course_schedule__message_main_attachment_id -msgid "Main Attachment" -msgstr "" - #. module: hr_course #: model:ir.model.fields,field_description:hr_course.field_hr_course__message_has_error #: model:ir.model.fields,field_description:hr_course.field_hr_course_schedule__message_has_error diff --git a/hr_course/i18n/es.po b/hr_course/i18n/es.po index 47f85cf08328..2c17d749e649 100644 --- a/hr_course/i18n/es.po +++ b/hr_course/i18n/es.po @@ -336,14 +336,6 @@ msgstr "Notas internas" msgid "Is Follower" msgstr "Es Seguidor" -#. module: hr_course -#: model:ir.model.fields,field_description:hr_course.field_hr_course____last_update -#: model:ir.model.fields,field_description:hr_course.field_hr_course_attendee____last_update -#: model:ir.model.fields,field_description:hr_course.field_hr_course_category____last_update -#: model:ir.model.fields,field_description:hr_course.field_hr_course_schedule____last_update -msgid "Last Modified on" -msgstr "Última modificación en" - #. module: hr_course #: model:ir.model.fields,field_description:hr_course.field_hr_course__write_uid #: model:ir.model.fields,field_description:hr_course.field_hr_course_attendee__write_uid @@ -360,12 +352,6 @@ msgstr "Última actualización de" msgid "Last Updated on" msgstr "Última actualización en" -#. module: hr_course -#: model:ir.model.fields,field_description:hr_course.field_hr_course__message_main_attachment_id -#: model:ir.model.fields,field_description:hr_course.field_hr_course_schedule__message_main_attachment_id -msgid "Main Attachment" -msgstr "Archivo adjunto principal" - #. module: hr_course #: model:ir.model.fields,field_description:hr_course.field_hr_course__message_has_error #: model:ir.model.fields,field_description:hr_course.field_hr_course_schedule__message_has_error @@ -515,6 +501,12 @@ msgstr "" "Solo deberías devolver un curso a borrador si se ha cancelado por error o si " "alguna de su información es incorrecta. Quieres continuar?" +#~ msgid "Last Modified on" +#~ msgstr "Última modificación en" + +#~ msgid "Main Attachment" +#~ msgstr "Archivo adjunto principal" + #~ msgid "SMS Delivery error" #~ msgstr "Error de entrega de SMS" diff --git a/hr_course/i18n/hr_course.pot b/hr_course/i18n/hr_course.pot index e4e8429f82e7..9cae890d73ac 100644 --- a/hr_course/i18n/hr_course.pot +++ b/hr_course/i18n/hr_course.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" +"Project-Id-Version: Odoo Server 17.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: \n" "Language-Team: \n" @@ -332,14 +332,6 @@ msgstr "" msgid "Is Follower" msgstr "" -#. module: hr_course -#: model:ir.model.fields,field_description:hr_course.field_hr_course____last_update -#: model:ir.model.fields,field_description:hr_course.field_hr_course_attendee____last_update -#: model:ir.model.fields,field_description:hr_course.field_hr_course_category____last_update -#: model:ir.model.fields,field_description:hr_course.field_hr_course_schedule____last_update -msgid "Last Modified on" -msgstr "" - #. module: hr_course #: model:ir.model.fields,field_description:hr_course.field_hr_course__write_uid #: model:ir.model.fields,field_description:hr_course.field_hr_course_attendee__write_uid @@ -356,12 +348,6 @@ msgstr "" msgid "Last Updated on" msgstr "" -#. module: hr_course -#: model:ir.model.fields,field_description:hr_course.field_hr_course__message_main_attachment_id -#: model:ir.model.fields,field_description:hr_course.field_hr_course_schedule__message_main_attachment_id -msgid "Main Attachment" -msgstr "" - #. module: hr_course #: model:ir.model.fields,field_description:hr_course.field_hr_course__message_has_error #: model:ir.model.fields,field_description:hr_course.field_hr_course_schedule__message_has_error diff --git a/hr_course/i18n/it.po b/hr_course/i18n/it.po index 0945a97c6400..59e63cc552c9 100644 --- a/hr_course/i18n/it.po +++ b/hr_course/i18n/it.po @@ -335,14 +335,6 @@ msgstr "Note interne" msgid "Is Follower" msgstr "Segue" -#. module: hr_course -#: model:ir.model.fields,field_description:hr_course.field_hr_course____last_update -#: model:ir.model.fields,field_description:hr_course.field_hr_course_attendee____last_update -#: model:ir.model.fields,field_description:hr_course.field_hr_course_category____last_update -#: model:ir.model.fields,field_description:hr_course.field_hr_course_schedule____last_update -msgid "Last Modified on" -msgstr "Ultima modifica il" - #. module: hr_course #: model:ir.model.fields,field_description:hr_course.field_hr_course__write_uid #: model:ir.model.fields,field_description:hr_course.field_hr_course_attendee__write_uid @@ -359,12 +351,6 @@ msgstr "Ultimo aggiornamento di" msgid "Last Updated on" msgstr "Ultimo aggiornamento il" -#. module: hr_course -#: model:ir.model.fields,field_description:hr_course.field_hr_course__message_main_attachment_id -#: model:ir.model.fields,field_description:hr_course.field_hr_course_schedule__message_main_attachment_id -msgid "Main Attachment" -msgstr "Allegato principale" - #. module: hr_course #: model:ir.model.fields,field_description:hr_course.field_hr_course__message_has_error #: model:ir.model.fields,field_description:hr_course.field_hr_course_schedule__message_has_error @@ -514,6 +500,12 @@ msgstr "" "Si dovrebbe reimpostare un corso come bozza solo se lo si è cancellato per " "errore o se alcune sue informazioni non sono corrette. Continuare?" +#~ msgid "Last Modified on" +#~ msgstr "Ultima modifica il" + +#~ msgid "Main Attachment" +#~ msgstr "Allegato principale" + #~ msgid "SMS Delivery error" #~ msgstr "Errore consegna SMS" diff --git a/hr_course/static/description/index.html b/hr_course/static/description/index.html index fc97d2a9cdd8..a12ebededb06 100644 --- a/hr_course/static/description/index.html +++ b/hr_course/static/description/index.html @@ -1,4 +1,3 @@ - @@ -9,10 +8,11 @@ /* :Author: David Goodger (goodger@python.org) -:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $ +:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $ :Copyright: This stylesheet has been placed in the public domain. Default cascading style sheet for the HTML output of Docutils. +Despite the name, some widely supported CSS2 features are used. See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to customize this style sheet. @@ -275,7 +275,7 @@ margin-left: 2em ; margin-right: 2em } -pre.code .ln { color: grey; } /* line numbers */ +pre.code .ln { color: gray; } /* line numbers */ pre.code, code { background-color: #eeeeee } pre.code .comment, code .comment { color: #5C6576 } pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } @@ -301,7 +301,7 @@ span.pre { white-space: pre } -span.problematic { +span.problematic, pre.problematic { color: red } span.section-subtitle { @@ -367,7 +367,7 @@

HR Course

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:afb58c2dc404fff2cfb92338804f77298b639869c6b05a8f95c6a94a9870bdd3 +!! source digest: sha256:daef8818c8922de2991b0186ce8d242b7ee0082d61e2c12e3c2e95f445864b99 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

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

This module allows your to manage employee’s training courses, course @@ -415,12 +415,15 @@

Contributors

Maintainers

This module is maintained by the OCA.

-Odoo Community Association + +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.

diff --git a/hr_department_code/README.rst b/hr_department_code/README.rst new file mode 100644 index 000000000000..ebb13fb24fa9 --- /dev/null +++ b/hr_department_code/README.rst @@ -0,0 +1,76 @@ +================== +HR department code +================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:9044d1af5e575e1166011b22adffac4535e37b943d3805914673427a2594d18a + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fhr-lightgray.png?logo=github + :target: https://github.com/OCA/hr/tree/17.0/hr_department_code + :alt: OCA/hr +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/hr-17-0/hr-17-0-hr_department_code + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/hr&target_branch=17.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module add code in department. + +**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 +------------ + +- Saran Lim. + +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_department_code/__init__.py b/hr_department_code/__init__.py new file mode 100644 index 000000000000..69f7babdfb1a --- /dev/null +++ b/hr_department_code/__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_department_code/__manifest__.py b/hr_department_code/__manifest__.py new file mode 100644 index 000000000000..6cfb32017422 --- /dev/null +++ b/hr_department_code/__manifest__.py @@ -0,0 +1,15 @@ +# Copyright 2021 Ecosoft Co., Ltd. (http://ecosoft.co.th) +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +{ + "name": "HR department code", + "version": "17.0.1.0.0", + "license": "AGPL-3", + "category": "Human Resources", + "author": "Ecosoft, Odoo Community Association (OCA)", + "website": "https://github.com/OCA/hr", + "depends": ["hr"], + "data": ["views/hr_department_views.xml"], + "installable": True, + "maintainer": ["Saran440"], +} diff --git a/hr_department_code/i18n/de.po b/hr_department_code/i18n/de.po new file mode 100644 index 000000000000..29835227f77c --- /dev/null +++ b/hr_department_code/i18n/de.po @@ -0,0 +1,36 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_department_code +# +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_department_code +#: model:ir.model.fields,field_description:hr_department_code.field_hr_department__code +msgid "Code" +msgstr "Code" + +#. module: hr_department_code +#: model:ir.model,name:hr_department_code.model_hr_department +msgid "Department" +msgstr "Abteilung" + +#~ msgid "Display Name" +#~ msgstr "Anzeigename" + +#~ msgid "ID" +#~ msgstr "ID" + +#~ msgid "Last Modified on" +#~ msgstr "Zuletzt geändert am" diff --git a/hr_department_code/i18n/hr.po b/hr_department_code/i18n/hr.po new file mode 100644 index 000000000000..33374bae764b --- /dev/null +++ b/hr_department_code/i18n/hr.po @@ -0,0 +1,37 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_department_code +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2022-08-22 12:07+0000\n" +"Last-Translator: Bole \n" +"Language-Team: none\n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"X-Generator: Weblate 4.3.2\n" + +#. module: hr_department_code +#: model:ir.model.fields,field_description:hr_department_code.field_hr_department__code +msgid "Code" +msgstr "Šifra" + +#. module: hr_department_code +#: model:ir.model,name:hr_department_code.model_hr_department +msgid "Department" +msgstr "Odjel" + +#~ msgid "Display Name" +#~ msgstr "Naziv" + +#~ msgid "ID" +#~ msgstr "ID" + +#~ msgid "Last Modified on" +#~ msgstr "Zadnje modificirano" diff --git a/hr_department_code/i18n/hr_department_code.pot b/hr_department_code/i18n/hr_department_code.pot new file mode 100644 index 000000000000..8235744c1300 --- /dev/null +++ b/hr_department_code/i18n/hr_department_code.pot @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_department_code +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.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_department_code +#: model:ir.model.fields,field_description:hr_department_code.field_hr_department__code +msgid "Code" +msgstr "" + +#. module: hr_department_code +#: model:ir.model,name:hr_department_code.model_hr_department +msgid "Department" +msgstr "" diff --git a/hr_department_code/i18n/it.po b/hr_department_code/i18n/it.po new file mode 100644 index 000000000000..989483ca95bf --- /dev/null +++ b/hr_department_code/i18n/it.po @@ -0,0 +1,27 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_department_code +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 15.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-05-30 09:11+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: hr_department_code +#: model:ir.model.fields,field_description:hr_department_code.field_hr_department__code +msgid "Code" +msgstr "Codice" + +#. module: hr_department_code +#: model:ir.model,name:hr_department_code.model_hr_department +msgid "Department" +msgstr "Reparto" diff --git a/hr_department_code/models/__init__.py b/hr_department_code/models/__init__.py new file mode 100644 index 000000000000..97964eba402c --- /dev/null +++ b/hr_department_code/models/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from . import hr_department diff --git a/hr_department_code/models/hr_department.py b/hr_department_code/models/hr_department.py new file mode 100644 index 000000000000..569dfe5758ef --- /dev/null +++ b/hr_department_code/models/hr_department.py @@ -0,0 +1,28 @@ +# Copyright 2021 Ecosoft Co., Ltd. (http://ecosoft.co.th) +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo import api, fields, models + + +class Department(models.Model): + _inherit = "hr.department" + _order = "code, name" + + code = fields.Char() + + @api.depends_context("hierarchical_naming") + def _compute_display_name(self): + res = super()._compute_display_name() + for record in self: + if record.code: + record.display_name = f"[{record.code}] {record.display_name}" + return res + + @api.model + def name_search(self, name, args=None, operator="ilike", limit=100): + args = args or [] + domain = [] + if name: + domain = ["|", ("code", operator, name), ("name", operator, name)] + department = self.search(domain + args, limit=limit) + return department.name_get() diff --git a/hr_department_code/pyproject.toml b/hr_department_code/pyproject.toml new file mode 100644 index 000000000000..4231d0cccb3d --- /dev/null +++ b/hr_department_code/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/hr_department_code/readme/CONTRIBUTORS.md b/hr_department_code/readme/CONTRIBUTORS.md new file mode 100644 index 000000000000..8d0d33151c57 --- /dev/null +++ b/hr_department_code/readme/CONTRIBUTORS.md @@ -0,0 +1 @@ +- Saran Lim. \<\> diff --git a/hr_department_code/readme/DESCRIPTION.md b/hr_department_code/readme/DESCRIPTION.md new file mode 100644 index 000000000000..b1fee45fa773 --- /dev/null +++ b/hr_department_code/readme/DESCRIPTION.md @@ -0,0 +1 @@ +This module add code in department. diff --git a/hr_department_code/static/description/icon.png b/hr_department_code/static/description/icon.png new file mode 100644 index 000000000000..3a0328b516c4 Binary files /dev/null and b/hr_department_code/static/description/icon.png differ diff --git a/hr_department_code/static/description/index.html b/hr_department_code/static/description/index.html new file mode 100644 index 000000000000..4d6eacaac3b4 --- /dev/null +++ b/hr_department_code/static/description/index.html @@ -0,0 +1,420 @@ + + + + + +HR department code + + + +
+

HR department code

+ + +

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

+

This module add code in department.

+

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.

+

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_department_code/tests/__init__.py b/hr_department_code/tests/__init__.py new file mode 100644 index 000000000000..c6a17b3312c0 --- /dev/null +++ b/hr_department_code/tests/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from . import test_hr_department_code diff --git a/hr_department_code/tests/test_hr_department_code.py b/hr_department_code/tests/test_hr_department_code.py new file mode 100644 index 000000000000..5608fd8bd8bb --- /dev/null +++ b/hr_department_code/tests/test_hr_department_code.py @@ -0,0 +1,29 @@ +# Copyright 2021 Ecosoft Co., Ltd. (http://ecosoft.co.th) +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo.tests.common import TransactionCase + + +class TestHrDepartmentCode(TransactionCase): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.department_model = cls.env["hr.department"] + + def create_department(self, name, code=False): + return self.department_model.create({"name": name, "code": code}) + + def test_name_get_department(self): + department1 = self.create_department("Department1") + self.assertEqual(department1.name, "Department1") + self.assertEqual(department1.name_get()[0][1], "Department1") + + def test_name_search_department(self): + department2 = self.create_department("Department2", code="D2") + self.assertEqual(department2.name, "Department2") + self.assertEqual(department2.code, "D2") + self.assertEqual(department2.name_get()[0][1], "[D2] Department2") + check_method1 = department2.name_search( + name="D2", operator="ilike", args=[("id", "=", department2.id)] + ) + self.assertEqual(check_method1[0][0], department2.id) diff --git a/hr_department_code/views/hr_department_views.xml b/hr_department_code/views/hr_department_views.xml new file mode 100644 index 000000000000..a65dfc70997c --- /dev/null +++ b/hr_department_code/views/hr_department_views.xml @@ -0,0 +1,37 @@ + + + + hr.department + + + +
+
+
+
+
+ + hr.department + + + + + + + + + hr.department + + + + + ['|', ('name','ilike',self), ('code','ilike',self)] + + + + +
diff --git a/hr_employee_document/README.rst b/hr_employee_document/README.rst index c12b0cf76da7..348a1b726580 100644 --- a/hr_employee_document/README.rst +++ b/hr_employee_document/README.rst @@ -7,7 +7,7 @@ HR Employee Document !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:3b56d95405bac8978db472371e28f973e61dcb08e4098ba00229d1fb18bf5838 + !! source digest: sha256:4773871ade1b1c437434addb02c0950ef49764f8eefe0f0770827db7879f75f5 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png diff --git a/hr_employee_document/__manifest__.py b/hr_employee_document/__manifest__.py index 34c2442d01e7..e853a621bfbb 100644 --- a/hr_employee_document/__manifest__.py +++ b/hr_employee_document/__manifest__.py @@ -5,7 +5,7 @@ { "name": "HR Employee Document", - "version": "17.0.1.0.0", + "version": "17.0.1.0.1", "category": "Human Resources", "website": "https://github.com/OCA/hr", "author": "CorporateHub, Odoo Community Association (OCA)", diff --git a/hr_employee_document/models/hr_employee.py b/hr_employee_document/models/hr_employee.py index 8c8b201117f0..a2434e3ca9ed 100644 --- a/hr_employee_document/models/hr_employee.py +++ b/hr_employee_document/models/hr_employee.py @@ -35,7 +35,7 @@ def check_access_rights(self, operation, raise_exception=True): ): if ( self.env.context.get("search_attachments_from_hr_employee") - or self == self.env.user.employee_ids + or self in self.env.user.employee_ids ): return True return super().check_access_rights( diff --git a/hr_employee_document/static/description/index.html b/hr_employee_document/static/description/index.html index ac1e703e5769..75fd16084700 100644 --- a/hr_employee_document/static/description/index.html +++ b/hr_employee_document/static/description/index.html @@ -366,7 +366,7 @@

HR Employee Document

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:3b56d95405bac8978db472371e28f973e61dcb08e4098ba00229d1fb18bf5838 +!! source digest: sha256:4773871ade1b1c437434addb02c0950ef49764f8eefe0f0770827db7879f75f5 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

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

This module displays a button on the employee’s profile to view linked diff --git a/hr_employee_partner_external/README.rst b/hr_employee_partner_external/README.rst new file mode 100644 index 000000000000..f376f459728a --- /dev/null +++ b/hr_employee_partner_external/README.rst @@ -0,0 +1,102 @@ +========================= +Employee external Partner +========================= + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:ec2abfc7d8258dfb0689ed2a3eaaa104ed99929b32c4c88b9c00378926f59c2f + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fhr-lightgray.png?logo=github + :target: https://github.com/OCA/hr/tree/17.0/hr_employee_partner_external + :alt: OCA/hr +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/hr-17-0/hr-17-0-hr_employee_partner_external + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/hr&target_branch=17.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +Add the following fields to employee + +- is_external +- hr_external_partner_id + +**Table of contents** + +.. contents:: + :local: + +Usage +===== + +Associates a Partner to an Employee to indicate that this Employee is +administrated by the Partner but works in the Company. + +This Employee can be a real person or a "virtual" one: on second case is +the Partner that defines the "real" person who works when requested. + +On Employees select an Employee and check option that he is an external, +then associate the Partner. + +Changelog +========= + +12.0.1.0.0 (2020-06-01) +----------------------- + +- [INI] Initial development + +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 +------- + +* Stefano Consolaro Associazione PNLUG - Gruppo Odoo + +Contributors +------------ + +- Stefano Consolaro +- `APSL-Nagarro `__: + + - Bernat Obrador + +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_partner_external/__init__.py b/hr_employee_partner_external/__init__.py new file mode 100644 index 000000000000..0650744f6bc6 --- /dev/null +++ b/hr_employee_partner_external/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/hr_employee_partner_external/__manifest__.py b/hr_employee_partner_external/__manifest__.py new file mode 100644 index 000000000000..a0545b7b736d --- /dev/null +++ b/hr_employee_partner_external/__manifest__.py @@ -0,0 +1,15 @@ +# Copyright 2020 Stefano Consolaro (Ass. PNLUG - Gruppo Odoo ) +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +{ + "name": "Employee external Partner", + "summary": "Associate an external Partner to Employee", + "version": "17.0.1.0.0", + "category": "Human Resources", + "author": "Stefano Consolaro Associazione PNLUG - Gruppo Odoo, " + "Odoo Community Association (OCA)", + "website": "https://github.com/OCA/hr", + "license": "AGPL-3", + "depends": ["hr"], + "data": ["views/hr_employee.xml"], +} diff --git a/hr_employee_partner_external/i18n/es.po b/hr_employee_partner_external/i18n/es.po new file mode 100644 index 000000000000..0439be7eeffc --- /dev/null +++ b/hr_employee_partner_external/i18n/es.po @@ -0,0 +1,37 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_employee_partner_external +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 13.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2022-02-03 14:33+0000\n" +"Last-Translator: Olga Marco Puértolas \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.3.2\n" + +#. module: hr_employee_partner_external +#: model:ir.model,name:hr_employee_partner_external.model_hr_employee +msgid "Employee" +msgstr "Empleado" + +#. module: hr_employee_partner_external +#: model:ir.model.fields,field_description:hr_employee_partner_external.field_hr_employee__hr_external_partner_id +msgid "External Partner" +msgstr "Socio externo" + +#. module: hr_employee_partner_external +#: model:ir.model.fields,field_description:hr_employee_partner_external.field_hr_employee__is_external +msgid "Is an external Employee" +msgstr "Es un empleado externo" + +#. module: hr_employee_partner_external +#: model:ir.model.fields,help:hr_employee_partner_external.field_hr_employee__hr_external_partner_id +msgid "Partner that administrate Employee that works in the Company" +msgstr "Socio que administra Empleado que trabaja en la Empresa" diff --git a/hr_employee_partner_external/i18n/hr_employee_partner_external.pot b/hr_employee_partner_external/i18n/hr_employee_partner_external.pot new file mode 100644 index 000000000000..a18bacf7ddb1 --- /dev/null +++ b/hr_employee_partner_external/i18n/hr_employee_partner_external.pot @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_employee_partner_external +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.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_partner_external +#: model:ir.model,name:hr_employee_partner_external.model_hr_employee +msgid "Employee" +msgstr "" + +#. module: hr_employee_partner_external +#: model:ir.model.fields,field_description:hr_employee_partner_external.field_hr_employee__hr_external_partner_id +msgid "External Partner" +msgstr "" + +#. module: hr_employee_partner_external +#: model:ir.model.fields,field_description:hr_employee_partner_external.field_hr_employee__is_external +msgid "Is an external Employee" +msgstr "" + +#. module: hr_employee_partner_external +#: model:ir.model.fields,help:hr_employee_partner_external.field_hr_employee__hr_external_partner_id +msgid "Partner that administrate Employee that works in the Company" +msgstr "" diff --git a/hr_employee_partner_external/i18n/it.po b/hr_employee_partner_external/i18n/it.po new file mode 100644 index 000000000000..bdfdaa168b27 --- /dev/null +++ b/hr_employee_partner_external/i18n/it.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_employee_partner_external +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-06-06 18:47+0000\n" +"PO-Revision-Date: 2020-06-06 20:50+0200\n" +"Last-Translator: \n" +"Language-Team: \n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 2.3.1\n" + +#. module: hr_employee_partner_external +#: model:ir.model,name:hr_employee_partner_external.model_hr_employee +msgid "Employee" +msgstr "Dipendente" + +#. module: hr_employee_partner_external +#: model:ir.model.fields,field_description:hr_employee_partner_external.field_hr_employee__hr_external_partner_id +msgid "External Partner" +msgstr "Partner esterno" + +#. module: hr_employee_partner_external +#: model:ir.model.fields,field_description:hr_employee_partner_external.field_hr_employee__is_external +msgid "Is an external Employee" +msgstr "È un dipendente esterno" + +#. module: hr_employee_partner_external +#: model:ir.model.fields,help:hr_employee_partner_external.field_hr_employee__hr_external_partner_id +msgid "Partner that administrate Employee that works in the Company" +msgstr "Partner che amministra il dipendente che lavora in aizenda" diff --git a/hr_employee_partner_external/models/__init__.py b/hr_employee_partner_external/models/__init__.py new file mode 100644 index 000000000000..e11a62f98ca0 --- /dev/null +++ b/hr_employee_partner_external/models/__init__.py @@ -0,0 +1 @@ +from . import hr_employee diff --git a/hr_employee_partner_external/models/hr_employee.py b/hr_employee_partner_external/models/hr_employee.py new file mode 100644 index 000000000000..02ca7d2d2a50 --- /dev/null +++ b/hr_employee_partner_external/models/hr_employee.py @@ -0,0 +1,26 @@ +# Copyright 2020 Stefano Consolaro (Ass. PNLUG - Gruppo Odoo ) +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo import fields, models + + +class EmployeePartner(models.Model): + """ + Add administrative Partner reference to Employee + """ + + _inherit = "hr.employee" + + # set employee as external + is_external = fields.Boolean( + "Is an external Employee", + default=False, + groups="hr.group_hr_user", + ) + # Partner reference + hr_external_partner_id = fields.Many2one( + "res.partner", + "External Partner", + groups="hr.group_hr_user", + help="Partner that administrate Employee that works in the Company", + ) diff --git a/hr_employee_partner_external/pyproject.toml b/hr_employee_partner_external/pyproject.toml new file mode 100644 index 000000000000..4231d0cccb3d --- /dev/null +++ b/hr_employee_partner_external/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/hr_employee_partner_external/readme/CONTRIBUTORS.md b/hr_employee_partner_external/readme/CONTRIBUTORS.md new file mode 100644 index 000000000000..7f42f23616db --- /dev/null +++ b/hr_employee_partner_external/readme/CONTRIBUTORS.md @@ -0,0 +1,3 @@ +- Stefano Consolaro \<\> +- [APSL-Nagarro](): + - Bernat Obrador \<\> diff --git a/hr_employee_partner_external/readme/DESCRIPTION.md b/hr_employee_partner_external/readme/DESCRIPTION.md new file mode 100644 index 000000000000..0ed7e68c8a56 --- /dev/null +++ b/hr_employee_partner_external/readme/DESCRIPTION.md @@ -0,0 +1,4 @@ +Add the following fields to employee + +- is_external +- hr_external_partner_id diff --git a/hr_employee_partner_external/readme/HISTORY.md b/hr_employee_partner_external/readme/HISTORY.md new file mode 100644 index 000000000000..b89c2db96306 --- /dev/null +++ b/hr_employee_partner_external/readme/HISTORY.md @@ -0,0 +1,3 @@ +## 12.0.1.0.0 (2020-06-01) + +- \[INI\] Initial development diff --git a/hr_employee_partner_external/readme/USAGE.md b/hr_employee_partner_external/readme/USAGE.md new file mode 100644 index 000000000000..8d6280ad4ff1 --- /dev/null +++ b/hr_employee_partner_external/readme/USAGE.md @@ -0,0 +1,8 @@ +Associates a Partner to an Employee to indicate that this Employee is +administrated by the Partner but works in the Company. + +This Employee can be a real person or a "virtual" one: on second case is +the Partner that defines the "real" person who works when requested. + +On Employees select an Employee and check option that he is an external, +then associate the Partner. diff --git a/hr_employee_partner_external/static/description/icon.png b/hr_employee_partner_external/static/description/icon.png new file mode 100644 index 000000000000..3a0328b516c4 Binary files /dev/null and b/hr_employee_partner_external/static/description/icon.png differ diff --git a/hr_employee_partner_external/static/description/index.html b/hr_employee_partner_external/static/description/index.html new file mode 100644 index 000000000000..7e694d749156 --- /dev/null +++ b/hr_employee_partner_external/static/description/index.html @@ -0,0 +1,454 @@ + + + + + +Employee external Partner + + + +

+

Employee external Partner

+ + +

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

+

Add the following fields to employee

+
    +
  • is_external
  • +
  • hr_external_partner_id
  • +
+

Table of contents

+ +
+

Usage

+

Associates a Partner to an Employee to indicate that this Employee is +administrated by the Partner but works in the Company.

+

This Employee can be a real person or a “virtual” one: on second case is +the Partner that defines the “real” person who works when requested.

+

On Employees select an Employee and check option that he is an external, +then associate the Partner.

+
+
+

Changelog

+
+

12.0.1.0.0 (2020-06-01)

+
    +
  • [INI] Initial development
  • +
+
+
+
+

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

+
    +
  • Stefano Consolaro Associazione PNLUG - Gruppo Odoo
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+ +Odoo Community Association + +

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

+

This module is part of the OCA/hr project on GitHub.

+

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

+
+
+
+ + diff --git a/hr_employee_partner_external/views/hr_employee.xml b/hr_employee_partner_external/views/hr_employee.xml new file mode 100644 index 000000000000..427555f8e57b --- /dev/null +++ b/hr_employee_partner_external/views/hr_employee.xml @@ -0,0 +1,22 @@ + + + + + + hr.employee + hr.employee + + + + + + + + + diff --git a/hr_personal_equipment_request/i18n/de.po b/hr_personal_equipment_request/i18n/de.po index ec8f1c0e4ecf..dbd188c1caed 100644 --- a/hr_personal_equipment_request/i18n/de.po +++ b/hr_personal_equipment_request/i18n/de.po @@ -238,9 +238,7 @@ msgstr "" #. module: hr_personal_equipment_request #: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_has_error -#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_has_sms_error #: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_error -#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "" @@ -410,12 +408,6 @@ msgstr "" msgid "Responsible User" msgstr "" -#. module: hr_personal_equipment_request -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_has_sms_error -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_sms_error -msgid "SMS Delivery error" -msgstr "" - #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__start_date msgid "Start Date" diff --git a/hr_personal_equipment_request/i18n/es.po b/hr_personal_equipment_request/i18n/es.po index 33410eecb348..78220bd6b06b 100644 --- a/hr_personal_equipment_request/i18n/es.po +++ b/hr_personal_equipment_request/i18n/es.po @@ -243,9 +243,7 @@ msgstr "Si está marcado hay nuevos mensajes que requieren su atención." #. module: hr_personal_equipment_request #: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_has_error -#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_has_sms_error #: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_error -#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "Si se encuentra marcado, algunos mensajes tienen error de envío." @@ -415,12 +413,6 @@ msgstr "Cantidad" msgid "Responsible User" msgstr "Usuario responsable" -#. module: hr_personal_equipment_request -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_has_sms_error -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_sms_error -msgid "SMS Delivery error" -msgstr "Error de envío del SMS" - #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__start_date msgid "Start Date" @@ -475,6 +467,9 @@ msgstr "Valido" msgid "Validate" msgstr "Validar" +#~ msgid "SMS Delivery error" +#~ msgstr "Error de envío del SMS" + #~ msgid "Last Modified on" #~ msgstr "Última modificación el" diff --git a/hr_personal_equipment_request/i18n/es_PA.po b/hr_personal_equipment_request/i18n/es_PA.po index 737886bf2f5b..3678d58b93e8 100644 --- a/hr_personal_equipment_request/i18n/es_PA.po +++ b/hr_personal_equipment_request/i18n/es_PA.po @@ -238,9 +238,7 @@ msgstr "" #. module: hr_personal_equipment_request #: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_has_error -#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_has_sms_error #: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_error -#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "" @@ -410,12 +408,6 @@ msgstr "" msgid "Responsible User" msgstr "" -#. module: hr_personal_equipment_request -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_has_sms_error -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_sms_error -msgid "SMS Delivery error" -msgstr "" - #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__start_date msgid "Start Date" diff --git a/hr_personal_equipment_request/i18n/hr_personal_equipment_request.pot b/hr_personal_equipment_request/i18n/hr_personal_equipment_request.pot index 863c5d9545ca..3028c5b957f4 100644 --- a/hr_personal_equipment_request/i18n/hr_personal_equipment_request.pot +++ b/hr_personal_equipment_request/i18n/hr_personal_equipment_request.pot @@ -237,9 +237,7 @@ msgstr "" #. module: hr_personal_equipment_request #: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_has_error -#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_has_sms_error #: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_error -#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "" @@ -409,12 +407,6 @@ msgstr "" msgid "Responsible User" msgstr "" -#. module: hr_personal_equipment_request -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_has_sms_error -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_sms_error -msgid "SMS Delivery error" -msgstr "" - #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__start_date msgid "Start Date" diff --git a/hr_personal_equipment_request/i18n/it.po b/hr_personal_equipment_request/i18n/it.po index ebed266dd5ec..9d86a2475ee1 100644 --- a/hr_personal_equipment_request/i18n/it.po +++ b/hr_personal_equipment_request/i18n/it.po @@ -244,9 +244,7 @@ msgstr "Se selezionata, nuovi messaggi richiedono attenzione." #. module: hr_personal_equipment_request #: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_has_error -#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_has_sms_error #: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_error -#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "Se selezionata, alcuni messaggi hanno un errore di consegna." @@ -416,12 +414,6 @@ msgstr "Quantità" msgid "Responsible User" msgstr "Utente responsabile" -#. module: hr_personal_equipment_request -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_has_sms_error -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_sms_error -msgid "SMS Delivery error" -msgstr "Errore consegna SMS" - #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__start_date msgid "Start Date" @@ -477,6 +469,9 @@ msgstr "Valida" msgid "Validate" msgstr "Approva" +#~ msgid "SMS Delivery error" +#~ msgstr "Errore consegna SMS" + #~ msgid "Last Modified on" #~ msgstr "Ultima modifica il" diff --git a/hr_personal_equipment_request/i18n/pt_BR.po b/hr_personal_equipment_request/i18n/pt_BR.po index 46e865e34e17..1b5e36ba9b96 100644 --- a/hr_personal_equipment_request/i18n/pt_BR.po +++ b/hr_personal_equipment_request/i18n/pt_BR.po @@ -240,9 +240,7 @@ msgstr "Se marcado, novas mensagens requerem sua atenção." #. module: hr_personal_equipment_request #: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_has_error -#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_has_sms_error #: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_error -#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "" @@ -412,12 +410,6 @@ msgstr "" msgid "Responsible User" msgstr "" -#. module: hr_personal_equipment_request -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_has_sms_error -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_sms_error -msgid "SMS Delivery error" -msgstr "" - #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__start_date msgid "Start Date" diff --git a/setup/_metapackage/pyproject.toml b/setup/_metapackage/pyproject.toml index e17c1d4f8e7a..ff08cb552c47 100644 --- a/setup/_metapackage/pyproject.toml +++ b/setup/_metapackage/pyproject.toml @@ -1,9 +1,12 @@ [project] name = "odoo-addons-oca-hr" -version = "17.0.20240528.0" +version = "17.0.20240807.1" dependencies = [ + "odoo-addon-hr_course>=17.0dev,<17.1dev", + "odoo-addon-hr_department_code>=17.0dev,<17.1dev", "odoo-addon-hr_employee_document>=17.0dev,<17.1dev", "odoo-addon-hr_employee_firstname>=17.0dev,<17.1dev", + "odoo-addon-hr_employee_partner_external>=17.0dev,<17.1dev", "odoo-addon-hr_employee_second_lastname>=17.0dev,<17.1dev", "odoo-addon-hr_holidays_settings>=17.0dev,<17.1dev", "odoo-addon-hr_personal_equipment_request>=17.0dev,<17.1dev",