[FIX] project_assignees: Fix bug when save task
This commit is contained in:
committed by
clementelabore
parent
3c78eb58a7
commit
86711f2884
@@ -10,7 +10,7 @@ class Task(models.Model):
|
|||||||
@api.multi
|
@api.multi
|
||||||
def subscribe_assignees(self):
|
def subscribe_assignees(self):
|
||||||
for task in self:
|
for task in self:
|
||||||
partner_ids = [a.partner_id.id for a in self.assignee_ids]
|
partner_ids = [a.partner_id.id for a in task.assignee_ids]
|
||||||
task.message_subscribe(partner_ids)
|
task.message_subscribe(partner_ids)
|
||||||
|
|
||||||
@api.multi
|
@api.multi
|
||||||
|
Reference in New Issue
Block a user