Skip to content

Commit

Permalink
Merge PR #566 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed May 24, 2023
2 parents aacd379 + 8e8268f commit ff5247b
Show file tree
Hide file tree
Showing 24 changed files with 1,319 additions and 0 deletions.
83 changes: 83 additions & 0 deletions hr_timesheet_begin_end/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
===========================
Timesheet - Begin/End Hours
===========================

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

Adds starting and ending hours fields on the timesheet activities.

**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_begin_end%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
~~~~~~~

* Camptocamp
* Tecnativa

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

* Guewen Baconnier <guewen.baconnier@camptocamp.com>
* `Tecnativa <https://www.tecnativa.com>`_:

* Luis M. Ontalba
* Ernesto Tejeda

* `Onestein <https://www.onestein.eu>`_:

* Andrea Stirpe
* Sunanda Chhatbar <sunanda.chhatbar@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_begin_end>`_ 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_begin_end/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html

from . import models
16 changes: 16 additions & 0 deletions hr_timesheet_begin_end/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright 2015 Camptocamp SA - Guewen Baconnier
# Copyright 2017 Tecnativa, S.L. - Luis M. Ontalba
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html

{
"name": "Timesheet - Begin/End Hours",
"version": "16.0.1.0.0",
"author": "Camptocamp, Tecnativa, Odoo Community Association (OCA)",
"license": "AGPL-3",
"category": "Human Resources",
"depends": ["hr_timesheet"],
"website": "https://github.com/OCA/timesheet",
"data": ["views/hr_analytic_timesheet.xml", "views/project_task.xml"],
"installable": True,
"auto_install": False,
}
61 changes: 61 additions & 0 deletions hr_timesheet_begin_end/i18n/cs_CZ.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_timesheet_begin_end
#
# Translators:
# Lukáš Spurný <lukasspurny8@gmail.com>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-02-23 01:55+0000\n"
"PO-Revision-Date: 2018-02-23 01:55+0000\n"
"Last-Translator: Lukáš Spurný <lukasspurny8@gmail.com>, 2018\n"
"Language-Team: Czech (Czech Republic) (https://www.transifex.com/oca/"
"teams/23907/cs_CZ/)\n"
"Language: cs_CZ\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"

#. module: hr_timesheet_begin_end
#: model:ir.model,name:hr_timesheet_begin_end.model_account_analytic_line
msgid "Analytic Line"
msgstr "Analytická linka"

#. module: hr_timesheet_begin_end
#: model:ir.model.fields,field_description:hr_timesheet_begin_end.field_account_analytic_line__time_start
msgid "Begin Hour"
msgstr "Počátek hodiny"

#. module: hr_timesheet_begin_end
#: model:ir.model.fields,field_description:hr_timesheet_begin_end.field_account_analytic_line__time_stop
msgid "End Hour"
msgstr "Koncová hodina"

#. module: hr_timesheet_begin_end
#: code:addons/hr_timesheet_begin_end/models/account_analytic_line.py:0
#, python-format
msgid "Lines can't overlap:\n"
msgstr "Linky se nemohou překrývat:\n"

#. module: hr_timesheet_begin_end
#: code:addons/hr_timesheet_begin_end/models/account_analytic_line.py:0
#, python-format
msgid ""
"The beginning hour (%(html_start)s) must precede the ending hour "
"(%(html_stop)s)."
msgstr ""
"Počáteční hodina (%(html_start)s) musí předcházet koncovou hodinu "
"(%(html_stop)s)."

#. module: hr_timesheet_begin_end
#: code:addons/hr_timesheet_begin_end/models/account_analytic_line.py:0
#, python-format
msgid ""
"The duration (%(html_unit_amount)s) must be equal to the difference between "
"the hours (%(html_hours)s)."
msgstr ""
"Doba trvání (%(html_unit_amount)s) musí být rovna rozdílu mezi hodinami "
"(%(html_hours)s)."
57 changes: 57 additions & 0 deletions hr_timesheet_begin_end/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_timesheet_begin_end
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2019-07-11 12: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_begin_end
#: model:ir.model,name:hr_timesheet_begin_end.model_account_analytic_line
msgid "Analytic Line"
msgstr "Kostenstellenbuchung"

#. module: hr_timesheet_begin_end
#: model:ir.model.fields,field_description:hr_timesheet_begin_end.field_account_analytic_line__time_start
msgid "Begin Hour"
msgstr "Startzeit"

#. module: hr_timesheet_begin_end
#: model:ir.model.fields,field_description:hr_timesheet_begin_end.field_account_analytic_line__time_stop
msgid "End Hour"
msgstr "Endzeit"

#. module: hr_timesheet_begin_end
#: code:addons/hr_timesheet_begin_end/models/account_analytic_line.py:0
#, python-format
msgid "Lines can't overlap:\n"
msgstr "Die Zeilen dürfen sich nicht überschneiden:\n"

#. module: hr_timesheet_begin_end
#: code:addons/hr_timesheet_begin_end/models/account_analytic_line.py:0
#, python-format
msgid ""
"The beginning hour (%(html_start)s) must precede the ending hour "
"(%(html_stop)s)."
msgstr ""
"Die Startzeit (%(html_start)s) muss vor der Endzeit (%(html_stop)s) liegen."

#. module: hr_timesheet_begin_end
#: code:addons/hr_timesheet_begin_end/models/account_analytic_line.py:0
#, python-format
msgid ""
"The duration (%(html_unit_amount)s) must be equal to the difference between "
"the hours (%(html_hours)s)."
msgstr ""
"Die Dauer (%(html_unit_amount)s) muss gleich der Differenz zwischen den "
"Stunden (%(html_hours)s) sein."
61 changes: 61 additions & 0 deletions hr_timesheet_begin_end/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_timesheet_begin_end
#
# Translators:
# enjolras <yo@miguelrevilla.com>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-03-17 05:23+0000\n"
"PO-Revision-Date: 2019-02-01 16:03+0000\n"
"Last-Translator: Marta Vázquez Rodríguez <vazrodmar@gmail.com>\n"
"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n"
"Language: es\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.4\n"

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

#. module: hr_timesheet_begin_end
#: model:ir.model.fields,field_description:hr_timesheet_begin_end.field_account_analytic_line__time_start
msgid "Begin Hour"
msgstr "Hora de inicio"

#. module: hr_timesheet_begin_end
#: model:ir.model.fields,field_description:hr_timesheet_begin_end.field_account_analytic_line__time_stop
msgid "End Hour"
msgstr "Hora de finalización"

#. module: hr_timesheet_begin_end
#: code:addons/hr_timesheet_begin_end/models/account_analytic_line.py:0
#, python-format
msgid "Lines can't overlap:\n"
msgstr "Las líneas no pueden solaparse:\n"

#. module: hr_timesheet_begin_end
#: code:addons/hr_timesheet_begin_end/models/account_analytic_line.py:0
#, python-format
msgid ""
"The beginning hour (%(html_start)s) must precede the ending hour "
"(%(html_stop)s)."
msgstr ""
"La hora de inicio (%(html_start)s) debe preceder a la hora final "
"(%(html_stop)s)."

#. module: hr_timesheet_begin_end
#: code:addons/hr_timesheet_begin_end/models/account_analytic_line.py:0
#, python-format
msgid ""
"The duration (%(html_unit_amount)s) must be equal to the difference between "
"the hours (%(html_hours)s)."
msgstr ""
"La duración (%(html_unit_amount)s) debe ser igual a la diferencia entre las "
"horas (%(html_hours)s)."
60 changes: 60 additions & 0 deletions hr_timesheet_begin_end/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_timesheet_begin_end
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-08-18 00:44+0000\n"
"PO-Revision-Date: 2017-08-18 00:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n"
"Language: fr\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"

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

#. module: hr_timesheet_begin_end
#: model:ir.model.fields,field_description:hr_timesheet_begin_end.field_account_analytic_line__time_start
msgid "Begin Hour"
msgstr "Heure de début"

#. module: hr_timesheet_begin_end
#: model:ir.model.fields,field_description:hr_timesheet_begin_end.field_account_analytic_line__time_stop
msgid "End Hour"
msgstr "Heure de fin"

#. module: hr_timesheet_begin_end
#: code:addons/hr_timesheet_begin_end/models/account_analytic_line.py:0
#, python-format
msgid "Lines can't overlap:\n"
msgstr "Les lignes ne peuvent pas se chevaucher :\n"

#. module: hr_timesheet_begin_end
#: code:addons/hr_timesheet_begin_end/models/account_analytic_line.py:0
#, python-format
msgid ""
"The beginning hour (%(html_start)s) must precede the ending hour "
"(%(html_stop)s)."
msgstr ""
"L'heure de début (%(html_start)s) doit précéder l'heure de fin "
"(%(html_stop)s)."

#. module: hr_timesheet_begin_end
#: code:addons/hr_timesheet_begin_end/models/account_analytic_line.py:0
#, python-format
msgid ""
"The duration (%(html_unit_amount)s) must be equal to the difference between "
"the hours (%(html_hours)s)."
msgstr ""
"La durée (%(html_unit_amount)s) doit être égale à la différence entre les "
"heures (%(html_hours)s)."
51 changes: 51 additions & 0 deletions hr_timesheet_begin_end/i18n/hr_timesheet_begin_end.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_timesheet_begin_end
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.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: hr_timesheet_begin_end
#: model:ir.model,name:hr_timesheet_begin_end.model_account_analytic_line
msgid "Analytic Line"
msgstr ""

#. module: hr_timesheet_begin_end
#: model:ir.model.fields,field_description:hr_timesheet_begin_end.field_account_analytic_line__time_start
msgid "Begin Hour"
msgstr ""

#. module: hr_timesheet_begin_end
#: model:ir.model.fields,field_description:hr_timesheet_begin_end.field_account_analytic_line__time_stop
msgid "End Hour"
msgstr ""

#. module: hr_timesheet_begin_end
#: code:addons/hr_timesheet_begin_end/models/account_analytic_line.py:0
#, python-format
msgid "Lines can't overlap:\n"
msgstr ""

#. module: hr_timesheet_begin_end
#: code:addons/hr_timesheet_begin_end/models/account_analytic_line.py:0
#, python-format
msgid ""
"The beginning hour (%(html_start)s) must precede the ending hour "
"(%(html_stop)s)."
msgstr ""

#. module: hr_timesheet_begin_end
#: code:addons/hr_timesheet_begin_end/models/account_analytic_line.py:0
#, python-format
msgid ""
"The duration (%(html_unit_amount)s) must be equal to the difference between "
"the hours (%(html_hours)s)."
msgstr ""
Loading

0 comments on commit ff5247b

Please sign in to comment.