From f50bf9b959f19181427de5684753ea511c03f0f0 Mon Sep 17 00:00:00 2001 From: "Xavier BOL (xbo)" Date: Tue, 5 Apr 2022 14:25:33 +0000 Subject: [PATCH] [FIX] project: avoid filtering burndown chart records for project manager Before this commit, when the Project Manager wants to see the burndown chart report, he cannot see all the tasks if the project visibility is follower and he do not follow the project. Indeed, he can only see the ones in which he is assigned or follower. This behaviour is not expected for a project manager but only expected for a project user. This commit adds a rule to avoid filtering the records from burndown chart report when the current user is a Project Manager. Related PR: #82634 closes odoo/odoo#89284 X-original-commit: f045bd78d562ec48762479138bc8388af252d06a Related: odoo/enterprise#26457 Signed-off-by: Laurent Stukkens (ltu) --- addons/project/security/project_security.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/addons/project/security/project_security.xml b/addons/project/security/project_security.xml index 8c4c3853333..6bc0c514544 100644 --- a/addons/project/security/project_security.xml +++ b/addons/project/security/project_security.xml @@ -275,6 +275,13 @@ + + Burndown chart: project visibility User + + [(1, '=', 1)] + + + Project/Milestone: multi-company