Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
101 changes: 101 additions & 0 deletions hr_timesheet_sheet_autodraft/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

=============================
HR Timesheet Sheet Auto-draft
=============================

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

.. |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/license-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/19.0/hr_timesheet_sheet_autodraft
:alt: OCA/timesheet
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/timesheet-19-0/timesheet-19-0-hr_timesheet_sheet_autodraft
: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=19.0
:alt: Try me on Runboat

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

This module adds option to auto-draft Timesheet Sheets whenever a
Timesheet entry is created or modified to ensure it's covered by a
relevant Timesheet Sheet.

**Table of contents**

.. contents::
:local:

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

To enable auto-drafting:

# Go to *Timesheets > Configuration > Settings* # Enable **Auto-draft
Timesheet Sheets** under **Timesheet Options**

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_sheet_autodraft%0Aversion:%2019.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
-------

* CorporateHub

Contributors
------------

- `CorporateHub <https://corporatehub.eu/>`__

- Alexey Pelykh <alexey.pelykh@corphub.eu>
- Dhara Solanki <dhara.solanki@initos.com>

- `Innovara <https://innovara.tech>`__

- Manuel Fombuena <mfombuena@innovara.tech>

- `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/19.0/hr_timesheet_sheet_autodraft>`_ 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_sheet_autodraft/__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
20 changes: 20 additions & 0 deletions hr_timesheet_sheet_autodraft/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2020 Brainbean Apps (https://brainbeanapps.com)
# Copyright 2020 CorporateHub (https://corporatehub.eu)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

{
"name": "HR Timesheet Sheet Auto-draft",
"version": "19.0.1.0.0",
"category": "Human Resources",
"website": "https://github.com/OCA/timesheet",
"author": "CorporateHub, Odoo Community Association (OCA)",
"license": "AGPL-3",
"installable": True,
"application": False,
"summary": (
"Automatically draft a Timesheet Sheet for every time entry that does"
" not have a relevant Timesheet Sheet existing."
),
"depends": ["hr_timesheet_sheet"],
"data": ["views/account_analytic_line.xml", "views/res_config_settings.xml"],
}
54 changes: 54 additions & 0 deletions hr_timesheet_sheet_autodraft/i18n/hr_timesheet_sheet_autodraft.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_timesheet_sheet_autodraft
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 18.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_sheet_autodraft
#: model:ir.model,name:hr_timesheet_sheet_autodraft.model_account_analytic_line
msgid "Analytic Line"
msgstr ""

#. module: hr_timesheet_sheet_autodraft
#: model:ir.actions.server,name:hr_timesheet_sheet_autodraft.action_autodraft_timesheet_sheets
msgid "Auto-draft Timesheet Sheet(s)"
msgstr ""

#. module: hr_timesheet_sheet_autodraft
#: model:ir.model.fields,help:hr_timesheet_sheet_autodraft.field_res_config_settings__timesheet_sheets_autodraft
msgid ""
"Auto-draft Timesheet Sheets whenever a Timesheet entry is created or "
"modified to ensure it's covered by a relevant Timesheet Sheet"
msgstr ""

#. module: hr_timesheet_sheet_autodraft
#: model_terms:ir.ui.view,arch_db:hr_timesheet_sheet_autodraft.res_config_settings_view_form
msgid ""
"Auto-draft timesheet when an entry is created and no sheet covering this "
"period exists"
msgstr ""

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

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

#. module: hr_timesheet_sheet_autodraft
#: model:ir.model.fields,field_description:hr_timesheet_sheet_autodraft.field_res_company__timesheet_sheets_autodraft
#: model:ir.model.fields,field_description:hr_timesheet_sheet_autodraft.field_res_config_settings__timesheet_sheets_autodraft
msgid "Timesheet Sheets Auto-draft"
msgstr ""
85 changes: 85 additions & 0 deletions hr_timesheet_sheet_autodraft/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_timesheet_sheet_autodraft
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-01-12 09:44+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.14.1\n"

#. module: hr_timesheet_sheet_autodraft
#: model_terms:ir.ui.view,arch_db:hr_timesheet_sheet_autodraft.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=\"I valori impostati qui sono "
"specifici per azienda.\" role=\"img\" aria-label=\"I valori impostati qui "
"sono specifici per azienda.\" groups=\"base.group_multi_company\"/>"

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

#. module: hr_timesheet_sheet_autodraft
#: model:ir.actions.server,name:hr_timesheet_sheet_autodraft.action_autodraft_timesheet_sheets
msgid "Auto-draft Timesheet Sheet(s)"
msgstr "Compilazione automatica scheda(e) foglio ore"

#. module: hr_timesheet_sheet_autodraft
#: model_terms:ir.ui.view,arch_db:hr_timesheet_sheet_autodraft.res_config_settings_view_form
msgid "Auto-draft Timesheet Sheets"
msgstr "Compilazione automatica fogli scheda attività"

#. module: hr_timesheet_sheet_autodraft
#: model:ir.model.fields,help:hr_timesheet_sheet_autodraft.field_res_config_settings__timesheet_sheets_autodraft
msgid ""
"Auto-draft Timesheet Sheets whenever a Timesheet entry is created or "
"modified to ensure it's covered by a relevant Timesheet Sheet"
msgstr ""
"Compilazione automatica delle schede foglio ore ogni volta che una voce del "
"foglio ore viene creata o modificata per garantire che sia coperta da una "
"scheda del foglio ore pertinente"

#. module: hr_timesheet_sheet_autodraft
#: model_terms:ir.ui.view,arch_db:hr_timesheet_sheet_autodraft.res_config_settings_view_form
msgid "Check to enable Timesheet Sheet(s) auto-drafting on Timesheet altering."
msgstr ""
"Selezionare per abilitare la redazione automatica della scheda(e) del foglio "
"ore durante la modifica del foglio ore."

#. module: hr_timesheet_sheet_autodraft
#: model:ir.model,name:hr_timesheet_sheet_autodraft.model_res_company
msgid "Companies"
msgstr "Aziende"

#. module: hr_timesheet_sheet_autodraft
#: model:ir.model,name:hr_timesheet_sheet_autodraft.model_res_config_settings
msgid "Config Settings"
msgstr "Impostazioni configurazione"

#. module: hr_timesheet_sheet_autodraft
#: model:ir.model.fields,field_description:hr_timesheet_sheet_autodraft.field_res_company__timesheet_sheets_autodraft
#: model:ir.model.fields,field_description:hr_timesheet_sheet_autodraft.field_res_config_settings__timesheet_sheets_autodraft
msgid "Timesheet Sheets Auto-draft"
msgstr "Compilazione automatica fogli scheda attività"

#~ msgid "Display Name"
#~ msgstr "Nome visualizzato"

#~ msgid "ID"
#~ msgstr "ID"

#~ msgid "Last Modified on"
#~ msgstr "Ultima modifica il"
86 changes: 86 additions & 0 deletions hr_timesheet_sheet_autodraft/i18n/nl.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_sheet_autodraft
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2022-02-04 23:33+0000\n"
"Last-Translator: Bosd <c5e2fd43-d292-4c90-9d1f-74ff3436329a@anonaddy.me>\n"
"Language-Team: none\n"
"Language: nl\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_sheet_autodraft
#: model_terms:ir.ui.view,arch_db:hr_timesheet_sheet_autodraft.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=\"De waarden welke hier worden "
"ingesteld zijn bedrijfsspecifiek.\" role=\"img\" aria-label=\"De waarden "
"welke hier worden ingesteld zijn bedrijfsspecifiek.\" groups=\"base."
"group_multi_company\"/>"

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

#. module: hr_timesheet_sheet_autodraft
#: model:ir.actions.server,name:hr_timesheet_sheet_autodraft.action_autodraft_timesheet_sheets
msgid "Auto-draft Timesheet Sheet(s)"
msgstr "Automatisch opstellen Urenstaat formulier(en)"

#. module: hr_timesheet_sheet_autodraft
#: model_terms:ir.ui.view,arch_db:hr_timesheet_sheet_autodraft.res_config_settings_view_form
msgid "Auto-draft Timesheet Sheets"
msgstr "Automatisch opstellen Urenstaat formulieren"

#. module: hr_timesheet_sheet_autodraft
#: model:ir.model.fields,help:hr_timesheet_sheet_autodraft.field_res_config_settings__timesheet_sheets_autodraft
msgid ""
"Auto-draft Timesheet Sheets whenever a Timesheet entry is created or "
"modified to ensure it's covered by a relevant Timesheet Sheet"
msgstr ""
"Stel automatisch een urenstaat formulier op, wanneer er een urenstaat "
"activiteit is aangemaakt of gewijzigd welke nog niet is vermeld op een "
"urenstaat formulier"

#. module: hr_timesheet_sheet_autodraft
#: model_terms:ir.ui.view,arch_db:hr_timesheet_sheet_autodraft.res_config_settings_view_form
msgid "Check to enable Timesheet Sheet(s) auto-drafting on Timesheet altering."
msgstr ""
"Indien aangevinkt stel automatisch urenstaat formulieren op bij wijzigingen "
"op urenstaat activiteiten."

#. module: hr_timesheet_sheet_autodraft
#: model:ir.model,name:hr_timesheet_sheet_autodraft.model_res_company
msgid "Companies"
msgstr "Bedrijven"

#. module: hr_timesheet_sheet_autodraft
#: model:ir.model,name:hr_timesheet_sheet_autodraft.model_res_config_settings
msgid "Config Settings"
msgstr "Configuratie instellingen"

#. module: hr_timesheet_sheet_autodraft
#: model:ir.model.fields,field_description:hr_timesheet_sheet_autodraft.field_res_company__timesheet_sheets_autodraft
#: model:ir.model.fields,field_description:hr_timesheet_sheet_autodraft.field_res_config_settings__timesheet_sheets_autodraft
msgid "Timesheet Sheets Auto-draft"
msgstr "Urenstaat formulieren automatisch opstellen"

#~ msgid "Display Name"
#~ msgstr "Weergave naam"

#~ msgid "ID"
#~ msgstr "ID"

#~ msgid "Last Modified on"
#~ msgstr "Laatst gewijzigd op"
5 changes: 5 additions & 0 deletions hr_timesheet_sheet_autodraft/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

from . import res_company
from . import res_config
from . import account_analytic_line
Loading
Loading