[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 <xbo@odoo.com>
This commit is contained in:
kais-odoo
2022-10-26 00:01:54 +02:00
committed by Barad Mahendra
parent 49232b7697
commit 58fdd05888
+1 -3
View File
@@ -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),
]</field>
<field name="groups" eval="[(4,ref('project.group_project_user'))]"/>
</record>