From 69028f9997beff5caa847240819825f5076e8e18 Mon Sep 17 00:00:00 2001 From: Wolfgang Taferner Date: Tue, 30 May 2017 12:05:11 +0200 Subject: [PATCH] [FIX] google_calendar: fix wrong recurrency field name used when updating event Google API: recurrence | Odoo field: recurrency Closes #17307 . --- 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 acd214703b8..48950928199 100644 --- a/addons/google_calendar/google_calendar.py +++ b/addons/google_calendar/google_calendar.py @@ -525,7 +525,7 @@ class google_calendar(osv.AbstractModel): if type == "write": res = calendar_event.write(cr, uid, event['id'], result, context=context) elif type == "copy": - result['recurrence'] = True + result['recurrency'] = True res = calendar_event.write(cr, uid, [event['id']], result, context=context) elif type == "create": res = calendar_event.create(cr, uid, result, context=context)