[FIX] iap_mail: Remove messageIsHtml from IAP failure notification

Before the fix:
When we don't have enough credits for Bill Digitalization,
try to scan expense from expense app (or upload bill from billing).
Instead of getting 'Not enough credits for Bill Digitalization',
we are getting 'Odoo Client Error'.

That is because messageIsHtml is no more prop to component 'Notification'.

closes odoo/odoo#84701

Signed-off-by: Arnaud Joset <arj@odoo.com>
This commit is contained in:
sofiagvaladze
2022-02-16 16:57:20 +00:00
parent ee82585b4f
commit f6030aeecc
@@ -39,7 +39,6 @@ export const iapNotificationService = {
const message = Markup`<a class='btn btn-link' href='${notif.url}' target='_blank' ><i class='fa fa-arrow-right'></i> ${env._t("Buy more credits")}</a>`;
notification.add(message, {
type: notif.error_type,
messageIsHtml: true,
title: notif.title
});
}