[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:
committed by
Thibault Delavallée
parent
5277316729
commit
025c022c03
+1
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user