Browse Source

[FIX] Author of mail.notification when using notification templates

pull/105/head
Emanuel Cino 8 years ago
parent
commit
afc496c288
  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