From 79d8aef2a19c6de28c47b3edb8824ee5707ae8a0 Mon Sep 17 00:00:00 2001 From: "Lucas Perais (lpe)" Date: Fri, 8 Feb 2019 09:52:47 +0000 Subject: [PATCH] [FIX] calendar: notification widget new API Before this commit, when having a calendar notification, the buttons to snooze/cancel This was because the API of the widget notification changed with 07cd24b1ecf3ab8edd3fffbf2fcd3a3e685f357c The widget "text" has been changed to "message" After this commit, the buttons are present and work OPW 1923132 closes odoo/odoo#30946 --- addons/calendar/static/src/js/base_calendar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/calendar/static/src/js/base_calendar.js b/addons/calendar/static/src/js/base_calendar.js index c2e26206e4e..10ecc60cdeb 100644 --- a/addons/calendar/static/src/js/base_calendar.js +++ b/addons/calendar/static/src/js/base_calendar.js @@ -69,7 +69,7 @@ WebClient.include({ var notificationID = self.call('notification', 'notify', { Notification: CalendarNotification, title: notif.title, - text: notif.message, + message: notif.message, eventID: notif.event_id, }); self.calendar_notif[notif.event_id] = notificationID;