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_required #478

Merged
merged 51 commits into from
Jun 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
3a1c803
[ADD] Add hr_timesheet_task_required module
adrienpeiffer Sep 14, 2016
84ca9f5
[UPD] fix website url in manifest
sbidoul Mar 12, 2017
da2daa7
[10.0][MIG] hr_timesheet_task_required
benwillig Jul 6, 2017
4dd83f6
[11.0][MIG] hr_timesheet_task_required migration
benwillig Feb 21, 2018
022f905
OCA Transbot updated translations from Transifex
oca-transbot May 5, 2018
d3e2da0
[UPD] Update hr_timesheet_task_required.pot
oca-travis Jun 18, 2018
2340c1f
[FIX] hr_timesheet_task_required: 'position' instead of 'poistion'
alexey-pelykh Dec 10, 2018
a80e762
[MIG] hr_timesheet_task_required: Migration to 12.0
alexey-pelykh Dec 10, 2018
1505c15
[IMP] hr_timesheet_task_required: configurable
alexey-pelykh Feb 9, 2019
75b9bae
[UPD] README.rst
OCA-git-bot Feb 9, 2019
4a83a2d
[UPD] Update hr_timesheet_task_required.pot
oca-travis Feb 9, 2019
1fa00ed
[FIX] hr_timesheet_task_required: do not require task by default
alexey-pelykh Feb 12, 2019
4b0303f
[UPD] Update hr_timesheet_task_required.pot
oca-travis Feb 15, 2019
ae6eafa
[FIX] hr_timesheet_task_required: warning on hr_timesheet_task_required
alexey-pelykh Feb 19, 2019
b06be20
[UPD] Update hr_timesheet_task_required.pot
oca-travis Feb 19, 2019
71dc0b6
Update translation files
oca-transbot Mar 3, 2019
13b765e
[FIX] hr_timesheet_task_required: don't rely on text()
alexey-pelykh Mar 23, 2019
2210405
Added translation using Weblate (Dutch)
Mar 23, 2019
288ab0a
Translated using Weblate (Dutch)
Mar 23, 2019
0b19a99
[IMP] hr_timesheet_task_required: note about multi-company setting
alexey-pelykh Mar 25, 2019
19755da
[UPD] Update hr_timesheet_task_required.pot
oca-travis Mar 26, 2019
f73499f
Added translation using Weblate (Dutch)
Apr 18, 2019
783e5d2
[UPD] README.rst
OCA-git-bot May 2, 2019
9ded08a
Update translation files
oca-transbot May 20, 2019
bf725ea
Added translation using Weblate (German)
marylla Jul 10, 2019
7a95fa1
Translated using Weblate (German)
marylla Jul 11, 2019
32f65e8
Translated using Weblate (German)
marylla Jul 12, 2019
3d0fda9
[UPD] README.rst
OCA-git-bot Jul 29, 2019
0d31c4e
[UPD] Update hr_timesheet_task_required.pot
oca-travis Oct 11, 2019
93b9b06
Update translation files
oca-transbot Oct 11, 2019
095d611
[IMP] hr_timesheet_task_required: black, isort
Saran440 Feb 3, 2020
78f2b16
[13.0][MIG] hr_timesheet_task_required
Saran440 Feb 3, 2020
e552fa8
[UPD] Update hr_timesheet_task_required.pot
oca-travis Mar 24, 2020
d4f9cb1
Update translation files
oca-transbot Apr 7, 2020
c5293ed
[UPD] Update hr_timesheet_task_required.pot
oca-travis Sep 29, 2020
964c839
Update translation files
oca-transbot Sep 29, 2020
9e1d4fa
[UPD] Brainbean Apps => CorporateHub
alexey-pelykh Nov 8, 2020
eccca02
[UPD] README.rst
OCA-git-bot Nov 8, 2020
127798c
[14.0][MIG]hr_timesheet_task_required
fshah-initos Mar 8, 2021
13cd4e1
[UPD] Update hr_timesheet_task_required.pot
oca-travis Apr 1, 2021
81a573f
[UPD] README.rst
OCA-git-bot Apr 1, 2021
6899fe0
Added translation using Weblate (French (France))
Yvesldff Apr 11, 2021
5c5e4f6
Translated using Weblate (French (France))
Yvesldff Apr 11, 2021
1adda07
Translated using Weblate (Dutch)
bosd Apr 18, 2021
a4dd38c
Translated using Weblate (French)
Yvesldff May 14, 2021
7ab1a59
[UPD] Update hr_timesheet_task_required.pot
oca-travis Oct 11, 2021
1c53209
Update translation files
oca-transbot Oct 11, 2021
4615df6
Added translation using Weblate (Spanish)
dalonsod Dec 11, 2021
6007574
Translated using Weblate (Spanish)
dalonsod Dec 11, 2021
c652178
[IMP] hr_timesheet_task_required: black, isort, prettier
houssine78 Mar 10, 2022
b89376f
[15.0][MIG] hr_timesheet_task_required: Migration to 15.0
houssine78 Apr 19, 2022
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
97 changes: 97 additions & 0 deletions hr_timesheet_task_required/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
==========================
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>

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": "15.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