From 614657d799cbc0cb4da7c6a049fb518c4e5a312a Mon Sep 17 00:00:00 2001 From: "Xavier BOL (xbo)" Date: Thu, 30 Sep 2021 14:16:04 +0200 Subject: [PATCH] [FIX] project: show 'Assign To Me' only if the user is not assigned Before this commit, when the task has a user assigned to a task and the current user wants to assign himself to this task. He cannot see the 'Assign To Me' button because this button is only visible if the `user_ids` field is empty. This commit changes the visibility of this button to show this button only if the current user is not yet assigned to the task. task-2633229 closes #77156 X-original-commit: cfba241bada2b3690b4303b7e01747301925d162 --- addons/project/views/project_views.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/project/views/project_views.xml b/addons/project/views/project_views.xml index 86acea86a1b..3b802f21ad0 100644 --- a/addons/project/views/project_views.xml +++ b/addons/project/views/project_views.xml @@ -809,7 +809,7 @@
@@ -1100,7 +1100,7 @@
Private -
+