mirror of https://github.com/OCA/social.git
[FIX] Author of mail.notification when using notification templates
parent
c6588471ab
commit
afc496c288
|
@ -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…
Reference in New Issue