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

[16.0][MIG] hr_holidays_credit: Migration to 16.0 #146

Open
wants to merge 26 commits into
base: 16.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
31eb557
[ADD] hr_holidays_credit: allow employees to take leave credit
alexey-pelykh Dec 21, 2018
dbe3d92
[ADD] icon.png
OCA-git-bot Apr 18, 2019
238f299
[UPD] Update hr_holidays_credit.pot
oca-travis Apr 18, 2019
023148e
Added translation using Weblate (French)
May 23, 2019
fbad726
Translated using Weblate (French)
May 23, 2019
bfac6ee
Translated using Weblate (French)
May 23, 2019
930d99f
[UPD] README.rst
OCA-git-bot Jul 29, 2019
a94967e
[UPD] Brainbean Apps => CorporateHub
alexey-pelykh Nov 4, 2020
b0f450f
[UPD] README.rst
OCA-git-bot Nov 4, 2020
be8958c
[IMP] hr_holidays_credit: black, isort, prettier
newtratip Apr 11, 2021
55c3f79
[MIG] hr_holidays_credit: Migration to 13.0
newtratip Apr 12, 2021
d474383
[UPD] README.rst
OCA-git-bot May 1, 2021
50f469f
[UPD] Update hr_holidays_credit.pot
oca-travis May 1, 2021
22c6987
[IMP] hr_holidays_credit: black, isort, prettier
brian10048 Nov 8, 2021
d32d6ec
[MIG] hr_holidays_credit: Migration to 14.0
brian10048 Nov 8, 2021
7aab338
[UPD] Update hr_holidays_credit.pot
oca-travis Dec 13, 2021
7e3a941
[UPD] README.rst
OCA-git-bot Dec 13, 2021
e646cc6
Added translation using Weblate (Croatian)
badbole Aug 23, 2022
e7c90ca
Translated using Weblate (Croatian)
badbole Aug 23, 2022
aa7cf7b
Added translation using Weblate (Italian)
mymage Jul 10, 2023
4e2cd57
Translated using Weblate (Italian)
mymage Jul 10, 2023
950b9de
[UPD] README.rst
OCA-git-bot Sep 3, 2023
1d82698
Update translation files
weblate Oct 9, 2023
c8f5546
Added translation using Weblate (Spanish)
Ivorra78 Mar 19, 2024
d1cf77a
Translated using Weblate (Spanish)
Ivorra78 Mar 19, 2024
564069c
[MIG] hr_holidays_credit: Migration to 16.0
LauraCForgeFlow Oct 8, 2024
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
84 changes: 84 additions & 0 deletions hr_holidays_credit/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
============
Leave Credit
============

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:938aee0bf51e9b55127b2f4f5981ae659ebde9ab8d55a1af3b0463f1e28e4bd4
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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--holidays-lightgray.png?logo=github
:target: https://github.com/OCA/hr-holidays/tree/16.0/hr_holidays_credit
:alt: OCA/hr-holidays
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/hr-holidays-16-0/hr-holidays-16-0-hr_holidays_credit
: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-holidays&target_branch=16.0
:alt: Try me on Runboat

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

With this module installed, HR Officer can configure specific leave types to
allow negative balance, or allow employees take leave credit.

**Table of contents**

.. contents::
:local:

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/hr-holidays/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-holidays/issues/new?body=module:%20hr_holidays_credit%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
~~~~~~~

* CorporateHub

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

* `CorporateHub <https://corporatehub.eu/>`__

* Alexey Pelykh <[email protected]>

* `Ecosoft <http://ecosoft.co.th/>`__

* Watcharaporn Charamrum <[email protected]>
* Tharathip Chaweewongphan <[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-holidays <https://github.com/OCA/hr-holidays/tree/16.0/hr_holidays_credit>`_ 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_holidays_credit/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

from . import models
20 changes: 20 additions & 0 deletions hr_holidays_credit/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright (C) 2018 Brainbean Apps (https://brainbeanapps.com)
# Copyright 2020 CorporateHub (https://corporatehub.eu)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

{
"name": "Leave Credit",
"version": "16.0.1.0.0",
"category": "Human Resources",
"website": "https://github.com/OCA/hr-holidays",
"author": "CorporateHub, Odoo Community Association (OCA)",
"license": "AGPL-3",
"installable": True,
"application": False,
"summary": "Enable negative leave balance for employees",
"depends": ["hr_holidays"],
"data": [
"views/hr_leave_type.xml",
"views/hr_leave_views.xml",
],
}
128 changes: 128 additions & 0 deletions hr_holidays_credit/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_holidays_credit
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-03-19 08:36+0000\n"
"Last-Translator: Ivorra78 <[email protected]>\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.17\n"

#. module: hr_holidays_credit
#. odoo-python
#: code:addons/hr_holidays_credit/models/hr_leave_type.py:0
#, python-format
msgid " + credit"
msgstr " + crédito"

#. module: hr_holidays_credit
#. odoo-python
#: code:addons/hr_holidays_credit/models/hr_leave_type.py:0
#, python-format
msgid " available"
msgstr " disponibles"

#. module: hr_holidays_credit
#. odoo-python
#: code:addons/hr_holidays_credit/models/hr_leave_type.py:0
#: code:addons/hr_holidays_credit/models/hr_leave_type.py:0
#, python-format
msgid " days"
msgstr " días"

#. module: hr_holidays_credit
#. odoo-python
#: code:addons/hr_holidays_credit/models/hr_leave_type.py:0
#: code:addons/hr_holidays_credit/models/hr_leave_type.py:0
#, python-format
msgid " hours"
msgstr " horas"

#. module: hr_holidays_credit
#. odoo-python
#: code:addons/hr_holidays_credit/models/hr_leave_type.py:0
#, python-format
msgid " used in credit"
msgstr " utilizados en crédito"

#. module: hr_holidays_credit
#. odoo-python
#: code:addons/hr_holidays_credit/models/hr_leave_type.py:0
#, python-format
msgid "%(name)s (%(extra)s)"
msgstr "%(name)s (%(extra)s)"

#. module: hr_holidays_credit
#: model:ir.model.fields,field_description:hr_holidays_credit.field_hr_leave_type__allow_credit
msgid "Allow Credit"
msgstr "Permitir Crédito"

#. module: hr_holidays_credit
#: model:ir.model.fields,field_description:hr_holidays_credit.field_hr_leave_type__creditable_department_ids
msgid "Creditable Departments"
msgstr "Departamentos Acreditables"

#. module: hr_holidays_credit
#: model:ir.model.fields,field_description:hr_holidays_credit.field_hr_leave_type__creditable_employee_category_ids
msgid "Creditable Employee Tags"
msgstr "Etiquetas de Empleado Acreditable"

#. module: hr_holidays_credit
#: model:ir.model.fields,field_description:hr_holidays_credit.field_hr_leave_type__creditable_employee_ids
msgid "Creditable Employees"
msgstr "Empleados Acreditados"

#. module: hr_holidays_credit
#: model:ir.model.fields,help:hr_holidays_credit.field_hr_leave_type__allow_credit
msgid ""
"If set to true, employees would be able to make requests for this leave type"
" even if allocated amount is insufficient."
msgstr ""
"Si se establece en true, los empleados podrán solicitar este tipo de permiso"
" aunque la cantidad asignada sea insuficiente."

#. module: hr_holidays_credit
#: model:ir.model.fields,help:hr_holidays_credit.field_hr_leave_type__creditable_department_ids
msgid "If set, limits credit allowance to employees of specified departments"
msgstr ""
"Si se establece, limita la concesión de créditos a los empleados de "
"determinados departamentos"

#. module: hr_holidays_credit
#: model:ir.model.fields,help:hr_holidays_credit.field_hr_leave_type__creditable_employee_category_ids
msgid ""
"If set, limits credit allowance to employees with at least one of specified "
"tags"
msgstr ""
"Si se establece, limita la concesión de créditos a los empleados que tengan "
"al menos una de las etiquetas especificadas"

#. module: hr_holidays_credit
#: model:ir.model.fields,help:hr_holidays_credit.field_hr_leave_type__creditable_employee_ids
msgid "If set, limits credit allowance to specified employees"
msgstr "Si se fija, limita la concesión de créditos a determinados empleados"

#. module: hr_holidays_credit
#: model:ir.model,name:hr_holidays_credit.model_hr_leave
msgid "Time Off"
msgstr "Tiempo Libre"

#. module: hr_holidays_credit
#: model:ir.model,name:hr_holidays_credit.model_hr_leave_allocation
msgid "Time Off Allocation"
msgstr "Asignación de ausencias"

#. module: hr_holidays_credit
#: model:ir.model,name:hr_holidays_credit.model_hr_leave_type
#: model:ir.model.fields,field_description:hr_holidays_credit.field_hr_leave__holiday_status_id
#: model:ir.model.fields,field_description:hr_holidays_credit.field_hr_leave_allocation__holiday_status_id
msgid "Time Off Type"
msgstr "Tipo de Tiempo Libre"
125 changes: 125 additions & 0 deletions hr_holidays_credit/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_holidays_credit
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2019-05-23 23:19+0000\n"
"Last-Translator: Kévin Allard <[email protected]>\n"
"Language-Team: none\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"
"X-Generator: Weblate 3.6.1\n"

#. module: hr_holidays_credit
#: code:addons/hr_holidays_credit/models/hr_leave_type.py:0
#, python-format
msgid "%(name)s (%(extra)s)"
msgstr "%(name)s (%(extra)s)"

#. module: hr_holidays_credit
#: code:addons/hr_holidays_credit/models/hr_leave_type.py:0
#, python-format
msgid "%g available"
msgstr "%g disponible"

#. module: hr_holidays_credit
#: code:addons/hr_holidays_credit/models/hr_leave_type.py:0
#, python-format
msgid "%g available + credit"
msgstr "%g disponible + credit"

#. module: hr_holidays_credit
#: code:addons/hr_holidays_credit/models/hr_leave_type.py:0
#, python-format
msgid "%g used in credit"
msgstr "%g utilisé en crédit"

#. module: hr_holidays_credit
#: model:ir.model.fields,field_description:hr_holidays_credit.field_hr_leave_type__allow_credit
msgid "Allow Credit"
msgstr "Autoriser le crédit"

#. module: hr_holidays_credit
#: model:ir.model.fields,field_description:hr_holidays_credit.field_hr_leave_type__creditable_department_ids
msgid "Creditable Departments"
msgstr "Départements admissibles"

#. module: hr_holidays_credit
#: model:ir.model.fields,field_description:hr_holidays_credit.field_hr_leave_type__creditable_employee_category_ids
msgid "Creditable Employee Tags"
msgstr "Mots-clés du personnel admissibles"

#. module: hr_holidays_credit
#: model:ir.model.fields,field_description:hr_holidays_credit.field_hr_leave_type__creditable_employee_ids
msgid "Creditable Employees"
msgstr "Employé(e)s admissibles"

#. module: hr_holidays_credit
#: model:ir.model.fields,field_description:hr_holidays_credit.field_hr_leave__display_name
#: model:ir.model.fields,field_description:hr_holidays_credit.field_hr_leave_type__display_name
msgid "Display Name"
msgstr ""

#. module: hr_holidays_credit
#: model:ir.model.fields,field_description:hr_holidays_credit.field_hr_leave__id
#: model:ir.model.fields,field_description:hr_holidays_credit.field_hr_leave_type__id
msgid "ID"
msgstr ""

#. module: hr_holidays_credit
#: model:ir.model.fields,help:hr_holidays_credit.field_hr_leave_type__allow_credit
msgid ""
"If set to true, employees would be able to make requests for this leave type "
"even if allocated amount is insufficient."
msgstr ""
"Si la valeur est « true », les employés pourront demander ce type de congé "
"même si le montant alloué est insuffisant."

#. module: hr_holidays_credit
#: model:ir.model.fields,help:hr_holidays_credit.field_hr_leave_type__creditable_department_ids
msgid "If set, limits credit allowance to employees of specified departments"
msgstr ""
"Si défini, limite l'allocation de crédit aux employés des départements "
"spécifiés"

#. module: hr_holidays_credit
#: model:ir.model.fields,help:hr_holidays_credit.field_hr_leave_type__creditable_employee_category_ids
msgid ""
"If set, limits credit allowance to employees with at least one of specified "
"tags"
msgstr ""
"Si défini, limite l’allocation de crédit aux employés ayant au moins une des "
"étiquettes spécifiées"

#. module: hr_holidays_credit
#: model:ir.model.fields,help:hr_holidays_credit.field_hr_leave_type__creditable_employee_ids
msgid "If set, limits credit allowance to specified employees"
msgstr "Si défini, limite l'allocation de crédit à certains employés"

#. module: hr_holidays_credit
#: model:ir.model.fields,field_description:hr_holidays_credit.field_hr_leave____last_update
#: model:ir.model.fields,field_description:hr_holidays_credit.field_hr_leave_type____last_update
msgid "Last Modified on"
msgstr ""

#. module: hr_holidays_credit
#: model:ir.model,name:hr_holidays_credit.model_hr_leave
msgid "Time Off"
msgstr ""

#. module: hr_holidays_credit
#: model:ir.model,name:hr_holidays_credit.model_hr_leave_type
msgid "Time Off Type"
msgstr ""

#~ msgid "Leave"
#~ msgstr "Congé"

#~ msgid "Leave Type"
#~ msgstr "Type de congé"
Loading
Loading