OdooWiki OCA HUB

Timesheet - Begin/End Hours

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

Adds starting and ending hours fields on the timesheet activities.

There is also another module project_timesheet_time_control with very similar functionality.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

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

This module extends timesheet entries with two new fields: Begin Hour and End Hour. They appear on the timesheet line form and list, and also inside the Timesheets tab of a task, right before the Duration field.

When a user fills in the begin and end hours, Odoo automatically computes the Duration (the worked hours) as the difference between the two. If the end hour is earlier than the begin hour, the duration is not updated.

Odoo also enforces three rules when saving a timesheet line: - The begin hour must be before the end hour. - The duration must match the difference between the begin and end hours. - A line cannot overlap in time with another line of the same employee on the same day; if it does, Odoo shows an error listing the conflicting time ranges.

Timesheet lines are now sorted by date, then begin hour, then record order. The module touches the timesheet line model (account.analytic.line) and the task form view (project.task). It also adjusts the merge behaviour of timesheets so that lines with begin/end hours are not merged together.

Depends on

hr_timesheet

Required by other modules

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 19.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: 5 confirmed, 4 with no information of 9 versions.

Sources · Odoo 15.0

Confirmed on 2026-11-03 in branch 15.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.