Skip to content

Commit

Permalink
Merge pull request #1066 from OCA/16.0
Browse files Browse the repository at this point in the history
Syncing from upstream OCA/hr (16.0)
  • Loading branch information
bt-admin authored Feb 18, 2025
2 parents d87fbbf + 640bce9 commit bafbffe
Show file tree
Hide file tree
Showing 30 changed files with 1,242 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ addon | version | maintainers | summary
[hr_employee_service_contract](hr_employee_service_contract/) | 16.0.1.0.0 | | Employee service information & duration based on employee's contracts
[hr_employee_ssn](hr_employee_ssn/) | 16.0.1.0.0 | | View/edit employee's SSN & SIN fields
[hr_holidays_team_manager](hr_holidays_team_manager/) | 16.0.1.0.0 | | HR Holidays Team Manager
[hr_job_category](hr_job_category/) | 16.0.1.0.0 | | Adds tags to employee through contract and job position
[hr_personal_equipment_request](hr_personal_equipment_request/) | 16.0.1.0.0 | | This addon allows to manage employee personal equipment
[hr_personal_equipment_request_tier_validation](hr_personal_equipment_request_tier_validation/) | 16.0.1.0.0 | | Enables tier validation from hr.personal.equipment.request
[hr_personal_equipment_stock](hr_personal_equipment_stock/) | 16.0.1.0.0 | | This addon allows to integrate hr_personal_equipment_request with stock
Expand Down
2 changes: 1 addition & 1 deletion hr_employee_service/tests/test_hr_employee_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

from datetime import date
from unittest.mock import patch

from dateutil.relativedelta import relativedelta
from mock import patch

from odoo import fields
from odoo.tests import common
Expand Down
107 changes: 107 additions & 0 deletions hr_job_category/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
==========================
HR Job Employee Categories
==========================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:ee02668b98fd586cba7bceb632c9a7ad745fa65c7799e2544587ad1805b1ccd2
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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/16.0/hr_job_category
:alt: OCA/hr
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/hr-16-0/hr-16-0-hr_job_category
: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=16.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module was written to extend the functionality of jobs
to support tagging employees based on their job positions.
For example, all Supervisors could be attached to the Supervisors category.
Define which categories a job belongs to in the configuration for the job.
When an employee is assigned a particular job the categories attached to that
job will be attached to the employee record as well.

**Table of contents**

.. contents::
:local:

Installation
============

To install this module, you need to:

* clone the branch 11.0 of the repository https://github.com/OCA/hr
* add the path to this repository in your configuration (addons-path)
* update the module list
* search for "HR Job Employee Categories" in your addons
* install the module

Usage
=====

Just like on Employee form, you can select Tags on every Job form view.
Once a contract is defined for an employee, the tags assigned to the job
position selected are copied to the employee.

Note: If the job position is changed on the same contract, the tags from
old job position will be removed from employee.

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_job_category%0Aversion:%2016.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
~~~~~~~

* Michael Telahun Makonnen <[email protected]>
* Savoir-faire Linux
* Fekete Mihai (FBSR)

Contributors
~~~~~~~~~~~~

* Michael Telahun Makonnen <[email protected]>
* Savoir-faire Linux
* Fekete Mihai <[email protected]>
* Nikul Chaudhary <[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/16.0/hr_job_category>`_ 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_job_category/__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
18 changes: 18 additions & 0 deletions hr_job_category/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Copyright 2013 Michael Telahun Makonnen <[email protected]>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "HR Job Employee Categories",
"version": "16.0.1.0.0",
"category": "Generic Modules/Human Resources",
"summary": "Adds tags to employee through contract and job position",
"author": "Michael Telahun Makonnen <[email protected]>, "
"Savoir-faire Linux, "
"Fekete Mihai (FBSR), "
"Odoo Community Association (OCA)",
"website": "https://github.com/OCA/hr",
"license": "AGPL-3",
"depends": ["hr_contract"],
"data": ["views/hr_view.xml"],
"installable": True,
}
43 changes: 43 additions & 0 deletions hr_job_category/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_job_category
#
# Translators:
# Rudolf Schnapka <[email protected]>, 2016
# Thomas A. Jaeger, 2015
# Thomas A. Jaeger, 2015
msgid ""
msgstr ""
"Project-Id-Version: hr (8.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-11-30 05:19+0000\n"
"PO-Revision-Date: 2022-05-11 13:05+0000\n"
"Last-Translator: Maria Sparenberg <[email protected]>\n"
"Language-Team: German (http://www.transifex.com/oca/OCA-hr-8-0/language/"
"de/)\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_job_category
#: model:ir.model.fields,field_description:hr_job_category.field_hr_job__category_ids
msgid "Associated Tags"
msgstr "Assoziierte Stichwörter"

#. module: hr_job_category
#: model:ir.model,name:hr_job_category.model_hr_contract
msgid "Contract"
msgstr "Vertrag"

#. module: hr_job_category
#: model:ir.model,name:hr_job_category.model_hr_job
msgid "Job Position"
msgstr "Job-Position"

#. module: hr_job_category
#: model_terms:ir.ui.view,arch_db:hr_job_category.view_job_form
msgid "e.g. Part Time"
msgstr "z. B. Teilzeit"
41 changes: 41 additions & 0 deletions hr_job_category/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_job_category
#
# Translators:
# Antonio Trueba, 2016
msgid ""
msgstr ""
"Project-Id-Version: hr (8.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-11-30 05:19+0000\n"
"PO-Revision-Date: 2016-02-10 16:53+0000\n"
"Last-Translator: Antonio Trueba\n"
"Language-Team: Spanish (http://www.transifex.com/oca/OCA-hr-8-0/language/"
"es/)\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"

#. module: hr_job_category
#: model:ir.model.fields,field_description:hr_job_category.field_hr_job__category_ids
msgid "Associated Tags"
msgstr "Etiquetas asociadas"

#. module: hr_job_category
#: model:ir.model,name:hr_job_category.model_hr_contract
#, fuzzy
msgid "Contract"
msgstr "Contrato"

#. module: hr_job_category
#: model:ir.model,name:hr_job_category.model_hr_job
msgid "Job Position"
msgstr ""

#. module: hr_job_category
#: model_terms:ir.ui.view,arch_db:hr_job_category.view_job_form
msgid "e.g. Part Time"
msgstr "p.e., Tiempo parcial"
40 changes: 40 additions & 0 deletions hr_job_category/i18n/fi.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_job_category
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: hr (8.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-04-14 04:15+0000\n"
"PO-Revision-Date: 2016-04-04 11:09+0000\n"
"Last-Translator: Jarmo Kortetjärvi <[email protected]>\n"
"Language-Team: Finnish (http://www.transifex.com/oca/OCA-hr-8-0/language/"
"fi/)\n"
"Language: fi\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: hr_job_category
#: model:ir.model.fields,field_description:hr_job_category.field_hr_job__category_ids
msgid "Associated Tags"
msgstr ""

#. module: hr_job_category
#: model:ir.model,name:hr_job_category.model_hr_contract
#, fuzzy
msgid "Contract"
msgstr "Sopimus"

#. module: hr_job_category
#: model:ir.model,name:hr_job_category.model_hr_job
msgid "Job Position"
msgstr ""

#. module: hr_job_category
#: model_terms:ir.ui.view,arch_db:hr_job_category.view_job_form
msgid "e.g. Part Time"
msgstr ""
40 changes: 40 additions & 0 deletions hr_job_category/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_job_category
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: hr (8.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-08-18 13:10+0000\n"
"PO-Revision-Date: 2015-07-27 23:44+0000\n"
"Last-Translator: <>\n"
"Language-Team: French (http://www.transifex.com/oca/OCA-hr-8-0/language/"
"fr/)\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"

#. module: hr_job_category
#: model:ir.model.fields,field_description:hr_job_category.field_hr_job__category_ids
msgid "Associated Tags"
msgstr ""

#. module: hr_job_category
#: model:ir.model,name:hr_job_category.model_hr_contract
#, fuzzy
msgid "Contract"
msgstr "Contrat"

#. module: hr_job_category
#: model:ir.model,name:hr_job_category.model_hr_job
msgid "Job Position"
msgstr "Poste"

#. module: hr_job_category
#: model_terms:ir.ui.view,arch_db:hr_job_category.view_job_form
msgid "e.g. Part Time"
msgstr "p.e. À temps partiel"
34 changes: 34 additions & 0 deletions hr_job_category/i18n/hr_job_category.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_job_category
#
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_job_category
#: model:ir.model.fields,field_description:hr_job_category.field_hr_job__category_ids
msgid "Associated Tags"
msgstr ""

#. module: hr_job_category
#: model:ir.model,name:hr_job_category.model_hr_contract
msgid "Contract"
msgstr ""

#. module: hr_job_category
#: model:ir.model,name:hr_job_category.model_hr_job
msgid "Job Position"
msgstr ""

#. module: hr_job_category
#: model_terms:ir.ui.view,arch_db:hr_job_category.view_job_form
msgid "e.g. Part Time"
msgstr ""
44 changes: 44 additions & 0 deletions hr_job_category/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_job_category
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: hr (8.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-03-12 12:02+0000\n"
"PO-Revision-Date: 2023-05-17 14:34+0000\n"
"Last-Translator: mymage <[email protected]>\n"
"Language-Team: Italian (http://www.transifex.com/oca/OCA-hr-8-0/language/"
"it/)\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_job_category
#: model:ir.model.fields,field_description:hr_job_category.field_hr_job__category_ids
msgid "Associated Tags"
msgstr "Etichette associate"

#. module: hr_job_category
#: model:ir.model,name:hr_job_category.model_hr_contract
#, fuzzy
msgid "Contract"
msgstr "Contratto"

#. module: hr_job_category
#: model:ir.model,name:hr_job_category.model_hr_job
msgid "Job Position"
msgstr "Posizione lavorativa"

#. module: hr_job_category
#: model_terms:ir.ui.view,arch_db:hr_job_category.view_job_form
msgid "e.g. Part Time"
msgstr "es. Part Time"

#~ msgid "Employee Contract"
#~ msgstr "Contratto dipendente"
Loading

0 comments on commit bafbffe

Please sign in to comment.