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

[15.0][MIG] hr_timesheet_task_stage: Migration to 15.0 #500

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
90 changes: 90 additions & 0 deletions hr_timesheet_task_stage/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
=========================
Task Log: Open/Close Task
=========================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! 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%2Ftimesheet-lightgray.png?logo=github
:target: https://github.com/OCA/timesheet/tree/15.0/hr_timesheet_task_stage
:alt: OCA/timesheet
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/timesheet-14-0/timesheet-14-0-hr_timesheet_task_stage
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/117/15.0
:alt: Try me on Runbot

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

This module allows to open and close tasks from account analytic lines.
The selected closed stage is the first one that is found with the mark
"Closed" checked.

**Table of contents**

.. contents::
:local:

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 smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/timesheet/issues/new?body=module:%20hr_timesheet_task_stage%0Aversion:%2015.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
~~~~~~~

* Tecnativa
* CorporateHub

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

* `Tecnativa <https://www.tecnativa.com>`_:

* Pedro M. Baeza
* Antonio Espinosa
* Carlos Dauden
* Sergio Teruel
* Luis M. ontalba
* Ernesto Tejeda
* Manuel Calero

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

* Alexey Pelykh <alexey.pelykh@corphub.eu>

* Dhara Solanki <dhara.solanki@initos.com>

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/timesheet <https://github.com/OCA/timesheet/tree/15.0/hr_timesheet_task_stage>`_ 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_timesheet_task_stage/__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
21 changes: 21 additions & 0 deletions hr_timesheet_task_stage/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Copyright 2016 Tecnativa - Antonio Espinosa
# Copyright 2016 Tecnativa - Sergio Teruel
# Copyright 2016-2018 Tecnativa - Pedro M. Baeza
# Copyright 2018 Tecnativa - Ernesto Tejeda
# Copyright 2019 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": "Task Log: Open/Close Task",
"version": "15.0.1.0.0",
"category": "Operations/Timesheets",
"website": "https://github.com/OCA/timesheet",
"author": "Tecnativa, CorporateHub, Odoo Community Association (OCA)",
"license": "AGPL-3",
"installable": True,
"application": False,
"summary": "Open/Close task from corresponding Task Log entry",
"depends": ["hr_timesheet"],
"data": ["views/account_analytic_line.xml"],
}
75 changes: 75 additions & 0 deletions hr_timesheet_task_stage/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_timesheet_task_stage
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2019-07-12 13:43+0000\n"
"Last-Translator: Maria Sparenberg <maria.sparenberg@gmx.net>\n"
"Language-Team: none\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.7.1\n"

#. module: hr_timesheet_task_stage
#: model_terms:ir.ui.view,arch_db:hr_timesheet_task_stage.account_analytic_line_form
msgid "<span class=\"text-danger\">Closed</span>"
msgstr ""

#. module: hr_timesheet_task_stage
#: model_terms:ir.ui.view,arch_db:hr_timesheet_task_stage.account_analytic_line_form
msgid "<span class=\"text-success\">Open</span>"
msgstr ""

#. module: hr_timesheet_task_stage
#: model:ir.model,name:hr_timesheet_task_stage.model_account_analytic_line
msgid "Analytic Line"
msgstr "Kostenstellenbuchung"

#. module: hr_timesheet_task_stage
#: model_terms:ir.ui.view,arch_db:hr_timesheet_task_stage.account_analytic_line_tree
msgid "Close task"
msgstr "Aufgabe beenden"

#. module: hr_timesheet_task_stage
#: model:ir.model.fields,field_description:hr_timesheet_task_stage.field_account_analytic_line__is_task_closed
msgid "Closed"
msgstr "Geschlossen"

#. module: hr_timesheet_task_stage
#: model_terms:ir.ui.view,arch_db:hr_timesheet_task_stage.account_analytic_line_tree
msgid "Open task"
msgstr "Aufgabe öffnen"

#. module: hr_timesheet_task_stage
#: model:ir.model.fields,help:hr_timesheet_task_stage.field_account_analytic_line__is_task_closed
msgid "Tasks in this stage are considered closed."
msgstr "Aufgaben in dieser Stufe werden als geschlossen interpretiert."

#. module: hr_timesheet_task_stage
#: code:addons/hr_timesheet_task_stage/models/account_analytic_line.py:0
#, python-format
msgid "There isn't any stage with \"Closed\" checked. Please mark any."
msgstr ""
"Es gibt keine Stufe, die als \"Geschlossen\" interpretiert wird. Bitte bei "
"einer Stufe das Merkmal setzen."

#. module: hr_timesheet_task_stage
#: code:addons/hr_timesheet_task_stage/models/account_analytic_line.py:0
#, python-format
msgid "There isn't any stage with \"Closed\" unchecked. Please unmark any."
msgstr ""
"Es gibt keine Stufe, die nicht als \"Geschlossen\" interpretiert wird. Bitte "
"bei einer Stufe das Merkmal entfernen."

#~ msgid ""
#~ "Open/Close timesheet line automatically open/close its tasks. Do you want "
#~ "to proceed?"
#~ msgstr ""
#~ "Das Öffnen / Schließen von diesem Zeiteintrag aus wird die zugehörige "
#~ "Aufgabe öffnen / schließen. Wollen Sie fortfahren?"
142 changes: 142 additions & 0 deletions hr_timesheet_task_stage/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_timesheet_holidays
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 13.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-02-11 08:59+0000\n"
"PO-Revision-Date: 2020-02-11 10:07+0100\n"
"Last-Translator: Manuel Calero\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: \n"
"X-Generator: Poedit 2.2.4\n"

#. module: hr_timesheet_task_stage
#: model_terms:ir.ui.view,arch_db:hr_timesheet_task_stage.account_analytic_line_form
msgid "<span class=\"text-danger\">Closed</span>"
msgstr ""

#. module: hr_timesheet_task_stage
#: model_terms:ir.ui.view,arch_db:hr_timesheet_task_stage.account_analytic_line_form
msgid "<span class=\"text-success\">Open</span>"
msgstr ""

#. module: hr_timesheet_task_stage
#: model:ir.model,name:hr_timesheet_task_stage.model_account_analytic_line
msgid "Analytic Line"
msgstr "Línea Analítica"

#. module: hr_timesheet_task_stage
#: model_terms:ir.ui.view,arch_db:hr_timesheet_task_stage.account_analytic_line_tree
msgid "Close task"
msgstr ""

#. module: hr_timesheet_task_stage
#: model:ir.model.fields,field_description:hr_timesheet_task_stage.field_account_analytic_line__is_task_closed
msgid "Closed"
msgstr ""

#. module: hr_timesheet_task_stage
#: model_terms:ir.ui.view,arch_db:hr_timesheet_task_stage.account_analytic_line_tree
msgid "Open task"
msgstr ""

#. module: hr_timesheet_task_stage
#: model:ir.model.fields,help:hr_timesheet_task_stage.field_account_analytic_line__is_task_closed
msgid "Tasks in this stage are considered closed."
msgstr ""

#. module: hr_timesheet_task_stage
#: code:addons/hr_timesheet_task_stage/models/account_analytic_line.py:0
#, python-format
msgid "There isn't any stage with \"Closed\" checked. Please mark any."
msgstr ""

#. module: hr_timesheet_task_stage
#: code:addons/hr_timesheet_task_stage/models/account_analytic_line.py:0
#, python-format
msgid "There isn't any stage with \"Closed\" unchecked. Please unmark any."
msgstr ""

#~ msgid "Analytic Lines"
#~ msgstr "Líneas analíticas"

#~ msgid ""
#~ "Both the internal project and task are required to generate a timesheet "
#~ "for the time off. If you don't want a timesheet, you should leave the "
#~ "internal project and task empty."
#~ msgstr ""
#~ "Se requieren tanto el proyecto interno como la tarea para generar un "
#~ "parte de horas para el tiempo libre. Si no desea un parte de horas, debe "
#~ "dejar el proyecto interno y la tarea vacía."

#~ msgid "Companies"
#~ msgstr "Compañías"

#~ msgid "Config Settings"
#~ msgstr "Opciones de Configuración"

#~ msgid "Default project value for timesheet generated from time off type."
#~ msgstr ""
#~ "Valor predeterminado del proyecto para el parte de horas generada a "
#~ "partir del tiempo libre."

#~ msgid "Generate Timesheet"
#~ msgstr "Generar parte de horas"

#~ msgid ""
#~ "If checked, when validating a time off, timesheet will be generated in "
#~ "the Vacation Project of the company."
#~ msgstr ""
#~ "Si se marca, al validar un tiempo libre, se generará una hoja de tiempo "
#~ "en el proyecto de vacaciones de la empresa."

#~ msgid "Internal Project"
#~ msgstr "Proyecto interno"

#~ msgid "Leave Request"
#~ msgstr "Petición de ausencia"

#~ msgid "Project"
#~ msgstr "Proyecto"

#~ msgid "Task"
#~ msgstr "Tarea"

#~ msgid "Task for timesheet"
#~ msgstr "Tarea para parte de horas"

#~ msgid "The Internal Project of a company should be in that company."
#~ msgstr "El proyecto interno de una empresa debe pertenecer a esa empresa."

#~ msgid ""
#~ "The project will contain the timesheet generated when a time off is "
#~ "validated."
#~ msgstr ""
#~ "El proyecto contendrá el parte de horas generado cuando se valida un "
#~ "tiempo libre."

#~ msgid "Time Off"
#~ msgstr "Ausencias"

#~ msgid "Time Off Task"
#~ msgstr "Tarea de tiempo libre"

#~ msgid "Time Off Type"
#~ msgstr "Tipo de tiempo libre"

#~ msgid "Timesheet"
#~ msgstr "Parte de horas"

#~ msgid ""
#~ "You cannot delete timesheet lines attached to a leaves. Please cancel the "
#~ "leaves instead."
#~ msgstr ""
#~ "No puede eliminar líneas de los partes de horas adjuntos a los permisos. "
#~ "Cancele los permisos en su lugar."