[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.
This commit is contained in:
parent
22606c8905
commit
3050e35d31
|
@ -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":
|
||||
|
|
Loading…
Reference in New Issue