diff options
| author | Denis Ledoux <dle@odoo.com> | 2015-02-27 11:55:45 +0100 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2015-02-27 12:04:49 +0100 |
| commit | 3bf1615ad40f23212a0fff23eeb506f3bcc69043 (patch) | |
| tree | d6cfd1478f59a3c9cbdf178128af7bfe813ce7b1 /addons/analytic_user_function/analytic_user_function_view.xml | |
| parent | e2fa66b05df027c3d0977bccf6bb508f2cfc3669 (diff) | |
[FIX] hr_timesheet: worked hours summary when sign in without sign out
In a timesheet, when a sign in is added, and a sign out
is not following, the current time is took as sign out value.
Rev. dbb2a669f44eff8889d96e0ed5113fd394ae1cae corrected an issue
regarding the worked hours summary not taking into account
the employee timezone.
This timezone has to be applied on the current_time also.
e.g: For an employee being in timezone UTC + 1
If the current_time is presently 12:00 (UTC+1)
If the employee set his sign in to 10:00
and do not entered a sign out
The hours summary table displayed 1:00 of worked hours,
based on computation (11:00 - 10:00)
11:00 being 12:00 but in timezone UTC
Besides, another issue was present when entering
a sign in at midnight exactly without a sign out:
If the employee set his sign in to 00:00:00
and do not set a sign out, worked hours displayed 0 worked hours
whatever the current time.
Fixes #5379
Closes #5378
Closes #5503
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function_view.xml')
0 files changed, 0 insertions, 0 deletions
