[FIX] google_calendar: field 'class' has been renamed during migration new api

This commit is contained in:
Jeremy Kersten
2016-11-14 15:20:15 +01:00
parent 1659ee7196
commit bd78bb878e
+1 -1
View File
@@ -513,7 +513,7 @@ class google_calendar(osv.AbstractModel):
'name': single_event_dict.get('summary', 'Event'),
'description': single_event_dict.get('description', False),
'location': single_event_dict.get('location', False),
'class': single_event_dict.get('visibility', 'public'),
'privacy': single_event_dict.get('visibility', 'public'),
'oe_update_date': update_date,
})