-
- Downloads
[FIX] google_calendar: use the event user token to send the request
Before this commit: it was possible to create an event for another user as
its organizer. But even if that user has a synchronized Google calendar, it
will be sent by the current user token, and it causes several issues.
The solution is to use the event's organizer token if it exists.
opw-3076595
closes odoo/odoo#110858
Signed-off-by:
Pedram Bi Ria (pebr) <pebr@odoo.com>
Showing
- addons/google_calendar/models/calendar.py 6 additions, 1 deletionaddons/google_calendar/models/calendar.py
- addons/google_calendar/models/calendar_recurrence_rule.py 8 additions, 1 deletionaddons/google_calendar/models/calendar_recurrence_rule.py
- addons/google_calendar/models/google_sync.py 13 additions, 5 deletionsaddons/google_calendar/models/google_sync.py
Loading