Browse Source

Merge pull request #96 from sysadminmatmoz/8.0

Return with context, solves #90.
pull/120/head
Pedro M. Baeza 8 years ago
committed by GitHub
parent
commit
f0a6723513
  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({ ctx.update({
'partners_to_notify': partners_to_notify, 'partners_to_notify': partners_to_notify,
}) })
return super(MailNotification, self)._notify(
return super(MailNotification, self.with_context(ctx))._notify(
message_id, message_id,
partners_to_notify=partners_to_notify, 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