From 2ce4ccd0865e05d8fe6b079fecb319caf65c2d2e Mon Sep 17 00:00:00 2001 From: Jorge Pinna Puissant Date: Fri, 11 Jan 2019 10:11:43 +0000 Subject: [PATCH] [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. closes odoo/odoo#30134 --- addons/mail/static/src/js/models/mail_failure.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/mail/static/src/js/models/mail_failure.js b/addons/mail/static/src/js/models/mail_failure.js index 390b195f8d9..438430c752f 100644 --- a/addons/mail/static/src/js/models/mail_failure.js +++ b/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; },