FIX my previous commit in mail_usability
This commit is contained in:
@@ -66,6 +66,7 @@ class MailNotification(models.Model):
|
|||||||
message)
|
message)
|
||||||
for notif in self:
|
for notif in self:
|
||||||
if (
|
if (
|
||||||
|
notif.partner_id.id in notify_pids and
|
||||||
message.type == 'notification' and
|
message.type == 'notification' and
|
||||||
notif.partner_id.notify_email ==
|
notif.partner_id.notify_email ==
|
||||||
'all_except_notification'):
|
'all_except_notification'):
|
||||||
|
|||||||
Reference in New Issue
Block a user