summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src
diff options
context:
space:
mode:
authorAurélien (avd) <avd@odoo.com>2020-10-09 13:56:17 +0000
committerYannick Tivisse <yti@odoo.com>2020-12-10 13:42:53 +0000
commit04aa586a53c2b78cf6646d96d29cbd1e8969de3f (patch)
treece9898a39cd55e21e855f16bdeb580d8d57db97c /addons/web_editor/static/src
parent528adfb313ab3c8d4aeb3309aa7371301ab8085e (diff)
[Fix] google_calendar: fix owner attendee being deleted
Currently when creating a calendar.event with google sync switched on and without adding another attendee, the event is immediatly removed from the calendar view. This is because the user_id is filtered out of the attendee_ids before sending the values to google calendar. Then, at the next sync, google response attendees list does not contain the user_id so Odoo turns that into a [(3, id)] command. Thus, the corresponding event disappear from the current calendar view even though it is still in the DB. This fix is essentially the same as the one implemented in the microsoft_calendar addons available from 14.0 onwards. It adds the calendar owner if the event organizer is not null. This way, even though the owner is not sent as an attendee, it is not removed after google's response. closes odoo/odoo#63167 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons/web_editor/static/src')
0 files changed, 0 insertions, 0 deletions