Skip to content
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_contract_default_trial_length #645

Merged
merged 14 commits into from
Mar 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
102 changes: 102 additions & 0 deletions hr_contract_default_trial_length/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
=============================
Default Contract Trail Length
=============================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! 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_contract_default_trial_length
: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_contract_default_trial_length
: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 addon allows you to define default trail length for contracts

**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 "Default Contract Trail Length" in your addons
* install the module

Configuration
=============

This module does not require any special configuration apart from enabling it as
shown above.

Usage
=====

* Set your trail length on your contract types

Known issues / Roadmap
======================

* Contract trial length can also depend on contract duration

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_contract_default_trial_length%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
~~~~~~~

* Salton Massally <smassally@idtlabs.sl>

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

* Salton Massally (iDT Labs) <smassally@idtlabs.sl>
* Julien Laloux <julien.laloux@jlaloux.be>
* Jaime Arroyo <jaime.arroyo@creublanca.es>

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_contract_default_trial_length>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions hr_contract_default_trial_length/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
20 changes: 20 additions & 0 deletions hr_contract_default_trial_length/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2015 Salton Massally
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
'name': 'Default Contract Trail Length',
'version': '11.0.1.0.0',
'license': 'AGPL-3',
'author': 'Salton Massally <smassally@idtlabs.sl>,'
'Odoo Community Association (OCA)',
'website': 'https://github.com/OCA/hr/',
'category': 'Human Resources',
'summary': 'Define default trail length for contracts',
'depends': [
'hr_contract'
],
'data': [
'views/hr_contract_type.xml',
],
'installable': True,
}
40 changes: 40 additions & 0 deletions hr_contract_default_trial_length/i18n/ar.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_contract_default_trial_length
#
# Translators:
# abdullah alsabi <alsabi.abdullah@gmail.com>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-11-28 01:43+0000\n"
"PO-Revision-Date: 2017-11-28 01:43+0000\n"
"Last-Translator: abdullah alsabi <alsabi.abdullah@gmail.com>, 2017\n"
"Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/ar/)\n"
"Language: ar\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"

#. module: hr_contract_default_trial_length
#: model:ir.model,name:hr_contract_default_trial_length.model_hr_contract_type
msgid "Contract Type"
msgstr "نوع العقد"

#. module: hr_contract_default_trial_length
#: model:ir.model.fields,help:hr_contract_default_trial_length.field_hr_contract_type_trial_length
msgid "Default contract trial length in Days"
msgstr "مدة فترة التجربة بالأيام"

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

#. module: hr_contract_default_trial_length
#: model:ir.model.fields,field_description:hr_contract_default_trial_length.field_hr_contract_type_trial_length
msgid "Trial length"
msgstr "مدة فترة التجربة"
40 changes: 40 additions & 0 deletions hr_contract_default_trial_length/i18n/cs_CZ.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_contract_default_trial_length
#
# Translators:
# Lukáš Spurný <lukasspurny8@gmail.com>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-02-23 03:45+0000\n"
"PO-Revision-Date: 2018-02-23 03:45+0000\n"
"Last-Translator: Lukáš Spurný <lukasspurny8@gmail.com>, 2018\n"
"Language-Team: Czech (Czech Republic) (https://www.transifex.com/oca/"
"teams/23907/cs_CZ/)\n"
"Language: cs_CZ\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"

#. module: hr_contract_default_trial_length
#: model:ir.model,name:hr_contract_default_trial_length.model_hr_contract_type
msgid "Contract Type"
msgstr "Typ smlouvy"

#. module: hr_contract_default_trial_length
#: model:ir.model.fields,help:hr_contract_default_trial_length.field_hr_contract_type_trial_length
msgid "Default contract trial length in Days"
msgstr "Výchozí délka trvání smlouvy v dny"

#. module: hr_contract_default_trial_length
#: model:ir.model,name:hr_contract_default_trial_length.model_hr_contract
msgid "Employee Contract"
msgstr "Smlouva o zaměstnance"

#. module: hr_contract_default_trial_length
#: model:ir.model.fields,field_description:hr_contract_default_trial_length.field_hr_contract_type_trial_length
msgid "Trial length"
msgstr "Zkušební délka"
40 changes: 40 additions & 0 deletions hr_contract_default_trial_length/i18n/de.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_contract_default_trial_length
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-11-28 01:43+0000\n"
"PO-Revision-Date: 2018-12-18 15:58+0000\n"
"Last-Translator: Maria Sparenberg <maria.sparenberg@gmx.net>\n"
"Language-Team: German (https://www.transifex.com/oca/teams/23907/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 3.3\n"

#. module: hr_contract_default_trial_length
#: model:ir.model,name:hr_contract_default_trial_length.model_hr_contract_type
msgid "Contract Type"
msgstr "Vertragsart"

#. module: hr_contract_default_trial_length
#: model:ir.model.fields,help:hr_contract_default_trial_length.field_hr_contract_type_trial_length
msgid "Default contract trial length in Days"
msgstr "Probezeit in Tagen per Vorgabe"

#. module: hr_contract_default_trial_length
#: model:ir.model,name:hr_contract_default_trial_length.model_hr_contract
msgid "Employee Contract"
msgstr "Arbeitsvertrag"

#. module: hr_contract_default_trial_length
#: model:ir.model.fields,field_description:hr_contract_default_trial_length.field_hr_contract_type_trial_length
msgid "Trial length"
msgstr "Probezeit"
39 changes: 39 additions & 0 deletions hr_contract_default_trial_length/i18n/es.po
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_contract_default_trial_length
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-11-28 01:43+0000\n"
"PO-Revision-Date: 2017-11-28 01:43+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/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_contract_default_trial_length
#: model:ir.model,name:hr_contract_default_trial_length.model_hr_contract_type
msgid "Contract Type"
msgstr "Tipo de contrato"

#. module: hr_contract_default_trial_length
#: model:ir.model.fields,help:hr_contract_default_trial_length.field_hr_contract_type_trial_length
msgid "Default contract trial length in Days"
msgstr ""

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

#. module: hr_contract_default_trial_length
#: model:ir.model.fields,field_description:hr_contract_default_trial_length.field_hr_contract_type_trial_length
msgid "Trial length"
msgstr ""
40 changes: 40 additions & 0 deletions hr_contract_default_trial_length/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_contract_default_trial_length
#
# 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"
"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_contract_default_trial_length
#: model:ir.model,name:hr_contract_default_trial_length.model_hr_contract_type
msgid "Contract Type"
msgstr ""

#. module: hr_contract_default_trial_length
#: model:ir.model.fields,help:hr_contract_default_trial_length.field_hr_contract_type_trial_length
msgid "Default contract trial length in Days"
msgstr ""

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

#. module: hr_contract_default_trial_length
#: model:ir.model.fields,field_description:hr_contract_default_trial_length.field_hr_contract_type_trial_length
msgid "Trial length"
msgstr ""
41 changes: 41 additions & 0 deletions hr_contract_default_trial_length/i18n/fr.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_contract_default_trial_length
#
# Translators:
# guillaume bauer <guillaume.bauer@syentys.com>, 2017
# OCA Transbot <transbot@odoo-community.org>, 2017
# Alexandre Fayolle <alexandre.fayolle@camptocamp.com>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-02-23 03:45+0000\n"
"PO-Revision-Date: 2018-02-23 03:45+0000\n"
"Last-Translator: Alexandre Fayolle <alexandre.fayolle@camptocamp.com>, 2018\n"
"Language-Team: French (https://www.transifex.com/oca/teams/23907/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_contract_default_trial_length
#: model:ir.model,name:hr_contract_default_trial_length.model_hr_contract_type
msgid "Contract Type"
msgstr "Type du contrat"

#. module: hr_contract_default_trial_length
#: model:ir.model.fields,help:hr_contract_default_trial_length.field_hr_contract_type_trial_length
msgid "Default contract trial length in Days"
msgstr "Durée de la période d’essai par défaut en jours"

#. module: hr_contract_default_trial_length
#: model:ir.model,name:hr_contract_default_trial_length.model_hr_contract
msgid "Employee Contract"
msgstr "Contrat"

#. module: hr_contract_default_trial_length
#: model:ir.model.fields,field_description:hr_contract_default_trial_length.field_hr_contract_type_trial_length
msgid "Trial length"
msgstr "Période d'essai"
Loading