Browse Source

Pass context

pull/96/head
Matjaž Mozetič 8 years ago
parent
commit
31c22477f0
  1. 4
      mail_footer_notified_partners/models/mail_followers.py

4
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)
Loading…
Cancel
Save