[FIX] hr_attendance: fix attendance report query
closes odoo/odoo#131289 X-original-commit: 7a55fb51ba68c5d8fc01ef5a70968bee389ffe9b Signed-off-by: Sofie Gvaladze (sgv) <sgv@odoo.com>
This commit is contained in:
@@ -41,7 +41,7 @@ class HRAttendanceReport(models.Model):
|
||||
at time zone 'utc'
|
||||
at time zone
|
||||
(SELECT calendar.tz FROM resource_calendar as calendar
|
||||
INNER JOIN hr_employee as employee ON employee.id = employee_id
|
||||
INNER JOIN hr_employee as employee ON employee.id = hr_attendance.employee_id
|
||||
WHERE calendar.id = employee.resource_calendar_id)
|
||||
as DATE) as check_in,
|
||||
worked_hours
|
||||
|
||||
Reference in New Issue
Block a user