[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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user