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

[18.0][MIG] hr_timesheet_task_required: Migration to 18.0 #730

Open
wants to merge 34 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
cf81ff0
[ADD] Add hr_timesheet_task_required module
adrienpeiffer Sep 14, 2016
cf32f7b
[UPD] fix website url in manifest
sbidoul Mar 12, 2017
6b96e2b
[10.0][MIG] hr_timesheet_task_required
benwillig Jul 6, 2017
edb65f6
[11.0][MIG] hr_timesheet_task_required migration
benwillig Feb 21, 2018
66f6ab2
[FIX] hr_timesheet_task_required: 'position' instead of 'poistion'
alexey-pelykh Dec 10, 2018
094ad1f
[MIG] hr_timesheet_task_required: Migration to 12.0
alexey-pelykh Dec 10, 2018
cbb083a
[IMP] hr_timesheet_task_required: configurable
alexey-pelykh Feb 9, 2019
2f2eb82
[FIX] hr_timesheet_task_required: do not require task by default
alexey-pelykh Feb 12, 2019
b957e8f
[FIX] hr_timesheet_task_required: warning on hr_timesheet_task_required
alexey-pelykh Feb 19, 2019
3debca0
[FIX] hr_timesheet_task_required: don't rely on text()
alexey-pelykh Mar 23, 2019
0149e51
Added translation using Weblate (Dutch)
Mar 23, 2019
dd95440
[IMP] hr_timesheet_task_required: note about multi-company setting
alexey-pelykh Mar 25, 2019
cf034a7
Added translation using Weblate (Dutch)
Apr 18, 2019
a804cb6
Added translation using Weblate (German)
marylla Jul 10, 2019
a101f7a
[IMP] hr_timesheet_task_required: black, isort
Saran440 Feb 3, 2020
8b3e5bf
[13.0][MIG] hr_timesheet_task_required
Saran440 Feb 3, 2020
95caefd
[UPD] Brainbean Apps => CorporateHub
alexey-pelykh Nov 8, 2020
ae23fd0
[14.0][MIG]hr_timesheet_task_required
fshah-initos Mar 8, 2021
4970a4f
Added translation using Weblate (French (France))
Yvesldff Apr 11, 2021
09e80f0
Translated using Weblate (Dutch)
bosd Apr 18, 2021
1d592e9
Translated using Weblate (French)
Yvesldff May 14, 2021
6315e42
Added translation using Weblate (Spanish)
dalonsod Dec 11, 2021
4efae45
[IMP] hr_timesheet_task_required: black, isort, prettier
houssine78 Mar 10, 2022
03864ef
[15.0][MIG] hr_timesheet_task_required: Migration to 15.0
houssine78 Apr 19, 2022
67a6101
Translated using Weblate (French)
vincent-hatakeyama Oct 5, 2022
8e66427
Added translation using Weblate (Italian)
mymage Jan 10, 2023
9ac34b9
[15.0][MIG] hr_timesheet_task_required: Migration to 16.0
Feb 15, 2023
b0bc68e
Translated using Weblate (Italian)
mymage May 25, 2023
e23c8b7
Translated using Weblate (Spanish)
Ivorra78 Aug 27, 2023
8406254
Added translation using Weblate (Portuguese (Brazil))
adrianojprado Oct 27, 2023
7872480
[IMP] hr_timesheet_task_required: black, isort, prettier
Feb 26, 2024
8feb44b
[17.0][MIG] hr_timesheet_task_required
Feb 27, 2024
a8da6bd
[FIX]hr_timesheet_task_required: typo
mymage Mar 4, 2024
7d10846
[MIG] hr_timesheet_task_required: Migration to 18.0
HeliconiaSolutions Jan 2, 2025
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
104 changes: 104 additions & 0 deletions hr_timesheet_task_required/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
==========================
Hr Timesheet Task Required
==========================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:f8501c73ef6470fdc79a7a9a6b2e05c513be62054670b2e2840f061a009c2fdb
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/18.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-18-0/timesheet-18-0-hr_timesheet_task_required
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/timesheet&target_branch=18.0
:alt: Try me on Runboat

|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 to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/timesheet/issues/new?body=module:%20hr_timesheet_task_required%0Aversion:%2018.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>
- `Heliconia Solutions Pvt. Ltd. <https://www.heliconia.io>`__

- Bhavesh Heliconia

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/18.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": "18.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",
],
}
77 changes: 77 additions & 0 deletions hr_timesheet_task_required/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
# 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: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__is_task_required
msgid "Is Task Required"
msgstr "Aufgabe ist obligatorisch"

#. 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
#: model_terms:ir.ui.view,arch_db:hr_timesheet_task_required.project_invoice_form
msgid "Set tasks on timesheet as a mandatory field"
msgstr ""

#. module: hr_timesheet_task_required
#. odoo-python
#: 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."

#~ 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\"/>"
86 changes: 86 additions & 0 deletions hr_timesheet_task_required/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
# 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: 2023-09-03 05:14+0000\n"
"Last-Translator: Ivorra78 <informatica@totmaterial.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.17\n"

#. 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__is_task_required
msgid "Is Task Required"
msgstr "La tarea es requerida"

#. 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
#: model_terms:ir.ui.view,arch_db:hr_timesheet_task_required.project_invoice_form
msgid "Set tasks on timesheet as a mandatory field"
msgstr "Establecer tareas en la hoja de horas como campo obligatorio"

#. module: hr_timesheet_task_required
#. odoo-python
#: 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."

#~ 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\"/>"

#~ msgid "Display Name"
#~ msgstr "Nombre a mostrar"

#~ msgid "ID"
#~ msgstr "Id."

#~ msgid "Last Modified on"
#~ msgstr "??lt. modif. en"
89 changes: 89 additions & 0 deletions hr_timesheet_task_required/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_timesheet_task_required
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-05-02 02:56+0000\n"
"PO-Revision-Date: 2022-10-05 15:29+0000\n"
"Last-Translator: Vincent Hatakeyama <vincent+github@hatakeyama.fr>\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"
"X-Generator: Weblate 4.3.2\n"

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

#. module: hr_timesheet_task_required
#: model:ir.model,name:hr_timesheet_task_required.model_res_company
msgid "Companies"
msgstr "Sociétés"

#. module: hr_timesheet_task_required
#: model:ir.model,name:hr_timesheet_task_required.model_res_config_settings
msgid "Config Settings"
msgstr "Paramètres de configuration"

#. module: hr_timesheet_task_required
#: model:ir.model.fields,field_description:hr_timesheet_task_required.field_account_analytic_line__is_task_required
msgid "Is Task Required"
msgstr "Tâche exigé"

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

#. 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 "Exiger des tâches sur les feuilles de temps"

#. 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 ""
"Exiger par défaut la sélection des tâches sur chaque entrée de feuille de "
"temps"

#. module: hr_timesheet_task_required
#: model_terms:ir.ui.view,arch_db:hr_timesheet_task_required.project_invoice_form
msgid "Set tasks on timesheet as a mandatory field"
msgstr ""

#. module: hr_timesheet_task_required
#. odoo-python
#: code:addons/hr_timesheet_task_required/models/account_analytic_line.py:0
#, python-format
msgid "You must specify a task for timesheet lines."
msgstr "Vous devez spécifier une tâche pour les lignes de feuilles de temps."

#~ 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=\"Les valeurs mises ici sont "
#~ "spécifiques à la société.\" role=\"img\" aria-label=\"Les valeurs mises "
#~ "ici sont spécifiques à la société.\" groups=\"base.group_multi_company\"/>"

#~ msgid "Display Name"
#~ msgstr "Nom affiché"

#~ msgid "ID"
#~ msgstr "Id."

#~ msgid "Last Modified on"
#~ msgstr "Dernière modification le"
Loading