}
# 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"}
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):