This module extends hr_timesheet_begin_end by adding a break duration field to timesheet lines that use begin/end hours.
The worked time (unit_amount) is then computed as:
Unit Amount = (End Hour - Begin Hour) - Break Duration
For example, a line starting at 08:00, ending at 16:30 with a 30 minute break results in 8.00 worked hours.
Table of contents
To use this module you need to:
- Go to Timesheets and open or create a timesheet line (or the Timesheets tab of a project task).
- Fill in the Begin Hour and End Hour.
- Fill in the Break duration.
- The Duration (worked hours) is automatically recomputed as the difference between end and begin hours, minus the break.
The line is validated so that the duration always equals
End Hour - Begin Hour - Break, that the begin hour precedes the end
hour, and that lines do not overlap for the same employee on the same
day.
Bugs are tracked on GitHub 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.
Do not contact contributors directly about support or help with technical issues.
- Slivi-sliv
- Slivi-sliv <silvano999@gmail.com>
- Stefano Consolaro (Mymage)
- bosd <ebo@stefcy.com>
This module is maintained by the OCA.
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 project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.




