From 1e6923833113010e14c46dc89ee39617446c97a8 Mon Sep 17 00:00:00 2001 From: padh-odoo Date: Mon, 4 Mar 2024 06:21:45 +0000 Subject: [PATCH] [FIX] project: fix allocated time label in portal Steps to Reproduce - open project - create a project and allow timesheet - open timesheet and change encoding method to days/half days - create a task in the project and set allocated time - open portal view of the task Issue - There is no label for allocated time. Cause - Condition was added in this commit 82a85d42c86cffcd6e96b0712c8ff9a221f25d87 to show the label if encoding method is not in days. Fix - We apply the label for both encoding method of timesheet. task-3761269 closes odoo/odoo#159939 X-original-commit: d7140c14d29d7e667a11dd0f92fe07117044feed Signed-off-by: Xavier Bol (xbo) Signed-off-by: Dheeraj Pandey (padh) --- addons/project/views/project_portal_project_task_templates.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/project/views/project_portal_project_task_templates.xml b/addons/project/views/project_portal_project_task_templates.xml index 2c65968f846..44cc6a5885c 100644 --- a/addons/project/views/project_portal_project_task_templates.xml +++ b/addons/project/views/project_portal_project_task_templates.xml @@ -244,6 +244,7 @@
Deadline:
Milestone:
+ Allocated Time:
@@ -289,7 +290,7 @@