FIX my previous commit in mail_usability

This commit is contained in:
Alexis de Lattre
2017-06-21 15:34:35 +02:00
parent 0bc6cb32d9
commit c8c1f78e66

View File

@@ -66,6 +66,7 @@ class MailNotification(models.Model):
message)
for notif in self:
if (
notif.partner_id.id in notify_pids and
message.type == 'notification' and
notif.partner_id.notify_email ==
'all_except_notification'):