diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2019-02-08 09:52:47 +0000 |
|---|---|---|
| committer | Lucas Perais (lpe) <lpe@odoo.com> | 2019-02-08 09:52:47 +0000 |
| commit | 79d8aef2a19c6de28c47b3edb8824ee5707ae8a0 (patch) | |
| tree | 1613de6e74824307931eca10aa4767f71150b14e /addons | |
| parent | b5c7099b9562721cd00f4626e78df0bda3db0fb4 (diff) | |
[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
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/calendar/static/src/js/base_calendar.js | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
