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
custom_values = {
'references': message.parent_id.message_id,
'author_id': message.author_id.id
}
if message.res_id and hasattr(
self.env[message.model], 'message_get_email_values'

Loading…
Cancel
Save