Merge PR #931 into 15.0

Signed-off-by yajo
This commit is contained in:
OCA-git-bot 2022-07-21 06:28:38 +00:00
commit 152bd7622d

View File

@ -19,6 +19,9 @@ class MailThread(models.AbstractModel):
for follower in followers
if follower not in partners and follower not in self.message_partner_ids
]
if isinstance(partner_ids, tuple):
partner_ids += tuple(follower_ids)
else:
partner_ids += follower_ids
return super().message_subscribe(
partner_ids=partner_ids,