[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:
parent
4ed5d6517c
commit
644bb3d674
|
@ -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": {
|
||||
|
|
Loading…
Reference in New Issue