From afc496c288d478465300aef79edb239103e9389b Mon Sep 17 00:00:00 2001 From: Emanuel Cino Date: Thu, 13 Oct 2016 11:21:03 +0200 Subject: [PATCH] [FIX] Author of mail.notification when using notification templates --- mail_notification_email_template/models/mail_notification.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mail_notification_email_template/models/mail_notification.py b/mail_notification_email_template/models/mail_notification.py index 0083b7fa..8657c480 100644 --- a/mail_notification_email_template/models/mail_notification.py +++ b/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'