summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--addons/hr_timesheet/report/report_timesheet_templates.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/hr_timesheet/report/report_timesheet_templates.xml b/addons/hr_timesheet/report/report_timesheet_templates.xml
index 2acf1c87bfa..e03f713d63f 100644
--- a/addons/hr_timesheet/report/report_timesheet_templates.xml
+++ b/addons/hr_timesheet/report/report_timesheet_templates.xml
@@ -48,10 +48,10 @@
<span t-field="l.name" t-options="{'widget': 'text'}"/>
</td>
<td t-if="show_project">
- <span t-field="l.project_id.name"/>
+ <span t-field="l.project_id.sudo().name"/>
</td>
<td t-if="show_task">
- <t t-if="l.task_id"><span t-field="l.task_id.name"/></t>
+ <t t-if="l.task_id"><span t-field="l.task_id.sudo().name"/></t>
</td>
<td class="text-right">
<span t-if="is_uom_day" t-esc="l._get_timesheet_time_day()" t-options="{'widget': 'timesheet_uom'}"/>