From f6030aeecce36908f724e147ea672c7a86c5a49d Mon Sep 17 00:00:00 2001 From: sofiagvaladze Date: Wed, 16 Feb 2022 11:27:38 +0000 Subject: [PATCH] [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 --- .../iap_mail/static/src/js/services/iap_notification_service.js | 1 - 1 file changed, 1 deletion(-) diff --git a/addons/iap_mail/static/src/js/services/iap_notification_service.js b/addons/iap_mail/static/src/js/services/iap_notification_service.js index 82b2724e7fe..cd9098fc493 100644 --- a/addons/iap_mail/static/src/js/services/iap_notification_service.js +++ b/addons/iap_mail/static/src/js/services/iap_notification_service.js @@ -39,7 +39,6 @@ export const iapNotificationService = { const message = Markup` ${env._t("Buy more credits")}`; notification.add(message, { type: notif.error_type, - messageIsHtml: true, title: notif.title }); }