Permalink
Browse files

[FIX] mail: Failed mail wrong notification title

opw-1921686

The failed mail notification group all the records of the same
model that failed to send an email.

Before this commit, the failed mail notification displayed as
title the name of the last record that failed to send an email.

Now, the notification displays as title the model name.
  • Loading branch information...
jpp-odoo committed Jan 11, 2019
1 parent 6be112a commit 058e7dc1cb5efa3daeff3692a63216470fea95a3
Showing with 1 addition and 1 deletion.
  1. +1 −1 addons/mail/static/src/js/models/mail_failure.js
@@ -83,7 +83,7 @@ var MailFailure = Class.extend(Mixins.EventDispatcherMixin, ServicesMixin, {
documentModel: this._documentModel,
id: 'mail_failure',
imageSRC: this._moduleIcon,
title: this._recordName,
title: this._modelName,
};
return preview;
},

0 comments on commit 058e7dc

Please sign in to comment.