From b810103191d612ae7ee7362daad32ca1c3d8a75f Mon Sep 17 00:00:00 2001 From: suth-odoo Date: Wed, 27 Mar 2024 23:19:44 +0530 Subject: [PATCH] [IMP] hr_timesheet, _*: make the timesheets report more uniform across models _*= sale_timesheet In this PR: - formatting the table - displaying 'project & task' or 'project & ticket' for the second column if we are in the context of a specific task/ticket - changed 'total (hours)' into 'total' - Displayed a main 'Timesheets' title at the top of the report then secondary 'ticket: drawer's...' titles above each table - change 'timesheets for the S00080 - Customer Care (Prepaid Hours) Sales Order item' -> 'Order S00080 - Customer Care (Prepaid Hours)' - also for invoices -> changed the title to 'Invoice INV/2024/00021' task-3704612 --- .../report/report_timesheet_templates.xml | 23 ++++++++++--------- .../report/report_timesheet_templates.xml | 15 ++++++++++-- 2 files changed, 25 insertions(+), 13 deletions(-) diff --git a/addons/hr_timesheet/report/report_timesheet_templates.xml b/addons/hr_timesheet/report/report_timesheet_templates.xml index b5a0049579c48..c0fa877d3a8c4 100644 --- a/addons/hr_timesheet/report/report_timesheet_templates.xml +++ b/addons/hr_timesheet/report/report_timesheet_templates.xml @@ -9,13 +9,12 @@ - Task + Project & Task Project - Date - Employee + Date & Employee Description @@ -27,11 +26,9 @@ - 2021-09-01 - - - Audrey Peterson - Audrey Peterson + 2021-09-01
+ Audrey Peterson + Audrey Peterson @@ -39,8 +36,12 @@ - - Research and Development/New Portal System + + +
+ +
+ Research and Development/New Portal System Call client and discuss project @@ -53,7 +54,7 @@ - Total (Hours) + Total 2 hours diff --git a/addons/sale_timesheet/report/report_timesheet_templates.xml b/addons/sale_timesheet/report/report_timesheet_templates.xml index 4cd258d55d3b8..7d9aa90d6be73 100644 --- a/addons/sale_timesheet/report/report_timesheet_templates.xml +++ b/addons/sale_timesheet/report/report_timesheet_templates.xml @@ -1,5 +1,15 @@ +