Skip to content

Latest commit

 

History

History
111 lines (82 loc) · 3.97 KB

File metadata and controls

111 lines (82 loc) · 3.97 KB
Odoo Community Association

Timesheet - Begin/End Hours + Break

Beta License: AGPL-3 OCA/timesheet Translate me on Weblate Try me on Runboat

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:

  1. Go to Timesheets and open or create a timesheet line (or the Timesheets tab of a project task).
  2. Fill in the Begin Hour and End Hour.
  3. Fill in the Break duration.
  4. 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

This module is maintained by the OCA.

Odoo Community Association

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.