-
-
Notifications
You must be signed in to change notification settings - Fork 404
[MIG] hr_employee_cost_history : Migration to 19.0. #914
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
Open
uncannycs
wants to merge
12
commits into
OCA:19.0
Choose a base branch
from
uncannycs:19.0-mig-hr_employee_cost_history
base: 19.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
6aee104
[ADD] hr_timesheet_retroactive_cost: Updates employee hourly cost ret…
c87dc81
[16.0][MIG] hr_employee_cost_history
4222ff2
hr_employee_cost_history: move from Alpha to Beta
sbidoul c922c57
[IMP] hr_employee_cost_history: add comment field in history line
glitchov 9df215b
[IMP] hr_employee_cost_history: pre-commit auto fixes
sabrinaRMartin 48bd7eb
[MIG] hr_employee_cost_history: Migration to 18.0
sabrinaRMartin e43c9c5
MIG][18.0] hr_employee_cost_history
sabrinaRMartin ad3d8cb
[UPD] Update hr_employee_cost_history.pot
99b250f
[BOT] post-merge updates
OCA-git-bot 5bab519
Translated using Weblate (Spanish)
Ed-Spain 5825da9
Translated using Weblate (Spanish)
Ed-Spain 926e127
[MIG] hr_employee_cost_history : Migration to 19.0.
uncannycs 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 hidden or 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,105 @@ | ||
| .. image:: https://odoo-community.org/readme-banner-image | ||
| :target: https://odoo-community.org/get-involved?utm_source=readme | ||
| :alt: Odoo Community Association | ||
|
|
||
| ======================== | ||
| HR Employee Cost History | ||
| ======================== | ||
|
|
||
| .. | ||
| !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
| !! This file is generated by oca-gen-addon-readme !! | ||
| !! changes will be overwritten. !! | ||
| !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
| !! source digest: sha256:1f1ebbc8df0bbfe5ecc69e93a3f0fc290373bb7e045954ceec9b20e0d510e561 | ||
| !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
|
|
||
| .. |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/license-LGPL--3-blue.png | ||
| :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html | ||
| :alt: License: LGPL-3 | ||
| .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Ftimesheet-lightgray.png?logo=github | ||
| :target: https://github.com/OCA/timesheet/tree/19.0/hr_employee_cost_history | ||
| :alt: OCA/timesheet | ||
| .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
| :target: https://translation.odoo-community.org/projects/timesheet-19-0/timesheet-19-0-hr_employee_cost_history | ||
| :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/timesheet&target_branch=19.0 | ||
| :alt: Try me on Runboat | ||
|
|
||
| |badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
|
||
| This module allows to update employee's costs from a given date onwards, | ||
| and logs cost changes in a separate table. | ||
|
|
||
| **Table of contents** | ||
|
|
||
| .. contents:: | ||
| :local: | ||
|
|
||
| Usage | ||
| ===== | ||
|
|
||
| To use this module, you need to: | ||
|
|
||
| 1. Go to Employees > and select an employee. | ||
| 2. Go to Settings tab > Application Settings click on 'Update Cost'. | ||
| 3. Set a new Cost and the From Date. Click on 'UPDATE'. | ||
| 4. Now a new button 'Cost History' has appeared. Click on it to see | ||
| employee's cost changes. | ||
|
|
||
| Bug Tracker | ||
| =========== | ||
|
|
||
| Bugs are tracked on `GitHub Issues <https://github.com/OCA/timesheet/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/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**>`_. | ||
|
|
||
| Do not contact contributors directly about support or help with technical issues. | ||
|
|
||
| Credits | ||
| ======= | ||
|
|
||
| Authors | ||
| ------- | ||
|
|
||
| * Moduon | ||
|
|
||
| Contributors | ||
| ------------ | ||
|
|
||
| - Eduardo López (`Moduon <https://www.moduon.team/>`__) | ||
| - Jairo Llopis (`Moduon <https://www.moduon.team/>`__) | ||
| - Rafael Blasco (`Moduon <https://www.moduon.team/>`__) | ||
|
|
||
| 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. | ||
|
|
||
| .. |maintainer-SabrinaRMArtin| image:: https://github.com/SabrinaRMArtin.png?size=40px | ||
| :target: https://github.com/SabrinaRMArtin | ||
| :alt: SabrinaRMArtin | ||
| .. |maintainer-rafaelbn| image:: https://github.com/rafaelbn.png?size=40px | ||
| :target: https://github.com/rafaelbn | ||
| :alt: rafaelbn | ||
|
|
||
| Current `maintainers <https://odoo-community.org/page/maintainer-role>`__: | ||
|
|
||
| |maintainer-SabrinaRMArtin| |maintainer-rafaelbn| | ||
|
|
||
| This module is part of the `OCA/timesheet <https://github.com/OCA/timesheet/tree/19.0/hr_employee_cost_history>`_ project on GitHub. | ||
|
|
||
| You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains hidden or 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,4 @@ | ||
| # License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl). | ||
|
|
||
| from . import models | ||
| from . import wizards |
This file contains hidden or 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,25 @@ | ||
| # Copyright 2024 Moduon Team S.L. <info@moduon.team> | ||
| # License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl). | ||
| { | ||
| "name": "HR Employee Cost History", | ||
| "summary": """Adds an history to employee's costs.""", | ||
| "version": "19.0.1.0.0", | ||
| "development_status": "Beta", | ||
| "category": "Human Resources", | ||
| "website": "https://github.com/OCA/timesheet", | ||
| "author": "Moduon, Odoo Community Association (OCA)", | ||
| "maintainers": ["SabrinaRMArtin", "rafaelbn"], | ||
| "license": "LGPL-3", | ||
| "installable": True, | ||
| "auto_install": False, | ||
| "depends": [ | ||
| "hr_timesheet", | ||
| "hr_hourly_cost", | ||
| ], | ||
| "data": [ | ||
| "security/ir.model.access.csv", | ||
| "wizards/hr_employee_timesheet_cost_wizard_views.xml", | ||
| "views/hr_employee_timesheet_cost_history_views.xml", | ||
| "views/hr_employee_views.xml", | ||
| ], | ||
| } | ||
This file contains hidden or 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,155 @@ | ||
| # Translation of Odoo Server. | ||
| # This file contains the translation of the following modules: | ||
| # * hr_employee_cost_history | ||
| # | ||
| msgid "" | ||
| msgstr "" | ||
| "Project-Id-Version: Odoo Server 15.0+e\n" | ||
| "Report-Msgid-Bugs-To: \n" | ||
| "POT-Creation-Date: 2024-03-27 10:08+0000\n" | ||
| "PO-Revision-Date: 2026-04-16 21:45+0000\n" | ||
| "Last-Translator: Ed-Spain <eduamoros@gmail.com>\n" | ||
| "Language-Team: \n" | ||
| "Language: es\n" | ||
| "MIME-Version: 1.0\n" | ||
| "Content-Type: text/plain; charset=UTF-8\n" | ||
| "Content-Transfer-Encoding: 8bit\n" | ||
| "Plural-Forms: nplurals=2; plural=n != 1;\n" | ||
| "X-Generator: Weblate 5.15.2\n" | ||
|
|
||
| #. module: hr_employee_cost_history | ||
| #: model_terms:ir.ui.view,arch_db:hr_employee_cost_history.hr_timesheet_retroactive_cost_view_employee_form_inherit | ||
| msgid "<i class=\"fa fa-fw o_button_icon fa-arrow-right\"/> Update Cost" | ||
| msgstr "<i class=\"fa fa-fw o_button_icon fa-arrow-right\"/> Actualizar coste" | ||
|
|
||
| #. module: hr_employee_cost_history | ||
| #: model_terms:ir.ui.view,arch_db:hr_employee_cost_history.hr_timesheet_retroactive_cost_view_employee_form_inherit | ||
| msgid "<i class=\"fa fa-fw o_button_icon fa-history\"/> Cost History" | ||
| msgstr "<i class=\"fa fa-fw o_button_icon fa-history\"/> Histórico de coste" | ||
|
|
||
| #. module: hr_employee_cost_history | ||
| #: model_terms:ir.ui.view,arch_db:hr_employee_cost_history.hr_employee_timesheet_cost_wizard_view_form | ||
| msgid "Cancel" | ||
| msgstr "Cancelar" | ||
|
|
||
| #. module: hr_employee_cost_history | ||
| #: model:ir.model.fields,help:hr_employee_cost_history.field_hr_employee_timesheet_cost_wizard__starting_date | ||
| msgid "Change timesheet cost from this date onwards." | ||
| msgstr "Cambiar el coste del parte de horas a partir de esta fecha." | ||
|
|
||
| #. module: hr_employee_cost_history | ||
| #: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_history__comment | ||
| #: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_wizard__comment | ||
| msgid "Comment" | ||
| msgstr "Comentario" | ||
|
|
||
| #. module: hr_employee_cost_history | ||
| #: model_terms:ir.ui.view,arch_db:hr_employee_cost_history.hr_employee_timesheet_cost_wizard_view_form | ||
| msgid "Cost" | ||
| msgstr "Coste" | ||
|
|
||
| #. module: hr_employee_cost_history | ||
| #: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_history__create_uid | ||
| #: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_wizard__create_uid | ||
| msgid "Created by" | ||
| msgstr "Creado por" | ||
|
|
||
| #. module: hr_employee_cost_history | ||
| #: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_history__create_date | ||
| #: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_wizard__create_date | ||
| msgid "Created on" | ||
| msgstr "Creado el" | ||
|
|
||
| #. module: hr_employee_cost_history | ||
| #: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_history__currency_id | ||
| #: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_wizard__currency_id | ||
| msgid "Currency" | ||
| msgstr "Moneda" | ||
|
|
||
| #. module: hr_employee_cost_history | ||
| #: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_history__display_name | ||
| #: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_wizard__display_name | ||
| msgid "Display Name" | ||
| msgstr "Nombre mostrado" | ||
|
|
||
| #. module: hr_employee_cost_history | ||
| #: model:ir.model,name:hr_employee_cost_history.model_hr_employee | ||
| #: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_history__employee_id | ||
| #: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_wizard__employee_id | ||
| msgid "Employee" | ||
| msgstr "Empleado" | ||
|
|
||
| #. module: hr_employee_cost_history | ||
| #: model:ir.actions.act_window,name:hr_employee_cost_history.hr_employee_timesheet_cost_action | ||
| #: model:ir.model,name:hr_employee_cost_history.model_hr_employee_timesheet_cost_history | ||
| msgid "Employee Timesheet Cost History" | ||
| msgstr "Histórico coste en parte de horas" | ||
|
|
||
| #. module: hr_employee_cost_history | ||
| #: model:ir.model,name:hr_employee_cost_history.model_hr_employee_timesheet_cost_wizard | ||
| msgid "Employee timesheet cost wizard" | ||
| msgstr "Asistente de coste de partes de horas del empleado" | ||
|
|
||
| #. module: hr_employee_cost_history | ||
| #: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_wizard__starting_date | ||
| msgid "From Date" | ||
| msgstr "Desde" | ||
|
|
||
| #. module: hr_employee_cost_history | ||
| #: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_history__hourly_cost | ||
| #: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_wizard__hourly_cost | ||
| msgid "Hourly Cost" | ||
| msgstr "Coste por Hora" | ||
|
|
||
| #. module: hr_employee_cost_history | ||
| #: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_history__id | ||
| #: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_wizard__id | ||
| msgid "ID" | ||
| msgstr "ID" | ||
|
|
||
| #. module: hr_employee_cost_history | ||
| #: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_history____last_update | ||
| #: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_wizard____last_update | ||
| msgid "Last Modified on" | ||
| msgstr "Últimas páginas modificadas" | ||
|
|
||
| #. module: hr_employee_cost_history | ||
| #: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_history__write_uid | ||
| #: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_wizard__write_uid | ||
| msgid "Last Updated by" | ||
| msgstr "Última actualización por" | ||
|
|
||
| #. module: hr_employee_cost_history | ||
| #: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_history__write_date | ||
| #: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_wizard__write_date | ||
| msgid "Last Updated on" | ||
| msgstr "Última actualización el" | ||
|
|
||
| #. module: hr_employee_cost_history | ||
| #: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee_timesheet_cost_history__starting_date | ||
| msgid "Starting Date" | ||
| msgstr "Fecha de inicio" | ||
|
|
||
| #. module: hr_employee_cost_history | ||
| #: model:ir.model.fields,help:hr_employee_cost_history.field_hr_employee_timesheet_cost_history__starting_date | ||
| msgid "The cost change has effect since this date." | ||
| msgstr "El cambio de coste se aplica desde esta fecha." | ||
|
|
||
| #. module: hr_employee_cost_history | ||
| #: model:ir.model.fields,field_description:hr_employee_cost_history.field_hr_employee__timesheet_cost_history_ids | ||
| msgid "Timesheet Cost History" | ||
| msgstr "Histórico coste en parte de horas" | ||
|
|
||
| #. module: hr_employee_cost_history | ||
| #: model_terms:ir.ui.view,arch_db:hr_employee_cost_history.hr_employee_timesheet_cost_wizard_view_form | ||
| msgid "Update" | ||
| msgstr "Actualizar" | ||
|
|
||
| #. module: hr_employee_cost_history | ||
| #: model:ir.actions.act_window,name:hr_employee_cost_history.action_hr_employee_timesheet_cost_wizard | ||
| #: model_terms:ir.ui.view,arch_db:hr_employee_cost_history.hr_employee_timesheet_cost_wizard_view_form | ||
| msgid "Update Timesheet Cost" | ||
| msgstr "Actualizar coste en partes de horas" | ||
|
|
||
| #~ msgid "Timesheet Cost" | ||
| #~ msgstr "Coste del parte de horas" |
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.
Uh oh!
There was an error while loading. Please reload this page.