From 58fdd05888e64961606bbb07c615833a992f20d1 Mon Sep 17 00:00:00 2001 From: kais-odoo Date: Thu, 22 Sep 2022 09:37:41 +0000 Subject: [PATCH] [FIX] project: fixes a traceback when opening project burndown chart Before this commit, when a Project user opens the "Burndown Chart" report from Project app, a traceback is occured due to an invalid domain in the `ir.rule` for this report. This commit fixes the issue by updating the domain since the `task_id` field no longer exists on that report. task-2982150 closes odoo/odoo#104107 X-original-commit: ce60532b0c5c77a80038298a27550ab5f9eeb012 Signed-off-by: Xavier --- addons/project/security/project_security.xml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/addons/project/security/project_security.xml b/addons/project/security/project_security.xml index bd78cef7c75..4d43bbe87e7 100644 --- a/addons/project/security/project_security.xml +++ b/addons/project/security/project_security.xml @@ -275,9 +275,7 @@ ('project_id.privacy_visibility', '!=', 'followers'), '|', ('project_id.message_partner_ids', 'in', [user.partner_id.id]), - '|', - ('task_id.message_partner_ids', 'in', [user.partner_id.id]), - ('user_ids', 'in', user.id), + ('user_ids', 'in', user.id), ]