[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 07cd24b1ec
The widget "text" has been changed to "message"

After this commit, the buttons are present and work

OPW 1923132

closes odoo/odoo#30946
This commit is contained in:
Lucas Perais (lpe)
2019-02-08 09:52:47 +00:00
parent b5c7099b95
commit 79d8aef2a1
@@ -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;