From bd78bb878e2c31e4bdf9a65add9c12d0dc11f5a8 Mon Sep 17 00:00:00 2001 From: Jeremy Kersten Date: Fri, 28 Oct 2016 18:23:25 +0200 Subject: [PATCH] [FIX] google_calendar: field 'class' has been renamed during migration new api --- addons/google_calendar/google_calendar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/google_calendar/google_calendar.py b/addons/google_calendar/google_calendar.py index 98181030f11..431fda40510 100644 --- a/addons/google_calendar/google_calendar.py +++ b/addons/google_calendar/google_calendar.py @@ -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, })