OdooWiki OCA HUB

Timesheet Activities - Begin/End Hours

hr_timesheet_activity_begin_end folder_open OCA/timesheet open_in_new
Human Resources License: AGPL-3

Adds starting and ending hours fields on the timesheet activities.

auto_awesome What this module does

AI-generated from the code · Odoo 14.0

Adds Begin Hour and End Hour fields to timesheet lines so users can record the exact start and end time of each activity, with automatic duration calculation and overlap checks.

This module extends timesheet lines with two new fields: Begin Hour and End Hour. They appear next to the Duration field on timesheet lines in the Timesheets list and form views, inside the weekly Timesheet sheet, and on the task form's timesheet tab.

When a user enters a begin and end hour, Odoo automatically computes the Duration (unit_amount) as the difference between them. Several checks are enforced when saving:

  • The begin hour must be earlier than the end hour.
  • The duration must match the difference between the two hours (using the hour rounding).
  • Timesheet lines for the same user on the same day cannot overlap in time; an error lists the conflicting lines.

Timesheet lines are also sorted by date, begin hour and id, both in the database order and in the weekly sheet's line list, so entries appear in chronological order.

The module touches account.analytic.line (timesheet lines), hr_timesheet.sheet (weekly timesheet) and project.task (task form). It depends on hr_timesheet_sheet.

Models and fields (1)
  • account.analytic.line · extends an existing modeltime_stop (End Hour), time_start (Begin Hour)

Text generated by AI (DeepSeek) from reading the Odoo 14.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 3 confirmed, 6 with no information of 9 versions.

Sources · Odoo 14.0

Confirmed on 2026-11-03 in branch 14.0 of OCA/timesheet.

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.