From 9b2ca51df7befc12d7ad1375d13a6a05a73c6612 Mon Sep 17 00:00:00 2001 From: rajh-odoo Date: Tue, 12 Sep 2023 09:35:22 +0000 Subject: [PATCH] [FIX] hr_timesheet: fix project kanban remaining hour field visibility Description of the issue: remaining hour field was visible to all users Desired behavior after PR is merged: remaining hour will only visible to that user who have timesheet access this field will invisible if user doesn't have timesheet access task-3484290 closes odoo/odoo#137082 X-original-commit: e737f0934f8a83cd02a4a79fbf174b95b524a4e7 Signed-off-by: Xavier Bol (xbo) --- addons/hr_timesheet/views/project_project_views.xml | 2 +- addons/hr_timesheet/views/project_task_views.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/hr_timesheet/views/project_project_views.xml b/addons/hr_timesheet/views/project_project_views.xml index 16ac3c9b652..f3efdc91765 100644 --- a/addons/hr_timesheet/views/project_project_views.xml +++ b/addons/hr_timesheet/views/project_project_views.xml @@ -69,7 +69,7 @@
+ t-attf-class="oe_kanban_align badge border {{ badgeColor }}" t-att-title="title" groups="hr_timesheet.group_hr_timesheet_user">
diff --git a/addons/hr_timesheet/views/project_task_views.xml b/addons/hr_timesheet/views/project_task_views.xml index 73f34fffd31..76c7308e7bb 100644 --- a/addons/hr_timesheet/views/project_task_views.xml +++ b/addons/hr_timesheet/views/project_task_views.xml @@ -195,7 +195,7 @@
- +