From 31c22477f01a5c31a9d29d907c0b201a089c9607 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matja=C5=BE=20Mozeti=C4=8D?= Date: Mon, 10 Oct 2016 06:31:19 +0200 Subject: [PATCH] Pass context --- mail_footer_notified_partners/models/mail_followers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mail_footer_notified_partners/models/mail_followers.py b/mail_footer_notified_partners/models/mail_followers.py index 1c7a993f..155b6921 100644 --- a/mail_footer_notified_partners/models/mail_followers.py +++ b/mail_footer_notified_partners/models/mail_followers.py @@ -57,7 +57,7 @@ class MailNotification(models.Model): ctx.update({ 'partners_to_notify': partners_to_notify, }) - return super(MailNotification, self)._notify( + return super(MailNotification, self.with_context(ctx))._notify( message_id, partners_to_notify=partners_to_notify, - force_send=force_send, user_signature=user_signature, context=ctx) + force_send=force_send, user_signature=user_signature)