Skip to content

Commit

Permalink
Merge branch '17.0-fix-hr_employee_firstname' of github.com:DorianMAG…
Browse files Browse the repository at this point in the history
…/hr into 17.0-fix-hr_employee_firstname
  • Loading branch information
DorianMAG committed Aug 8, 2024
2 parents dc6a9b2 + d2d0103 commit 882a0b4
Show file tree
Hide file tree
Showing 55 changed files with 1,548 additions and 122 deletions.
2 changes: 1 addition & 1 deletion .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ env:

# See https://github.com/OCA/odoo-community.org/issues/37#issuecomment-470686449
parserOptions:
ecmaVersion: 2019
ecmaVersion: 2022

overrides:
- files:
Expand Down
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions hr_course/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -72,7 +72,7 @@ Contributors

- Enric Tobella <[email protected]>
- Jaime Arroyo <[email protected]>
- Manish Bohra <[email protected]>
- Manish Bohra [email protected]

Maintainers
-----------
Expand Down
14 changes: 0 additions & 14 deletions hr_course/i18n/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
20 changes: 6 additions & 14 deletions hr_course/i18n/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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"

Expand Down
16 changes: 1 addition & 15 deletions hr_course/i18n/hr_course.pot
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
20 changes: 6 additions & 14 deletions hr_course/i18n/it.po
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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"

Expand Down
15 changes: 9 additions & 6 deletions hr_course/static/description/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
Expand All @@ -9,10 +8,11 @@

/*
:Author: David Goodger ([email protected])
: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.
Expand Down Expand Up @@ -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 }
Expand All @@ -301,7 +301,7 @@
span.pre {
white-space: pre }

span.problematic {
span.problematic, pre.problematic {
color: red }

span.section-subtitle {
Expand Down Expand Up @@ -367,7 +367,7 @@ <h1 class="title">HR Course</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:afb58c2dc404fff2cfb92338804f77298b639869c6b05a8f95c6a94a9870bdd3
!! source digest: sha256:daef8818c8922de2991b0186ce8d242b7ee0082d61e2c12e3c2e95f445864b99
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/hr/tree/17.0/hr_course"><img alt="OCA/hr" src="https://img.shields.io/badge/github-OCA%2Fhr-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/hr-17-0/hr-17-0-hr_course"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/hr&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module allows your to manage employee’s training courses, course
Expand Down Expand Up @@ -415,12 +415,15 @@ <h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
<ul class="simple">
<li>Enric Tobella &lt;<a class="reference external" href="mailto:etobella&#64;creublanca.es">etobella&#64;creublanca.es</a>&gt;</li>
<li>Jaime Arroyo &lt;<a class="reference external" href="mailto:jaime.arroyo&#64;creublanca.es">jaime.arroyo&#64;creublanca.es</a>&gt;</li>
<li>Manish Bohra <a class="reference external" href="mailto:manishkumarbohra&#64;outlook.com">manishkumarbohra&#64;outlook.com</a></li>
</ul>
</div>
<div class="section" id="maintainers">
<h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
<p>This module is maintained by the OCA.</p>
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
<a class="reference external image-reference" href="https://odoo-community.org">
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
</a>
<p>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.</p>
Expand Down
76 changes: 76 additions & 0 deletions hr_department_code/README.rst
Original file line number Diff line number Diff line change
@@ -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 <https://github.com/OCA/hr/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 <https://github.com/OCA/hr/issues/new?body=module:%20hr_department_code%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Credits
=======

Authors
-------

* Ecosoft

Contributors
------------

- Saran Lim. <[email protected]>

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 <https://github.com/OCA/hr/tree/17.0/hr_department_code>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions hr_department_code/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import models
15 changes: 15 additions & 0 deletions hr_department_code/__manifest__.py
Original file line number Diff line number Diff line change
@@ -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"],
}
Loading

0 comments on commit 882a0b4

Please sign in to comment.