From 3050e35d31d30a0329dd2abdeb0875edcfdbb9a4 Mon Sep 17 00:00:00 2001 From: Jeremy Kersten Date: Tue, 24 Feb 2015 18:18:25 +0100 Subject: [PATCH] [FIX] google_calendar: don't send mail from calendar when date has been changed. If a meeting has been changed in google, a mail has been already sent. --- addons/google_calendar/google_calendar.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/google_calendar/google_calendar.py b/addons/google_calendar/google_calendar.py index 1e40b708b58..14847b5402d 100644 --- a/addons/google_calendar/google_calendar.py +++ b/addons/google_calendar/google_calendar.py @@ -502,6 +502,7 @@ class google_calendar(osv.AbstractModel): rrule = [rule for rule in single_event_dict["recurrence"] if rule.startswith("RRULE:")][0][6:] result['rrule'] = rrule + context = dict(context or {}, no_mail_to_attendees=True) if type == "write": res = calendar_event.write(cr, uid, event['id'], result, context=context) elif type == "copy":