fix migraiton of mail_usability

This commit is contained in:
Benoit
2021-02-18 10:22:35 +01:00
parent cd02a07433
commit 650db876dd
3 changed files with 15 additions and 11 deletions

View File

@@ -15,10 +15,10 @@ class MailThread(models.AbstractModel):
_logger.debug('Skip automatic subscribe notification')
return False
def _message_auto_subscribe_notify(self, partner_ids):
def _message_auto_subscribe_notify(self, partner_ids, template):
if self._active_message_auto_subscribe_notify():
return super(MailThread, self)._message_auto_subscribe_notify(
partner_ids)
partner_ids, template)
else:
return True