From c2fdf83e0bb14746f657bd09a0804afdc1136fda Mon Sep 17 00:00:00 2001 From: ravb-odoo Date: Wed, 28 Jun 2023 17:51:37 +0530 Subject: [PATCH] [IMP] sale_timesheet,_*: improve mail template and portal view _*= account, hr_timesheet This commit improves the Portal functionality and add email template: - improve email template for invoice includes timesheet (add link in mail which redirect to timesheets linked with invoice). - improve timesheets template by renaming labels and internal header/footer. task-3251680 closes odoo/odoo#127224 Related: odoo/enterprise#43593 Signed-off-by: Xavier Bol (xbo) --- addons/account/data/mail_template_data.xml | 4 ++++ .../hr_timesheet/report/report_timesheet_templates.xml | 10 +++++----- .../report/report_timesheet_templates.xml | 2 +- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/addons/account/data/mail_template_data.xml b/addons/account/data/mail_template_data.xml index 230b5e8e481..319b63e0e1a 100644 --- a/addons/account/data/mail_template_data.xml +++ b/addons/account/data/mail_template_data.xml @@ -45,6 +45,10 @@ Please use the following communication for your payment: INV/2021/05/0005. + +

+ PS: you can review your timesheets from the portal. +


Do not hesitate to contact us if you have any questions. diff --git a/addons/hr_timesheet/report/report_timesheet_templates.xml b/addons/hr_timesheet/report/report_timesheet_templates.xml index 783b5610cc9..e2f133c28c0 100644 --- a/addons/hr_timesheet/report/report_timesheet_templates.xml +++ b/addons/hr_timesheet/report/report_timesheet_templates.xml @@ -19,8 +19,8 @@ Description - Hours Spent - Days Spent + Hours + Days @@ -73,7 +73,7 @@ - +
- + @@ -135,7 +135,7 @@