From f7bcc14d254ff5f1da4792cd51e916d831b9d23d Mon Sep 17 00:00:00 2001 From: "Xavier BOL (xbo)" Date: Thu, 14 Oct 2021 17:25:47 +0200 Subject: [PATCH] [FIX] hr_timesheet: show total_hours and progress if allow_timesheets Before this commit, those columns are not invisible if the project has not allow_timesheets enabled (or not allow_subtasks for "Total Hours" field) in list view of project sharing feature. This commit changes the attrs of those field to hide the column if the domain is satisfied. task-2633229 closes #77156 X-original-commit: 3856024d037a86a07703cc492f7cc41be93169de --- addons/hr_timesheet/views/project_sharing_views.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/hr_timesheet/views/project_sharing_views.xml b/addons/hr_timesheet/views/project_sharing_views.xml index 1656a32a798..7a9798821a7 100644 --- a/addons/hr_timesheet/views/project_sharing_views.xml +++ b/addons/hr_timesheet/views/project_sharing_views.xml @@ -155,8 +155,8 @@ - - + +