[FIX] google_calendar: default timezone

If no timezone was defined for the user,
the timezone sent to Google for the events
syncrhonization was set as `False` instead
of the right default value `UTC`

opw-660171
This commit is contained in:
Denis Ledoux 2015-12-18 14:30:07 +01:00
parent 4ed5d6517c
commit 644bb3d674
1 changed files with 2 additions and 2 deletions

View File

@ -236,12 +236,12 @@ class google_calendar(osv.AbstractModel):
"start": {
type: start_date,
vstype: None,
'timeZone': context.get('tz', 'UTC'),
'timeZone': context.get('tz') or 'UTC',
},
"end": {
type: final_date,
vstype: None,
'timeZone': context.get('tz', 'UTC'),
'timeZone': context.get('tz') or 'UTC',
},
"attendees": attendee_list,
"reminders": {