Skip to Content
Menu

Timesheet Start Time, End Time, Break Time and calculated Hours Spent

by
Odoo

91.78

v 15.0 Third Party
This module requires Odoo Enterprise Edition.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Timesheets (timesheet_grid)
Employees (hr)
Project (project)
Discuss (mail)
Lines of code 40
Technical Name timesheet_duration_breaktime
LicenseOPL-1
Websitehttp://www.flexerp.dk
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Timesheets (timesheet_grid)
Employees (hr)
Project (project)
Discuss (mail)
Lines of code 40
Technical Name timesheet_duration_breaktime
LicenseOPL-1
Websitehttp://www.flexerp.dk

Calculate Hours Spent with Timesheet Start Time, End Time and Break Time

New fields added to kanban pop-up and hours spent are calculated automatically

This module adds the possibility to set a start and end time plus a break time. Break time is per default set to 30 minutes. This can be changed by user or permanently in the module code.

How it works:

  • Go to Timesheets --> My Timesheets (kanban view) and click on 'Add a line'.
  • New fields - Start Time, End Time and Break Time have been added.
  • Break Time has been set to 30 minutes in the module code - this can be changed by user or in module code.
  • Enter Start Time and End Time (and possibly a different Break Time). You will see that the field Hours Spent is automatically calculated based on the other field values.
  • Once you click 'Save' a new timesheet has been created and you will see the hours spent have been added to the overview.
  • PLEASE NOTE: the fields are only added to the kanban pop-up. Other views remain unchanged.

Go to Timesheets - My Timesheets in kanban view:


In standard Odoo when you click on 'Add a line' the pop-up looks like this:


This module adds the three fields Start Time, End Time and Break Time. The field Break Time is as default set to 30 minutes:


Click on 'Add a line':


Enter the start time and end time, and change the break time if necessary. You will see that Hours Spent is then automatically calculated based on the three new fields:


Once you click on 'Save' a new line has been created and the hours spent have been added:


If you wish to change the default break time from 30 minutes to something else, you simply change it in the module by going to Models --> hr_timesheet. Here you can change the value:


Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.