Skip to content

Commit 0e31631

Browse files
committed
[MIG] hr_contract_currency: Migration to 17.0
1 parent 5e65f35 commit 0e31631

19 files changed

+926
-0
lines changed

hr_contract_currency/README.rst

+96
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
====================
2+
HR Contract Currency
3+
====================
4+
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7+
!! This file is generated by oca-gen-addon-readme !!
8+
!! changes will be overwritten. !!
9+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:8738d13debbf406703a0039f49a4a45d3e9c5a2fad036e02a59543c32cf1b85e
11+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12+
13+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
14+
:target: https://odoo-community.org/page/development-status
15+
:alt: Beta
16+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
17+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
18+
:alt: License: AGPL-3
19+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fhr-lightgray.png?logo=github
20+
:target: https://github.com/OCA/hr/tree/17.0/hr_contract_currency
21+
:alt: OCA/hr
22+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23+
:target: https://translation.odoo-community.org/projects/hr-17-0/hr-17-0-hr_contract_currency
24+
:alt: Translate me on Weblate
25+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/hr&target_branch=17.0
27+
:alt: Try me on Runboat
28+
29+
|badge1| |badge2| |badge3| |badge4| |badge5|
30+
31+
This module allows to use non-default currency for employee's contract.
32+
33+
**Warning**
34+
35+
When using this module with Odoo Enterprise. Use a chart of account with
36+
the right currency. Otherwise, Odoo will post the payslip with the wrong
37+
currency or throw the following error :
38+
39+
::
40+
41+
The account selected on your journal entry forces to provide a secondary currency.
42+
You should remove the secondary currency on the account.
43+
44+
**Table of contents**
45+
46+
.. contents::
47+
:local:
48+
49+
Bug Tracker
50+
===========
51+
52+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/hr/issues>`_.
53+
In case of trouble, please check there if your issue has already been reported.
54+
If you spotted it first, help us to smash it by providing a detailed and welcomed
55+
`feedback <https://github.com/OCA/hr/issues/new?body=module:%20hr_contract_currency%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
56+
57+
Do not contact contributors directly about support or help with technical issues.
58+
59+
Credits
60+
=======
61+
62+
Authors
63+
-------
64+
65+
* Newlogic
66+
* CorporateHub
67+
68+
Contributors
69+
------------
70+
71+
- `CorporateHub <https://corporatehub.eu/>`__
72+
73+
- Alexey Pelykh <alexey.pelykh@corphub.eu>
74+
75+
- Andrea Stirpe <a.stirpe@onestein.nl>
76+
- Nattapong W. <aphon61bank@gmail.com>
77+
- `Newlogic <https://newlogic.com/odoo>`__
78+
79+
- Baptiste P. <baptiste@newlogic.com>
80+
81+
Maintainers
82+
-----------
83+
84+
This module is maintained by the OCA.
85+
86+
.. image:: https://odoo-community.org/logo.png
87+
:alt: Odoo Community Association
88+
:target: https://odoo-community.org
89+
90+
OCA, or the Odoo Community Association, is a nonprofit organization whose
91+
mission is to support the collaborative development of Odoo features and
92+
promote its widespread use.
93+
94+
This module is part of the `OCA/hr <https://github.com/OCA/hr/tree/17.0/hr_contract_currency>`_ project on GitHub.
95+
96+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

hr_contract_currency/__init__.py

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
2+
3+
from . import models

hr_contract_currency/__manifest__.py

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Copyright 2018 Brainbean Apps (https://brainbeanapps.com)
2+
# Copyright 2020 CorporateHub (https://corporatehub.eu)
3+
# Copyright 2024 Newlogic (https://newlogic.com)
4+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
5+
6+
{
7+
"name": "HR Contract Currency",
8+
"version": "17.0.1.0.0",
9+
"category": "Human Resources",
10+
"website": "https://github.com/OCA/hr",
11+
"author": "Newlogic, " "CorporateHub, " "Odoo Community Association (OCA)",
12+
"license": "AGPL-3",
13+
"installable": True,
14+
"summary": "Employee's contract currency",
15+
"depends": ["hr_contract"],
16+
"data": ["views/hr_contract.xml"],
17+
}

hr_contract_currency/i18n/de.po

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * hr_contract_currency
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 14.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"PO-Revision-Date: 2022-05-11 13:05+0000\n"
10+
"Last-Translator: Maria Sparenberg <maria.sparenberg@gmx.net>\n"
11+
"Language-Team: none\n"
12+
"Language: de\n"
13+
"MIME-Version: 1.0\n"
14+
"Content-Type: text/plain; charset=UTF-8\n"
15+
"Content-Transfer-Encoding: \n"
16+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
17+
"X-Generator: Weblate 4.3.2\n"
18+
19+
#. module: hr_contract_currency
20+
#: model:ir.model.fields,field_description:hr_contract_currency.field_hr_contract__currency_id
21+
msgid "Currency"
22+
msgstr "Währung"
23+
24+
#. module: hr_contract_currency
25+
#: model:ir.model.fields,field_description:hr_contract_currency.field_hr_contract__display_name
26+
msgid "Display Name"
27+
msgstr "Anzeigename"
28+
29+
#. module: hr_contract_currency
30+
#: model:ir.model,name:hr_contract_currency.model_hr_contract
31+
msgid "Employee Contract"
32+
msgstr ""
33+
34+
#. module: hr_contract_currency
35+
#: model:ir.model.fields,field_description:hr_contract_currency.field_hr_contract__id
36+
msgid "ID"
37+
msgstr "ID"
38+
39+
#. module: hr_contract_currency
40+
#: model:ir.model.fields,field_description:hr_contract_currency.field_hr_contract____last_update
41+
msgid "Last Modified on"
42+
msgstr "Zuletzt geändert am"
43+
44+
#~ msgid "Contract"
45+
#~ msgstr "Vertrag"

hr_contract_currency/i18n/es.po

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * hr_contract_currency
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 14.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"PO-Revision-Date: 2024-02-18 21:33+0000\n"
10+
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
11+
"Language-Team: none\n"
12+
"Language: es\n"
13+
"MIME-Version: 1.0\n"
14+
"Content-Type: text/plain; charset=UTF-8\n"
15+
"Content-Transfer-Encoding: \n"
16+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
17+
"X-Generator: Weblate 4.17\n"
18+
19+
#. module: hr_contract_currency
20+
#: model:ir.model.fields,field_description:hr_contract_currency.field_hr_contract__currency_id
21+
msgid "Currency"
22+
msgstr "Divisa"
23+
24+
#. module: hr_contract_currency
25+
#: model:ir.model.fields,field_description:hr_contract_currency.field_hr_contract__display_name
26+
msgid "Display Name"
27+
msgstr "Mostrar Nombre"
28+
29+
#. module: hr_contract_currency
30+
#: model:ir.model,name:hr_contract_currency.model_hr_contract
31+
msgid "Employee Contract"
32+
msgstr "Contrato de Empleado"
33+
34+
#. module: hr_contract_currency
35+
#: model:ir.model.fields,field_description:hr_contract_currency.field_hr_contract__id
36+
msgid "ID"
37+
msgstr "ID"
38+
39+
#. module: hr_contract_currency
40+
#: model:ir.model.fields,field_description:hr_contract_currency.field_hr_contract____last_update
41+
msgid "Last Modified on"
42+
msgstr "Última Modificación el"

hr_contract_currency/i18n/fr.po

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * hr_contract_currency
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 12.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"PO-Revision-Date: 2019-05-23 20:19+0000\n"
10+
"Last-Translator: Kévin Allard <kallard@efficom-lille.com>\n"
11+
"Language-Team: none\n"
12+
"Language: fr\n"
13+
"MIME-Version: 1.0\n"
14+
"Content-Type: text/plain; charset=UTF-8\n"
15+
"Content-Transfer-Encoding: \n"
16+
"Plural-Forms: nplurals=2; plural=n > 1;\n"
17+
"X-Generator: Weblate 3.6.1\n"
18+
19+
#. module: hr_contract_currency
20+
#: model:ir.model.fields,field_description:hr_contract_currency.field_hr_contract__currency_id
21+
msgid "Currency"
22+
msgstr "Devise"
23+
24+
#. module: hr_contract_currency
25+
#: model:ir.model.fields,field_description:hr_contract_currency.field_hr_contract__display_name
26+
msgid "Display Name"
27+
msgstr ""
28+
29+
#. module: hr_contract_currency
30+
#: model:ir.model,name:hr_contract_currency.model_hr_contract
31+
msgid "Employee Contract"
32+
msgstr ""
33+
34+
#. module: hr_contract_currency
35+
#: model:ir.model.fields,field_description:hr_contract_currency.field_hr_contract__id
36+
msgid "ID"
37+
msgstr ""
38+
39+
#. module: hr_contract_currency
40+
#: model:ir.model.fields,field_description:hr_contract_currency.field_hr_contract____last_update
41+
msgid "Last Modified on"
42+
msgstr ""
43+
44+
#, fuzzy
45+
#~ msgid "Contract"
46+
#~ msgstr "Contrat de l'employé(e)"

hr_contract_currency/i18n/hr.po

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * hr_contract_currency
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 14.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"PO-Revision-Date: 2022-08-22 21:07+0000\n"
10+
"Last-Translator: Bole <bole@dajmi5.com>\n"
11+
"Language-Team: none\n"
12+
"Language: hr\n"
13+
"MIME-Version: 1.0\n"
14+
"Content-Type: text/plain; charset=UTF-8\n"
15+
"Content-Transfer-Encoding: \n"
16+
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
17+
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
18+
"X-Generator: Weblate 4.3.2\n"
19+
20+
#. module: hr_contract_currency
21+
#: model:ir.model.fields,field_description:hr_contract_currency.field_hr_contract__currency_id
22+
msgid "Currency"
23+
msgstr "Valuta"
24+
25+
#. module: hr_contract_currency
26+
#: model:ir.model.fields,field_description:hr_contract_currency.field_hr_contract__display_name
27+
msgid "Display Name"
28+
msgstr "Prikazani naziv"
29+
30+
#. module: hr_contract_currency
31+
#: model:ir.model,name:hr_contract_currency.model_hr_contract
32+
msgid "Employee Contract"
33+
msgstr "Ugovor djelatnika"
34+
35+
#. module: hr_contract_currency
36+
#: model:ir.model.fields,field_description:hr_contract_currency.field_hr_contract__id
37+
msgid "ID"
38+
msgstr "ID"
39+
40+
#. module: hr_contract_currency
41+
#: model:ir.model.fields,field_description:hr_contract_currency.field_hr_contract____last_update
42+
msgid "Last Modified on"
43+
msgstr "Zadnje modificirano"

hr_contract_currency/i18n/it.po

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * hr_contract_currency
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 14.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"PO-Revision-Date: 2023-05-24 10:08+0000\n"
10+
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
11+
"Language-Team: none\n"
12+
"Language: it\n"
13+
"MIME-Version: 1.0\n"
14+
"Content-Type: text/plain; charset=UTF-8\n"
15+
"Content-Transfer-Encoding: \n"
16+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
17+
"X-Generator: Weblate 4.17\n"
18+
19+
#. module: hr_contract_currency
20+
#: model:ir.model.fields,field_description:hr_contract_currency.field_hr_contract__currency_id
21+
msgid "Currency"
22+
msgstr "Valuta"
23+
24+
#. module: hr_contract_currency
25+
#: model:ir.model.fields,field_description:hr_contract_currency.field_hr_contract__display_name
26+
msgid "Display Name"
27+
msgstr "Nome visualizzato"
28+
29+
#. module: hr_contract_currency
30+
#: model:ir.model,name:hr_contract_currency.model_hr_contract
31+
msgid "Employee Contract"
32+
msgstr "Contratto dipendente"
33+
34+
#. module: hr_contract_currency
35+
#: model:ir.model.fields,field_description:hr_contract_currency.field_hr_contract__id
36+
msgid "ID"
37+
msgstr "ID"
38+
39+
#. module: hr_contract_currency
40+
#: model:ir.model.fields,field_description:hr_contract_currency.field_hr_contract____last_update
41+
msgid "Last Modified on"
42+
msgstr "Ultima modifica il"

hr_contract_currency/i18n/th.po

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * hr_contract_currency
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 17.0+e\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"POT-Creation-Date: 2024-05-30 02:35+0000\n"
10+
"PO-Revision-Date: 2024-05-30 09:40+0700\n"
11+
"Last-Translator: Baptiste P. <baptiste@newlogic.com>\n"
12+
"Language-Team: \n"
13+
"Language: th\n"
14+
"MIME-Version: 1.0\n"
15+
"Content-Type: text/plain; charset=UTF-8\n"
16+
"Content-Transfer-Encoding: 8bit\n"
17+
"Plural-Forms: nplurals=1; plural=0;\n"
18+
"X-Generator: Poedit 3.4.4\n"
19+
20+
#. module: hr_contract_currency
21+
#: model:ir.model.fields,field_description:hr_contract_currency.field_hr_contract__currency_id
22+
msgid "Currency"
23+
msgstr "สกุลเงิน"
24+
25+
#. module: hr_contract_currency
26+
#: model:ir.model,name:hr_contract_currency.model_hr_contract
27+
msgid "Employee Contract"
28+
msgstr "สัญญาการจ้างงาน"
+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
2+
3+
from . import hr_contract

0 commit comments

Comments
 (0)