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

pull/105/head
Emanuel Cino 2016-10-13 11:21:03 +02:00
parent c6588471ab
commit afc496c288
1 changed files with 1 additions and 0 deletions

View File

@ -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'