summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/js
diff options
context:
space:
mode:
authorJorge Pinna Puissant <jpp@odoo.com>2019-01-11 10:11:43 +0000
committerJorge Pinna Puissant <jpp@odoo.com>2019-01-11 10:39:33 +0000
commit2ce4ccd0865e05d8fe6b079fecb319caf65c2d2e (patch)
treeb5b0afdcf57a69cc3af34c67f7219b9817496dc3 /addons/mail/static/src/js
parent73ebe68486bb6892d001f15e9ed4a8bf4aee8766 (diff)
[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
Diffstat (limited to 'addons/mail/static/src/js')
-rw-r--r--addons/mail/static/src/js/models/mail_failure.js2
1 files changed, 1 insertions, 1 deletions
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;
},