diff --git a/addons/hr_timesheet/controllers/portal.py b/addons/hr_timesheet/controllers/portal.py index 8cc54671206..1b3d987b57c 100644 --- a/addons/hr_timesheet/controllers/portal.py +++ b/addons/hr_timesheet/controllers/portal.py @@ -138,7 +138,7 @@ class TimesheetCustomerPortal(CustomerPortal): if field: if groupby == 'date': raw_timesheets_group = Timesheet_sudo._read_group( - domain, ['date:day'], ['unit_amount:sum', 'id:array_agg'] + domain, ['date:day'], ['unit_amount:sum', 'id:recordset'] ) grouped_timesheets = [(records, unit_amount) for __, unit_amount, records in raw_timesheets_group]