From 3751379f1e9a4c215fb6eb898b4ccc67659b9ace Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Tue, 10 May 2022 21:51:50 +0700 Subject: initial commit 2 --- .../google_calendar/data/google_calendar_data.xml | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 addons/google_calendar/data/google_calendar_data.xml (limited to 'addons/google_calendar/data') diff --git a/addons/google_calendar/data/google_calendar_data.xml b/addons/google_calendar/data/google_calendar_data.xml new file mode 100644 index 00000000..d0ed9c9f --- /dev/null +++ b/addons/google_calendar/data/google_calendar_data.xml @@ -0,0 +1,23 @@ + + + + + Google Calendar: synchronization + + code + +# LUL TODO check this comment +# The context key 'last_sync_hours' allows specifying the minimum delay between consecutive syncs. +# Indeed, in case there are many users / events to sync, the cron might time out. In this case, the +# solution is to force the last_sync_hours to the expected synchronization interval expected. This +# will avoid the synchronization of users that succeeded in the previous failing cron. +model._sync_all_google_calendar() + + + 12 + hours + -1 + + + + -- cgit v1.2.3