Permalink
Browse files

[FIX] mail: Failed mail notification wrong 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 660be7d9a428aaf3557ddb0176e576d924abef3d
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 660be7d

Please sign in to comment.