[FIX] project: fix the traceback when clicking on blocking stat button

Currently, clicking on the blocking stat button throws an error when
there is more the 1 task in blocking stat.

So this commit, fixes the issue by removing the extra comma so that
clicking on blocking stat button doesn't throws an error.

task-2834743

closes odoo/odoo#92257

X-original-commit: cd7b7b02523e0982366f4ca60b6df2448d7e9cb5
Signed-off-by: Laurent Stukkens (ltu) <ltu@odoo.com>
This commit is contained in:
Manisha Tulsiyani
2022-05-25 14:38:11 +02:00
committed by Barad Mahendra
parent ddb64e30f1
commit d2daaf95b4
+1 -1
View File
@@ -2337,7 +2337,7 @@ class Task(models.Model):
action['res_id'] = self.dependent_ids.id
action['views'] = [(False, 'form')]
else:
action['domain'] = [('depend_on_ids', '=', self.id)],
action['domain'] = [('depend_on_ids', '=', self.id)]
action['name'] = _('Dependent Tasks')
action['view_mode'] = 'tree,form,kanban,calendar,pivot,graph,activity'
return action