diff --git a/report/report_hr_timesheet_act.xml b/report/report_hr_timesheet_act.xml
index cf4dc70b85932ab17d796f22a013ec0941dca990..c5563020713be3e355a448bd8acabf7e10fe1af6 100644
--- a/report/report_hr_timesheet_act.xml
+++ b/report/report_hr_timesheet_act.xml
@@ -51,7 +51,7 @@
                         </thead>
                         <tbody class="invoice_tbody">
                             <t
-                                t-foreach="o.timesheet_line_ids.sorted(key=lambda b: (b.project_id,b.date))"
+                                t-foreach="o.timesheet_line_ids.sorted(key=lambda b: (b.project_id.name,b.date))"
                                 t-as="line"
                             >
                                 <tr>