Skip to content

Commit

Permalink
Merge branch '14.0-mig-project_task_stage_allow_timesheet' of git+ssh…
Browse files Browse the repository at this point in the history
…://github.com/sergiocorato/timesheet into 14.0
  • Loading branch information
sergiocorato committed Oct 13, 2023
2 parents 5f43606 + 3a31ad8 commit a5776f6
Show file tree
Hide file tree
Showing 42 changed files with 1,880 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"pull_requests": {
"406": "(auto) Nothing to port from PR #406"
}
}
85 changes: 85 additions & 0 deletions project_task_stage_allow_timesheet/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
==================================
Project Task Stage Allow Timesheet
==================================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! 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/12.0/project_task_stage_allow_timesheet
:alt: OCA/timesheet
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/timesheet-12-0/timesheet-12-0-project_task_stage_allow_timesheet
: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/12.0
:alt: Try me on Runbot

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

Allows to tell that a task stage is opened for timesheets

**Table of contents**

.. contents::
:local:

Usage
=====

To configure this module, you need to:

. Go to Project -> Settings -> Stages (Debug mode needed)
. Check the "Allow Timesheet" checkbox to allow timesheet encoding for the tasks which are in the current stage

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:%20project_task_stage_allow_timesheet%0Aversion:%2012.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
~~~~~~~

* ACSONE SA/NV

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

* Benjamin Willig <benjamin.willig@acsone.eu>
* Numigi (tm) and all its contributors (https://bit.ly/numigiens)
* `CorporateHub <https://corporatehub.eu/>`__

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

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/12.0/project_task_stage_allow_timesheet>`_ 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 project_task_stage_allow_timesheet/__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 project_task_stage_allow_timesheet/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Copyright 2018 ACSONE SA/NV
# Copyright 2019 Brainbean Apps (https://brainbeanapps.com)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

{
"name": "Project Task Stage Allow Timesheet",
"summary": """
Allows to tell that a task stage is opened for timesheets.""",
"version": "14.0.1.0.0",
"license": "AGPL-3",
"author": "Odoo Community Association (OCA), ACSONE SA/NV",
"website": "https://github.com/OCA/timesheet",
"depends": [
"hr_timesheet",
"project",
],
"data": [
"views/account_analytic_line.xml",
"views/project_task_type.xml",
],
}
48 changes: 48 additions & 0 deletions project_task_stage_allow_timesheet/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_task_stage_allow_timesheet
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2019-07-12 10: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: project_task_stage_allow_timesheet
#: model:ir.model.fields,field_description:project_task_stage_allow_timesheet.field_project_task_type__allow_timesheet
msgid "Allow timesheets"
msgstr "Zeiterfassungen erlauben"

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

#. module: project_task_stage_allow_timesheet
#: model:ir.model.fields,field_description:project_task_stage_allow_timesheet.field_account_analytic_line__task_id
#: model:ir.model.fields,field_description:project_task_stage_allow_timesheet.field_hr_timesheet_switch__task_id
msgid "Task"
msgstr "Aufgabe"

#. module: project_task_stage_allow_timesheet
#: model:ir.model,name:project_task_stage_allow_timesheet.model_project_task_type
msgid "Task Stage"
msgstr "Aufgabenstufe"

#. module: project_task_stage_allow_timesheet
#: code:addons/project_task_stage_allow_timesheet/models/account_analytic_line.py:23
#, python-format
msgid ""
"You can't link a timesheet line to a task if its stage doesn't allow it. "
"(Task: %s, Stage: %s)"
msgstr ""
"Es können keine Zeiten für eine Aufgabe in einer Projektstufe erfasst "
"werden, die dies nicht erlaubt. (Aufgabe: %s, Stufe: %s)"
49 changes: 49 additions & 0 deletions project_task_stage_allow_timesheet/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_task_stage_allow_timesheet
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-04-03 17:48+0000\n"
"PO-Revision-Date: 2020-05-18 20:19+0000\n"
"Last-Translator: Josep M <jmyepes@mac.com>\n"
"Language-Team: none\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 3.10\n"

#. module: project_task_stage_allow_timesheet
#: model:ir.model.fields,field_description:project_task_stage_allow_timesheet.field_project_task_type__allow_timesheet
msgid "Allow timesheets"
msgstr "Permitir partes de horas"

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

#. module: project_task_stage_allow_timesheet
#: model:ir.model.fields,field_description:project_task_stage_allow_timesheet.field_account_analytic_line__task_id
#: model:ir.model.fields,field_description:project_task_stage_allow_timesheet.field_hr_timesheet_switch__task_id
msgid "Task"
msgstr "Tarea"

#. module: project_task_stage_allow_timesheet
#: model:ir.model,name:project_task_stage_allow_timesheet.model_project_task_type
msgid "Task Stage"
msgstr "Etapa de tarea"

#. module: project_task_stage_allow_timesheet
#: code:addons/project_task_stage_allow_timesheet/models/account_analytic_line.py:23
#, python-format
msgid ""
"You can't link a timesheet line to a task if its stage doesn't allow it. "
"(Task: %s, Stage: %s)"
msgstr ""
"No puedes imputar horas en una tarea cuyo estado no lo permite. (Tarea: %s, "
"Etapa: %s)"
49 changes: 49 additions & 0 deletions project_task_stage_allow_timesheet/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_task_stage_allow_timesheet
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-04-03 17:48+0000\n"
"PO-Revision-Date: 2019-04-03 13:48-0400\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"Language: fr\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.0.6\n"

#. module: project_task_stage_allow_timesheet
#: model:ir.model.fields,field_description:project_task_stage_allow_timesheet.field_project_task_type__allow_timesheet
msgid "Allow timesheets"
msgstr "Permettre les feuilles de temps"

#. module: project_task_stage_allow_timesheet
#: model:ir.model,name:project_task_stage_allow_timesheet.model_account_analytic_line
msgid "Analytic Line"
msgstr "Ligne analytique"

#. module: project_task_stage_allow_timesheet
#: model:ir.model.fields,field_description:project_task_stage_allow_timesheet.field_account_analytic_line__task_id
#: model:ir.model.fields,field_description:project_task_stage_allow_timesheet.field_hr_timesheet_switch__task_id
msgid "Task"
msgstr ""

#. module: project_task_stage_allow_timesheet
#: model:ir.model,name:project_task_stage_allow_timesheet.model_project_task_type
msgid "Task Stage"
msgstr "Étape de tâche"

#. module: project_task_stage_allow_timesheet
#: code:addons/project_task_stage_allow_timesheet/models/account_analytic_line.py:23
#, python-format
msgid ""
"You can't link a timesheet line to a task if its stage doesn't allow it. "
"(Task: %s, Stage: %s)"
msgstr ""
"Vous ne pouvez pas lier une ligne de feuille temps à une tâche si son étape "
"ne le permet pas. (Tâche: %s, Etape: %s)"
46 changes: 46 additions & 0 deletions project_task_stage_allow_timesheet/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_task_stage_allow_timesheet
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-07-03 14:09+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Language-Team: none\n"
"Language: it\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: project_task_stage_allow_timesheet
#: model:ir.model.fields,field_description:project_task_stage_allow_timesheet.field_project_task_type__allow_timesheet
msgid "Allow timesheets"
msgstr "Abilita fogli ore"

#. module: project_task_stage_allow_timesheet
#: model:ir.model,name:project_task_stage_allow_timesheet.model_account_analytic_line
msgid "Analytic Line"
msgstr "Riga analitica"

#. module: project_task_stage_allow_timesheet
#: model:ir.model.fields,field_description:project_task_stage_allow_timesheet.field_account_analytic_line__task_id
#: model:ir.model.fields,field_description:project_task_stage_allow_timesheet.field_hr_timesheet_switch__task_id
msgid "Task"
msgstr "Lavoro"

#. module: project_task_stage_allow_timesheet
#: model:ir.model,name:project_task_stage_allow_timesheet.model_project_task_type
msgid "Task Stage"
msgstr "Fase lavoro"

#. module: project_task_stage_allow_timesheet
#: code:addons/project_task_stage_allow_timesheet/models/account_analytic_line.py:23
#, python-format
msgid "You can't link a timesheet line to a task if its stage doesn't allow it. (Task: %s, Stage: %s)"
msgstr ""
"Non si può collegare un foglio ore ad un lavoro se il suo stato non lo "
"consente. (Lavoro: %s, Stato: %s)"
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_task_stage_allow_timesheet
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: project_task_stage_allow_timesheet
#: model:ir.model.fields,field_description:project_task_stage_allow_timesheet.field_project_task_type__allow_timesheet
msgid "Allow timesheets"
msgstr ""

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

#. module: project_task_stage_allow_timesheet
#: model:ir.model.fields,field_description:project_task_stage_allow_timesheet.field_account_analytic_line__task_id
#: model:ir.model.fields,field_description:project_task_stage_allow_timesheet.field_hr_timesheet_switch__task_id
msgid "Task"
msgstr ""

#. module: project_task_stage_allow_timesheet
#: model:ir.model,name:project_task_stage_allow_timesheet.model_project_task_type
msgid "Task Stage"
msgstr ""

#. module: project_task_stage_allow_timesheet
#: code:addons/project_task_stage_allow_timesheet/models/account_analytic_line.py:23
#, python-format
msgid "You can't link a timesheet line to a task if its stage doesn't allow it. (Task: %s, Stage: %s)"
msgstr ""

4 changes: 4 additions & 0 deletions project_task_stage_allow_timesheet/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

from . import account_analytic_line
from . import project_task_type
Loading

0 comments on commit a5776f6

Please sign in to comment.