-
-
Notifications
You must be signed in to change notification settings - Fork 670
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[11.0][MIG] hr_job_category #538
Merged
gurneyalex
merged 16 commits into
OCA:11.0
from
i-vyshnevska:11.0-mig-hr_job_categories
Jan 16, 2019
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
76b6e67
Bugfix: Add hr_job_categories. Other modules depend on it.
miketelahun d4b7b71
[FIX] PEP8
30a7910
Initialize 8.0 branch
dreispt 0a9da4c
Update code, fix tests, add readme.
feketemihai fc32889
Fix travis errors.
feketemihai 334867b
Add icon file.
feketemihai 392e6d7
Modify author to short company name.
feketemihai 6f96fb6
Port tests to new api.
feketemihai f86c277
Fix tad typo.
feketemihai c9d2a94
Remove blank line in tests.
feketemihai b29bc2c
OCA Transbot updated translations from Transifex
oca-transbot d7b4180
[UPD] prefix versions with 8.0
sbidoul 6e61325
OCA Transbot updated translations from Transifex
oca-transbot 81b9535
[MIG] Make modules uninstallable
pedrobaeza 1ddde22
[MIG] Rename manifest files
pedrobaeza e361b84
[MIG] hr_job_category: Migrate to 11.0
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
========================== | ||
HR Job Employee Categories | ||
========================== | ||
|
||
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
|
||
.. |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/11.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-11-0/hr-11-0-hr_job_category | ||
:alt: Translate me on Weblate | ||
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png | ||
:target: https://runbot.odoo-community.org/runbot/116/11.0 | ||
:alt: Try me on Runbot | ||
|
||
|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 smashing it by providing a detailed and welcomed | ||
`feedback <https://github.com/OCA/hr/issues/new?body=module:%20hr_job_category%0Aversion:%2011.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 <mmakonnen@gmail.com> | ||
* Savoir-faire Linux | ||
* Fekete Mihai (FBSR) | ||
|
||
Contributors | ||
~~~~~~~~~~~~ | ||
|
||
* Michael Telahun Makonnen <mmakonnen@gmail.com> | ||
* Savoir-faire Linux | ||
* Fekete Mihai <feketemihai@gmail.com> | ||
|
||
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/11.0/hr_job_category>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
|
||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Copyright 2013 Michael Telahun Makonnen <mmakonnen@gmail.com> | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @i-vyshnevska Add license/Copyright |
||
{ | ||
'name': 'HR Job Employee Categories', | ||
'version': '11.0.1.0.0', | ||
'category': 'Generic Modules/Human Resources', | ||
'summary': 'Adds tags to employee trough contract and job position', | ||
'author': "Michael Telahun Makonnen <mmakonnen@gmail.com>, " | ||
"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, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | ||
# Rudolf Schnapka <rs@techno-flex.de>, 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: 2016-01-26 09:53+0000\n" | ||
"Last-Translator: Rudolf Schnapka <rs@techno-flex.de>\n" | ||
"Language-Team: German (http://www.transifex.com/oca/OCA-hr-8-0/language/de/)\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Language: de\n" | ||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
|
||
#. module: hr_job_category | ||
#: field:hr.job,category_ids:0 | ||
msgid "Associated Tags" | ||
msgstr "Assoziierte Schlagwö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 "Arbeitsplatzpositionen" | ||
|
||
#. module: hr_job_category | ||
#: view:hr.job:hr_job_category.view_job_form | ||
msgid "e.g. Part Time" | ||
msgstr "z. B. Teilzeit" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# 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" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Language: es\n" | ||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
|
||
#. module: hr_job_category | ||
#: field:hr.job,category_ids:0 | ||
msgid "Associated Tags" | ||
msgstr "Etiquetas asociadas" | ||
|
||
#. module: hr_job_category | ||
#: model:ir.model,name:hr_job_category.model_hr_contract | ||
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 | ||
#: view:hr.job:hr_job_category.view_job_form | ||
msgid "e.g. Part Time" | ||
msgstr "p.e., Tiempo parcial" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# 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 <jarmo.kortetjarvi@gmail.com>\n" | ||
"Language-Team: Finnish (http://www.transifex.com/oca/OCA-hr-8-0/language/fi/)\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Language: fi\n" | ||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
|
||
#. module: hr_job_category | ||
#: field:hr.job,category_ids:0 | ||
msgid "Associated Tags" | ||
msgstr "" | ||
|
||
#. module: hr_job_category | ||
#: model:ir.model,name:hr_job_category.model_hr_contract | ||
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 | ||
#: view:hr.job:hr_job_category.view_job_form | ||
msgid "e.g. Part Time" | ||
msgstr "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# 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" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Language: fr\n" | ||
"Plural-Forms: nplurals=2; plural=(n > 1);\n" | ||
|
||
#. module: hr_job_category | ||
#: field:hr.job,category_ids:0 | ||
msgid "Associated Tags" | ||
msgstr "" | ||
|
||
#. module: hr_job_category | ||
#: model:ir.model,name:hr_job_category.model_hr_contract | ||
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 | ||
#: view:hr.job:hr_job_category.view_job_form | ||
msgid "e.g. Part Time" | ||
msgstr "p.e. À temps partiel" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# 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: 2015-07-27 23:44+0000\n" | ||
"Last-Translator: <>\n" | ||
"Language-Team: Italian (http://www.transifex.com/oca/OCA-hr-8-0/language/it/)\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Language: it\n" | ||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
|
||
#. module: hr_job_category | ||
#: field:hr.job,category_ids:0 | ||
msgid "Associated Tags" | ||
msgstr "" | ||
|
||
#. module: hr_job_category | ||
#: model:ir.model,name:hr_job_category.model_hr_contract | ||
msgid "Contract" | ||
msgstr "Contratto" | ||
|
||
#. module: hr_job_category | ||
#: model:ir.model,name:hr_job_category.model_hr_job | ||
msgid "Job Position" | ||
msgstr "" | ||
|
||
#. module: hr_job_category | ||
#: view:hr.job:hr_job_category.view_job_form | ||
msgid "e.g. Part Time" | ||
msgstr "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * hr_job_category | ||
# | ||
# Translators: | ||
# danimaribeiro <danimaribeiro@gmail.com>, 2016 | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: hr (8.0)\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2016-03-11 01:48+0000\n" | ||
"PO-Revision-Date: 2016-03-08 03:19+0000\n" | ||
"Last-Translator: danimaribeiro <danimaribeiro@gmail.com>\n" | ||
"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-hr-8-0/language/pt_BR/)\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Language: pt_BR\n" | ||
"Plural-Forms: nplurals=2; plural=(n > 1);\n" | ||
|
||
#. module: hr_job_category | ||
#: field:hr.job,category_ids:0 | ||
msgid "Associated Tags" | ||
msgstr "" | ||
|
||
#. module: hr_job_category | ||
#: model:ir.model,name:hr_job_category.model_hr_contract | ||
msgid "Contract" | ||
msgstr "Contrato" | ||
|
||
#. module: hr_job_category | ||
#: model:ir.model,name:hr_job_category.model_hr_job | ||
msgid "Job Position" | ||
msgstr "Cargo" | ||
|
||
#. module: hr_job_category | ||
#: view:hr.job:hr_job_category.view_job_form | ||
msgid "e.g. Part Time" | ||
msgstr "ex. Meio período" |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in init file you can remove the fist line
the next time you can use
find . -name "*.py" -exec sed -i "/#.*coding\: /d" {} \;
to help you it's on section https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-11.0#tasks-to-do-in-the-migration