[FIX] google_calendar: add missing parameter to logger_info
This commit is contained in:
parent
afb91fde81
commit
c04b0443b7
|
@ -40,7 +40,7 @@ class google_calendar_controller(http.Controller):
|
|||
}
|
||||
|
||||
# If App authorized, and user access accepted, We launch the synchronization
|
||||
return gc_obj.synchronize_events(request.cr, request.uid, [request.uid], context=kw.get('local_context'))
|
||||
return gc_obj.synchronize_events(request.cr, request.uid, [], context=kw.get('local_context'))
|
||||
|
||||
return {"status": "success"}
|
||||
|
||||
|
|
|
@ -510,7 +510,7 @@ class google_calendar(osv.AbstractModel):
|
|||
else:
|
||||
_logger.info("[%s] Calendar Synchro - Done with status : %s !" % (user_to_sync, resp.get("status")))
|
||||
except Exception, e:
|
||||
_logger.info("[%s] Calendar Synchro - Exception : %s !" % exception_to_unicode(e))
|
||||
_logger.info("[%s] Calendar Synchro - Exception : %s !" % (user_to_sync, exception_to_unicode(e)))
|
||||
_logger.info("Calendar Synchro - Ended by cron")
|
||||
|
||||
def synchronize_events(self, cr, uid, ids, lastSync=True, context=None):
|
||||
|
|
Loading…
Reference in New Issue