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

[16.0][MIG] hr_timesheet_task_required #567

Merged
merged 58 commits into from
May 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
1e068dc
[ADD] Add hr_timesheet_task_required module
adrienpeiffer Sep 14, 2016
1b2e727
[UPD] fix website url in manifest
sbidoul Mar 12, 2017
8810b39
[10.0][MIG] hr_timesheet_task_required
benwillig Jul 6, 2017
e2e7b6f
[11.0][MIG] hr_timesheet_task_required migration
benwillig Feb 21, 2018
ee9702b
OCA Transbot updated translations from Transifex
oca-transbot May 5, 2018
7853bb5
[UPD] Update hr_timesheet_task_required.pot
oca-travis Jun 18, 2018
e06b04f
[FIX] hr_timesheet_task_required: 'position' instead of 'poistion'
alexey-pelykh Dec 10, 2018
d86d500
[MIG] hr_timesheet_task_required: Migration to 12.0
alexey-pelykh Dec 10, 2018
c049255
[IMP] hr_timesheet_task_required: configurable
alexey-pelykh Feb 9, 2019
99f9ecc
[UPD] README.rst
OCA-git-bot Feb 9, 2019
54a5f74
[UPD] Update hr_timesheet_task_required.pot
oca-travis Feb 9, 2019
08f8d41
[FIX] hr_timesheet_task_required: do not require task by default
alexey-pelykh Feb 12, 2019
10b815e
[UPD] Update hr_timesheet_task_required.pot
oca-travis Feb 15, 2019
1744f54
[FIX] hr_timesheet_task_required: warning on hr_timesheet_task_required
alexey-pelykh Feb 19, 2019
4bceeff
[UPD] Update hr_timesheet_task_required.pot
oca-travis Feb 19, 2019
9e9e5a8
Update translation files
oca-transbot Mar 3, 2019
04fdddd
[FIX] hr_timesheet_task_required: don't rely on text()
alexey-pelykh Mar 23, 2019
e6a1000
Added translation using Weblate (Dutch)
Mar 23, 2019
cb06dd3
Translated using Weblate (Dutch)
Mar 23, 2019
87f554c
[IMP] hr_timesheet_task_required: note about multi-company setting
alexey-pelykh Mar 25, 2019
664b043
[UPD] Update hr_timesheet_task_required.pot
oca-travis Mar 26, 2019
c94f8da
Added translation using Weblate (Dutch)
Apr 18, 2019
3f0c3c4
[UPD] README.rst
OCA-git-bot May 2, 2019
d5aab23
Update translation files
oca-transbot May 20, 2019
368e9e8
Added translation using Weblate (German)
marylla Jul 10, 2019
bafd072
Translated using Weblate (German)
marylla Jul 11, 2019
9611642
Translated using Weblate (German)
marylla Jul 12, 2019
2d2c8a4
[UPD] README.rst
OCA-git-bot Jul 29, 2019
208d462
[UPD] Update hr_timesheet_task_required.pot
oca-travis Oct 11, 2019
1920d62
Update translation files
oca-transbot Oct 11, 2019
667012f
[IMP] hr_timesheet_task_required: black, isort
Saran440 Feb 3, 2020
9e9ea9c
[13.0][MIG] hr_timesheet_task_required
Saran440 Feb 3, 2020
955ed7b
[UPD] Update hr_timesheet_task_required.pot
oca-travis Mar 24, 2020
7591e3a
Update translation files
oca-transbot Apr 7, 2020
0485146
[UPD] Update hr_timesheet_task_required.pot
oca-travis Sep 29, 2020
240c0c1
Update translation files
oca-transbot Sep 29, 2020
a4ca8e9
[UPD] Brainbean Apps => CorporateHub
alexey-pelykh Nov 8, 2020
2d277e4
[UPD] README.rst
OCA-git-bot Nov 8, 2020
a79e287
[14.0][MIG]hr_timesheet_task_required
fshah-initos Mar 8, 2021
69108d6
[UPD] Update hr_timesheet_task_required.pot
oca-travis Apr 1, 2021
d5f901e
[UPD] README.rst
OCA-git-bot Apr 1, 2021
08618ca
Added translation using Weblate (French (France))
Yvesldff Apr 11, 2021
cfbfcfc
Translated using Weblate (French (France))
Yvesldff Apr 11, 2021
eb0a9b7
Translated using Weblate (Dutch)
bosd Apr 18, 2021
a9f83ae
Translated using Weblate (French)
Yvesldff May 14, 2021
3dcddba
[UPD] Update hr_timesheet_task_required.pot
oca-travis Oct 11, 2021
5af41d2
Update translation files
oca-transbot Oct 11, 2021
f6b1dcd
Added translation using Weblate (Spanish)
dalonsod Dec 11, 2021
fcdd527
Translated using Weblate (Spanish)
dalonsod Dec 11, 2021
a728c33
[IMP] hr_timesheet_task_required: black, isort, prettier
houssine78 Mar 10, 2022
a6cb410
[15.0][MIG] hr_timesheet_task_required: Migration to 15.0
houssine78 Apr 19, 2022
d6876d9
[UPD] Update hr_timesheet_task_required.pot
Jun 29, 2022
67b0544
[UPD] README.rst
OCA-git-bot Jun 29, 2022
e06b7ec
Translated using Weblate (French)
vincent-hatakeyama Oct 5, 2022
b2b25ce
Added translation using Weblate (Italian)
mymage Jan 10, 2023
8bcbd81
Translated using Weblate (Italian)
mymage Jan 10, 2023
f283bb8
[IMP] hr_timesheet_task_required: black, isort, prettier
Feb 15, 2023
dc1c24b
[15.0][MIG] hr_timesheet_task_required: Migration to 16.0
Feb 15, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
98 changes: 98 additions & 0 deletions hr_timesheet_task_required/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
==========================
Hr Timesheet Task Required
==========================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! 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_required
: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_task_required
: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 configure project as having task on timesheet as a
mandatory field.

**Table of contents**

.. contents::
:local:

Configuration
=============

To make task selection mandatory on project's timesheets:

# Go to *Project > Projects* and edit the project
# Enable timesheets by checking *Timesheets*
# Make task selection mandatory by checking *Require Tasks on Timesheets*

Default setting can be changed at company level:

# Go to *Project > Configuration > Settings*
# Make task selection mandatory for new projects by checking *Require Tasks on Timesheets*

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_required%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
~~~~~~~

* ACSONE SA/NV
* CorporateHub

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

* Adrien Peiffer <adrien.peiffer@acsone.eu>
* Laurent Mignon <laurent.mignon@acsone.eu>
* Benjamin Willig <benjamin.willig@acsone.eu>
* `CorporateHub <https://corporatehub.eu/>`__

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

* Saran Lim. <saranl@ecosoft.co.th>
* Foram Shah <foram.shah@initos.com>
* Houssine Bakkali <houssine.bakkali@eezee-it.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_required>`_ 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_required/__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).

from . import models
20 changes: 20 additions & 0 deletions hr_timesheet_task_required/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2016-2017 ACSONE SA/NV
# Copyright 2018-2019 Brainbean Apps (https://brainbeanapps.com)
# Copyright 2020 CorporateHub (https://corporatehub.eu)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

{
"name": "Hr Timesheet Task Required",
"summary": """
Set task on timesheet as a mandatory field""",
"version": "16.0.1.0.0",
"license": "AGPL-3",
"author": "ACSONE SA/NV, CorporateHub, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/timesheet",
"depends": ["hr_timesheet"],
"data": [
"views/account_analytic_line.xml",
"views/project_project.xml",
"views/res_config_settings.xml",
],
}
98 changes: 98 additions & 0 deletions hr_timesheet_task_required/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_timesheet_task_required
#
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_required
#: model_terms:ir.ui.view,arch_db:hr_timesheet_task_required.res_config_settings_view_form
msgid ""
"<span class=\"fa fa-lg fa-building-o\" title=\"Values set here are company-"
"specific.\" role=\"img\" aria-label=\"Values set here are company-specific."
"\" groups=\"base.group_multi_company\"/>"
msgstr ""
"<span class=\"fa fa-lg fa-building-o\" title=\"Die hier gesetzten Werte sind "
"firmenspezifisch.\" role=\"img\" aria-label=\"Die hier gesetzten Werte sind "
"firmenspezifisch.\" groups=\"base.group_multi_company\"/>"

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

#. module: hr_timesheet_task_required
#: model:ir.model,name:hr_timesheet_task_required.model_res_company
msgid "Companies"
msgstr "Unternehmen"

#. module: hr_timesheet_task_required
#: model:ir.model,name:hr_timesheet_task_required.model_res_config_settings
msgid "Config Settings"
msgstr "Konfigurationseinstellungen"

#. module: hr_timesheet_task_required
#: model:ir.model.fields,field_description:hr_timesheet_task_required.field_account_analytic_line__display_name
#: model:ir.model.fields,field_description:hr_timesheet_task_required.field_project_project__display_name
#: model:ir.model.fields,field_description:hr_timesheet_task_required.field_res_company__display_name
#: model:ir.model.fields,field_description:hr_timesheet_task_required.field_res_config_settings__display_name
msgid "Display Name"
msgstr ""

#. module: hr_timesheet_task_required
#: model:ir.model.fields,field_description:hr_timesheet_task_required.field_account_analytic_line__id
#: model:ir.model.fields,field_description:hr_timesheet_task_required.field_project_project__id
#: model:ir.model.fields,field_description:hr_timesheet_task_required.field_res_company__id
#: model:ir.model.fields,field_description:hr_timesheet_task_required.field_res_config_settings__id
msgid "ID"
msgstr ""

#. module: hr_timesheet_task_required
#: model:ir.model.fields,field_description:hr_timesheet_task_required.field_account_analytic_line__is_task_required
#: model:ir.model.fields,field_description:hr_timesheet_task_required.field_hr_timesheet_switch__is_task_required
msgid "Is Task Required"
msgstr "Aufgabe ist obligatorisch"

#. module: hr_timesheet_task_required
#: model:ir.model.fields,field_description:hr_timesheet_task_required.field_account_analytic_line____last_update
#: model:ir.model.fields,field_description:hr_timesheet_task_required.field_project_project____last_update
#: model:ir.model.fields,field_description:hr_timesheet_task_required.field_res_company____last_update
#: model:ir.model.fields,field_description:hr_timesheet_task_required.field_res_config_settings____last_update
msgid "Last Modified on"
msgstr ""

#. module: hr_timesheet_task_required
#: model:ir.model,name:hr_timesheet_task_required.model_project_project
msgid "Project"
msgstr "Projekt"

#. module: hr_timesheet_task_required
#: model:ir.model.fields,field_description:hr_timesheet_task_required.field_project_project__is_timesheet_task_required
#: model:ir.model.fields,field_description:hr_timesheet_task_required.field_res_company__is_timesheet_task_required
#: model:ir.model.fields,field_description:hr_timesheet_task_required.field_res_config_settings__is_timesheet_task_required
msgid "Require Tasks on Timesheets"
msgstr "Aufgaben bei Zeiterfassung obligatorisch"

#. module: hr_timesheet_task_required
#: model_terms:ir.ui.view,arch_db:hr_timesheet_task_required.res_config_settings_view_form
msgid "Require task selection on each timesheet entry by default"
msgstr ""
"Wenn der Haken gesetzt ist, muss bei der Zeiterfassung eine Aufgabe "
"eingetragen werden."

#. module: hr_timesheet_task_required
#: code:addons/hr_timesheet_task_required/models/account_analytic_line.py:0
#, python-format
msgid "You must specify a task for timesheet lines."
msgstr "F??r Zeiterfassungen muss eine Aufgabe eingetragen werden."
98 changes: 98 additions & 0 deletions hr_timesheet_task_required/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_timesheet_task_required
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2021-12-11 09:39+0000\n"
"Last-Translator: David Alonso (Solvos) <david.alonso@solvos.es>\n"
"Language-Team: none\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 4.3.2\n"

#. module: hr_timesheet_task_required
#: model_terms:ir.ui.view,arch_db:hr_timesheet_task_required.res_config_settings_view_form
msgid ""
"<span class=\"fa fa-lg fa-building-o\" title=\"Values set here are company-"
"specific.\" role=\"img\" aria-label=\"Values set here are company-"
"specific.\" groups=\"base.group_multi_company\"/>"
msgstr ""
"<span class=\"fa fa-lg fa-building-o\" title=\"Los valores aqu?? establecidos "
"son propios de cada empresa.\" role=\"img\" aria-label=\"Los valores aqu?? "
"establecidos son propios de cada empresa.\" groups=\"base."
"group_multi_company\"/>"

#. module: hr_timesheet_task_required
#: model:ir.model,name:hr_timesheet_task_required.model_account_analytic_line
msgid "Analytic Line"
msgstr "L??nea de cuenta anal??tica"

#. module: hr_timesheet_task_required
#: model:ir.model,name:hr_timesheet_task_required.model_res_company
msgid "Companies"
msgstr "Empresas"

#. module: hr_timesheet_task_required
#: model:ir.model,name:hr_timesheet_task_required.model_res_config_settings
msgid "Config Settings"
msgstr "Par??metros de configuraci??n"

#. module: hr_timesheet_task_required
#: model:ir.model.fields,field_description:hr_timesheet_task_required.field_account_analytic_line__display_name
#: model:ir.model.fields,field_description:hr_timesheet_task_required.field_project_project__display_name
#: model:ir.model.fields,field_description:hr_timesheet_task_required.field_res_company__display_name
#: model:ir.model.fields,field_description:hr_timesheet_task_required.field_res_config_settings__display_name
msgid "Display Name"
msgstr "Nombre a mostrar"

#. module: hr_timesheet_task_required
#: model:ir.model.fields,field_description:hr_timesheet_task_required.field_account_analytic_line__id
#: model:ir.model.fields,field_description:hr_timesheet_task_required.field_project_project__id
#: model:ir.model.fields,field_description:hr_timesheet_task_required.field_res_company__id
#: model:ir.model.fields,field_description:hr_timesheet_task_required.field_res_config_settings__id
msgid "ID"
msgstr "Id."

#. module: hr_timesheet_task_required
#: model:ir.model.fields,field_description:hr_timesheet_task_required.field_account_analytic_line__is_task_required
#: model:ir.model.fields,field_description:hr_timesheet_task_required.field_hr_timesheet_switch__is_task_required
msgid "Is Task Required"
msgstr "La tarea es requerida"

#. module: hr_timesheet_task_required
#: model:ir.model.fields,field_description:hr_timesheet_task_required.field_account_analytic_line____last_update
#: model:ir.model.fields,field_description:hr_timesheet_task_required.field_project_project____last_update
#: model:ir.model.fields,field_description:hr_timesheet_task_required.field_res_company____last_update
#: model:ir.model.fields,field_description:hr_timesheet_task_required.field_res_config_settings____last_update
msgid "Last Modified on"
msgstr "??lt. modif. en"

#. module: hr_timesheet_task_required
#: model:ir.model,name:hr_timesheet_task_required.model_project_project
msgid "Project"
msgstr "Proyecto"

#. module: hr_timesheet_task_required
#: model:ir.model.fields,field_description:hr_timesheet_task_required.field_project_project__is_timesheet_task_required
#: model:ir.model.fields,field_description:hr_timesheet_task_required.field_res_company__is_timesheet_task_required
#: model:ir.model.fields,field_description:hr_timesheet_task_required.field_res_config_settings__is_timesheet_task_required
msgid "Require Tasks on Timesheets"
msgstr "Requiere tarea en partes de horas"

#. module: hr_timesheet_task_required
#: model_terms:ir.ui.view,arch_db:hr_timesheet_task_required.res_config_settings_view_form
msgid "Require task selection on each timesheet entry by default"
msgstr ""
"Requiere por defecto selecci??n de tarea en cada entrada de partes de horas"

#. module: hr_timesheet_task_required
#: code:addons/hr_timesheet_task_required/models/account_analytic_line.py:0
#, python-format
msgid "You must specify a task for timesheet lines."
msgstr "Se debe especificar una tarea para los partes de horas."
Loading