Skip to content

Commit 923a985

Browse files
committed
[MIG] hr_employee_cost_history : Migration to 19.0.
1 parent dfdaeeb commit 923a985

25 files changed

Lines changed: 1666 additions & 0 deletions
Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
.. image:: https://odoo-community.org/readme-banner-image
2+
:target: https://odoo-community.org/get-involved?utm_source=readme
3+
:alt: Odoo Community Association
4+
5+
========================
6+
HR Employee Cost History
7+
========================
8+
9+
..
10+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
11+
!! This file is generated by oca-gen-addon-readme !!
12+
!! changes will be overwritten. !!
13+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
14+
!! source digest: sha256:1f1ebbc8df0bbfe5ecc69e93a3f0fc290373bb7e045954ceec9b20e0d510e561
15+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
16+
17+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
18+
:target: https://odoo-community.org/page/development-status
19+
:alt: Beta
20+
.. |badge2| image:: https://img.shields.io/badge/license-LGPL--3-blue.png
21+
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
22+
:alt: License: LGPL-3
23+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Ftimesheet-lightgray.png?logo=github
24+
:target: https://github.com/OCA/timesheet/tree/19.0/hr_employee_cost_history
25+
:alt: OCA/timesheet
26+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
27+
:target: https://translation.odoo-community.org/projects/timesheet-19-0/timesheet-19-0-hr_employee_cost_history
28+
:alt: Translate me on Weblate
29+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
30+
:target: https://runboat.odoo-community.org/builds?repo=OCA/timesheet&target_branch=19.0
31+
:alt: Try me on Runboat
32+
33+
|badge1| |badge2| |badge3| |badge4| |badge5|
34+
35+
This module allows to update employee's costs from a given date onwards,
36+
and logs cost changes in a separate table.
37+
38+
**Table of contents**
39+
40+
.. contents::
41+
:local:
42+
43+
Usage
44+
=====
45+
46+
To use this module, you need to:
47+
48+
1. Go to Employees > and select an employee.
49+
2. Go to Settings tab > Application Settings click on 'Update Cost'.
50+
3. Set a new Cost and the From Date. Click on 'UPDATE'.
51+
4. Now a new button 'Cost History' has appeared. Click on it to see
52+
employee's cost changes.
53+
54+
Bug Tracker
55+
===========
56+
57+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/timesheet/issues>`_.
58+
In case of trouble, please check there if your issue has already been reported.
59+
If you spotted it first, help us to smash it by providing a detailed and welcomed
60+
`feedback <https://github.com/OCA/timesheet/issues/new?body=module:%20hr_employee_cost_history%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
61+
62+
Do not contact contributors directly about support or help with technical issues.
63+
64+
Credits
65+
=======
66+
67+
Authors
68+
-------
69+
70+
* Moduon
71+
72+
Contributors
73+
------------
74+
75+
- Eduardo López (`Moduon <https://www.moduon.team/>`__)
76+
- Jairo Llopis (`Moduon <https://www.moduon.team/>`__)
77+
- Rafael Blasco (`Moduon <https://www.moduon.team/>`__)
78+
79+
Maintainers
80+
-----------
81+
82+
This module is maintained by the OCA.
83+
84+
.. image:: https://odoo-community.org/logo.png
85+
:alt: Odoo Community Association
86+
:target: https://odoo-community.org
87+
88+
OCA, or the Odoo Community Association, is a nonprofit organization whose
89+
mission is to support the collaborative development of Odoo features and
90+
promote its widespread use.
91+
92+
.. |maintainer-SabrinaRMArtin| image:: https://github.com/SabrinaRMArtin.png?size=40px
93+
:target: https://github.com/SabrinaRMArtin
94+
:alt: SabrinaRMArtin
95+
.. |maintainer-rafaelbn| image:: https://github.com/rafaelbn.png?size=40px
96+
:target: https://github.com/rafaelbn
97+
:alt: rafaelbn
98+
99+
Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:
100+
101+
|maintainer-SabrinaRMArtin| |maintainer-rafaelbn|
102+
103+
This module is part of the `OCA/timesheet <https://github.com/OCA/timesheet/tree/19.0/hr_employee_cost_history>`_ project on GitHub.
104+
105+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl).
2+
3+
from . import models
4+
from . import wizards
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Copyright 2024 Moduon Team S.L. <info@moduon.team>
2+
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl).
3+
{
4+
"name": "HR Employee Cost History",
5+
"summary": """Adds an history to employee's costs.""",
6+
"version": "19.0.1.0.0",
7+
"development_status": "Beta",
8+
"category": "Human Resources",
9+
"website": "https://github.com/OCA/timesheet",
10+
"author": "Moduon, Odoo Community Association (OCA)",
11+
"maintainers": ["SabrinaRMArtin", "rafaelbn"],
12+
"license": "LGPL-3",
13+
"external_dependencies": {"python": ["freezegun"]},
14+
"installable": True,
15+
"auto_install": False,
16+
"depends": [
17+
"hr_timesheet",
18+
"hr_hourly_cost",
19+
],
20+
"data": [
21+
"security/ir.model.access.csv",
22+
"wizards/hr_employee_timesheet_cost_wizard_views.xml",
23+
"views/hr_employee_timesheet_cost_history_views.xml",
24+
"views/hr_employee_views.xml",
25+
],
26+
}
Lines changed: 156 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,156 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * hr_employee_cost_history
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 15.0+e\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"POT-Creation-Date: 2024-03-27 10:08+0000\n"
10+
"PO-Revision-Date: 2026-04-16 21:45+0000\n"
11+
"Last-Translator: Ed-Spain <eduamoros@gmail.com>\n"
12+
"Language-Team: \n"
13+
"Language: es\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=2; plural=n != 1;\n"
18+
"X-Generator: Weblate 5.15.2\n"
19+
20+
#. module: hr_employee_cost_history
21+
#: model_terms:ir.ui.view,arch_db:hr_employee_cost_history.hr_timesheet_retroactive_cost_view_employee_form_inherit
22+
msgid "<i class=\"fa fa-fw o_button_icon fa-arrow-right\"/> Update Cost"
23+
msgstr "<i class=\"fa fa-fw o_button_icon fa-arrow-right\"/> Actualizar coste"
24+
25+
#. module: hr_employee_cost_history
26+
#: model_terms:ir.ui.view,arch_db:hr_employee_cost_history.hr_timesheet_retroactive_cost_view_employee_form_inherit
27+
msgid "<i class=\"fa fa-fw o_button_icon fa-history\"/> Cost History"
28+
msgstr "<i class=\"fa fa-fw o_button_icon fa-history\"/> Histórico de coste"
29+
30+
#. module: hr_employee_cost_history
31+
#: model_terms:ir.ui.view,arch_db:hr_employee_cost_history.hr_employee_timesheet_cost_wizard_view_form
32+
msgid "Cancel"
33+
msgstr "Cancelar"
34+
35+
#. module: hr_employee_cost_history
36+
#: model:ir.model.fields,help:hr_employee_cost_history.field_hr_employee_timesheet_cost_wizard__starting_date
37+
msgid "Change timesheet cost from this date onwards."
38+
msgstr "Cambiar el coste del parte de horas a partir de esta fecha."
39+
40+
#. module: hr_employee_cost_history
41+
#: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_history__comment
42+
#: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_wizard__comment
43+
msgid "Comment"
44+
msgstr "Comentario"
45+
46+
#. module: hr_employee_cost_history
47+
#: model_terms:ir.ui.view,arch_db:hr_employee_cost_history.hr_employee_timesheet_cost_wizard_view_form
48+
msgid "Cost"
49+
msgstr "Coste"
50+
51+
#. module: hr_employee_cost_history
52+
#: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_history__create_uid
53+
#: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_wizard__create_uid
54+
msgid "Created by"
55+
msgstr "Creado por"
56+
57+
#. module: hr_employee_cost_history
58+
#: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_history__create_date
59+
#: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_wizard__create_date
60+
msgid "Created on"
61+
msgstr "Creado el"
62+
63+
#. module: hr_employee_cost_history
64+
#: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_history__currency_id
65+
#: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_wizard__currency_id
66+
msgid "Currency"
67+
msgstr "Moneda"
68+
69+
#. module: hr_employee_cost_history
70+
#: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_history__display_name
71+
#: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_wizard__display_name
72+
msgid "Display Name"
73+
msgstr "Nombre mostrado"
74+
75+
#. module: hr_employee_cost_history
76+
#: model:ir.model,name:hr_employee_cost_history.model_hr_employee
77+
#: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_history__employee_id
78+
#: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_wizard__employee_id
79+
msgid "Employee"
80+
msgstr "Empleado"
81+
82+
#. module: hr_employee_cost_history
83+
#: model:ir.actions.act_window,name:hr_employee_cost_history.hr_employee_timesheet_cost_action
84+
#: model:ir.model,name:hr_employee_cost_history.model_hr_employee_timesheet_cost_history
85+
msgid "Employee Timesheet Cost History"
86+
msgstr "Histórico coste en parte de horas"
87+
88+
#. module: hr_employee_cost_history
89+
#: model:ir.model,name:hr_employee_cost_history.model_hr_employee_timesheet_cost_wizard
90+
msgid "Employee timesheet cost wizard"
91+
msgstr ""
92+
93+
#. module: hr_employee_cost_history
94+
#: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_wizard__starting_date
95+
msgid "From Date"
96+
msgstr "Desde"
97+
98+
#. module: hr_employee_cost_history
99+
#: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_history__hourly_cost
100+
#: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_wizard__hourly_cost
101+
msgid "Hourly Cost"
102+
msgstr "Coste por Hora"
103+
104+
#. module: hr_employee_cost_history
105+
#: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_history__id
106+
#: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_wizard__id
107+
#, fuzzy
108+
msgid "ID"
109+
msgstr "ID"
110+
111+
#. module: hr_employee_cost_history
112+
#: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_history____last_update
113+
#: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_wizard____last_update
114+
msgid "Last Modified on"
115+
msgstr "Últimas páginas modificadas"
116+
117+
#. module: hr_employee_cost_history
118+
#: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_history__write_uid
119+
#: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_wizard__write_uid
120+
msgid "Last Updated by"
121+
msgstr "Última actualización por"
122+
123+
#. module: hr_employee_cost_history
124+
#: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_history__write_date
125+
#: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_wizard__write_date
126+
msgid "Last Updated on"
127+
msgstr "Última actualización el"
128+
129+
#. module: hr_employee_cost_history
130+
#: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_history__starting_date
131+
msgid "Starting Date"
132+
msgstr "Fecha de inicio"
133+
134+
#. module: hr_employee_cost_history
135+
#: model:ir.model.fields,help:hr_employee_cost_history.field_hr_employee_timesheet_cost_history__starting_date
136+
msgid "The cost change has effect since this date."
137+
msgstr "El cambio de coste se aplica desde esta fecha."
138+
139+
#. module: hr_employee_cost_history
140+
#: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee__timesheet_cost_history_ids
141+
msgid "Timesheet Cost History"
142+
msgstr "Histórico coste en parte de horas"
143+
144+
#. module: hr_employee_cost_history
145+
#: model_terms:ir.ui.view,arch_db:hr_employee_cost_history.hr_employee_timesheet_cost_wizard_view_form
146+
msgid "Update"
147+
msgstr "Actualizar"
148+
149+
#. module: hr_employee_cost_history
150+
#: model:ir.actions.act_window,name:hr_employee_cost_history.action_hr_employee_timesheet_cost_wizard
151+
#: model_terms:ir.ui.view,arch_db:hr_employee_cost_history.hr_employee_timesheet_cost_wizard_view_form
152+
msgid "Update Timesheet Cost"
153+
msgstr "Actualizar coste en partes de horas"
154+
155+
#~ msgid "Timesheet Cost"
156+
#~ msgstr "Coste del parte de horas"

0 commit comments

Comments
 (0)