Browse Source

Merge pull request #105 from CompassionCH/fix-message-author

[FIX] Author of mail.notification when using notification templates
pull/85/head
Pedro M. Baeza 8 years ago
committed by GitHub
parent
commit
e5cca8a3f2
  1. 1
      mail_notification_email_template/models/mail_notification.py

1
mail_notification_email_template/models/mail_notification.py

@ -33,6 +33,7 @@ class MailNotification(models.Model):
continue continue
custom_values = { custom_values = {
'references': message.parent_id.message_id, 'references': message.parent_id.message_id,
'author_id': message.author_id.id
} }
if message.res_id and hasattr( if message.res_id and hasattr(
self.env[message.model], 'message_get_email_values' self.env[message.model], 'message_get_email_values'

Loading…
Cancel
Save