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

=====================
HR Timesheet Calendar
=====================

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

.. |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_calendar
: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_calendar
: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 allows you to have the calendar view to show or perform time
imputation.

This module depends on the hr_timesheet_time_control module to support
the ``date_time_end`` field (end time of timesheet entries), enabling
start/stop time tracking in the calendar view.

**Table of contents**

.. contents::
:local:

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

Go to **Settings → Technical → Timesheets** and set the **Time
Connecting** option:

- **Set Start Date to Now** (default): new timesheet entries start at
the current time.
- **Align to previous entry**: new entries start immediately after the
last recorded entry for the same employee on the same day.

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_calendar%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
-------

* Lansana Barry Sow
* APSL-Nagarro

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

[APSL-Nagarro](https://apsl.tech):

- Lansana Barry Sow <lbarry@apsl.net>

[glueckkanja AG](https://glueckkanja.com):

- Christopher Rogos <crogos@gmail.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.

.. |maintainer-lbarry-apsl| image:: https://github.com/lbarry-apsl.png?size=40px
:target: https://github.com/lbarry-apsl
:alt: lbarry-apsl

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-lbarry-apsl|

This module is part of the `OCA/timesheet <https://github.com/OCA/timesheet/tree/19.0/hr_timesheet_calendar>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions hr_timesheet_calendar/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
26 changes: 26 additions & 0 deletions hr_timesheet_calendar/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Copyright 2025 Lansana Barry Sow(APSL-Nagarro)<lbarry@apsl.net>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
{
"name": "HR Timesheet Calendar",
"version": "19.0.1.0.0",
"category": "Human Resources",
"website": "https://github.com/OCA/timesheet",
"author": "Lansana Barry Sow, APSL-Nagarro, Odoo Community Association (OCA)",
"maintainers": ["lbarry-apsl"],
"license": "AGPL-3",
"application": False,
"installable": True,
"depends": [
"hr_timesheet_time_control",
],
"data": [
"views/hr_timesheet_views.xml",
"views/res_config_settings_view.xml",
],
"assets": {
"web.assets_backend": [
"hr_timesheet_calendar/static/src/views/**/*.js",
"hr_timesheet_calendar/static/src/views/**/*.xml",
]
},
}
76 changes: 76 additions & 0 deletions hr_timesheet_calendar/i18n/hr_timesheet_calendar.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_timesheet_calendar
#
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_calendar
#: model:ir.model.fields.selection,name:hr_timesheet_calendar.selection__res_config_settings__timesheet_alignment__no-gap
msgid "Align to previous entry"
msgstr ""

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

#. module: hr_timesheet_calendar
#: model:ir.model.fields,help:hr_timesheet_calendar.field_res_config_settings__timesheet_alignment
msgid "Choose the alignment of new timesheet entries without start time."
msgstr ""

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

#. module: hr_timesheet_calendar
#. odoo-javascript
#: code:addons/hr_timesheet_calendar/static/src/views/timesheet_calendar/common/timesheet_calendar_common_popover.xml:0
msgid "Duplicate"
msgstr ""

#. module: hr_timesheet_calendar
#. odoo-javascript
#: code:addons/hr_timesheet_calendar/static/src/views/timesheet_calendar/timesheet_calendar_controller.esm.js:0
msgid "New Timesheet Entry"
msgstr ""

#. module: hr_timesheet_calendar
#: model:ir.model.fields.selection,name:hr_timesheet_calendar.selection__res_config_settings__timesheet_alignment__now
msgid "Set Start Date to Now"
msgstr ""

#. module: hr_timesheet_calendar
#: model:ir.model.fields,field_description:hr_timesheet_calendar.field_account_analytic_line__date_time
msgid "Start Time"
msgstr ""

#. module: hr_timesheet_calendar
#: model_terms:ir.ui.view,arch_db:hr_timesheet_calendar.res_config_settings_view_form
msgid "Start the next entry now or without a gap to the previous one."
msgstr ""

#. module: hr_timesheet_calendar
#: model_terms:ir.ui.view,arch_db:hr_timesheet_calendar.res_config_settings_view_form
msgid "Time Connecting"
msgstr ""

#. module: hr_timesheet_calendar
#: model:ir.model.fields,field_description:hr_timesheet_calendar.field_res_config_settings__timesheet_alignment
msgid "Timesheet Alignment"
msgstr ""

#. module: hr_timesheet_calendar
#: model_terms:ir.ui.view,arch_db:hr_timesheet_calendar.hr_timesheet_line_calendar
msgid "Timesheets"
msgstr ""
41 changes: 41 additions & 0 deletions hr_timesheet_calendar/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_timesheet_calendar
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2025-05-03 17:24+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 5.10.4\n"

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

#. module: hr_timesheet_calendar
#. odoo-javascript
#: code:addons/hr_timesheet_calendar/static/src/views/timesheet_calendar/common/timesheet_calendar_common_popover.xml:0
#, python-format
msgid "Duplicate"
msgstr "Duplica"

#. module: hr_timesheet_calendar
#. odoo-javascript
#: code:addons/hr_timesheet_calendar/static/src/views/timesheet_calendar/timesheet_calendar_controller.esm.js:0
#, python-format
msgid "New Timesheet Entry"
msgstr "Nuova registrazione foglio ore"

#. module: hr_timesheet_calendar
#: model_terms:ir.ui.view,arch_db:hr_timesheet_calendar.hr_timesheet_line_calendar
msgid "Timesheets"
msgstr "Fogli ore"
4 changes: 4 additions & 0 deletions hr_timesheet_calendar/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html

from . import account_analytic_line
from . import res_config_settings
Loading
Loading