[FIX] mail: support html message notification

Notification service is supporting html message in it, but in simple
notification it is not triggering the html notifications. So here we add
html message support in simple notification to show the html content in it
when requested.

Before this commit: it was showinng simple text of html

After this commit: it will show the html content in notification

Task-2269743

Part-of: odoo/odoo#60605
This commit is contained in:
Nikunj Ladava
2021-09-28 16:27:16 +00:00
committed by Thibault Delavallée
parent 5277316729
commit 025c022c03
@@ -508,6 +508,7 @@ function factory(dependencies) {
this.env.services['notification'].notify({
message: data.message,
sticky: data.sticky,
messageIsHtml: data.message_is_html,
type: data.warning ? 'warning' : 'danger',
});
} else if (type === 'toggle_star') {