Google Calendar sychronization

Estimated reading: 3 minutes 68 views

Introduction

Connecting Odoo with Google Calendar allows seamless, two-way synchronization of calendar events, making sure meetings and appointments created in one platform are reflected in the other. This is especially useful for professionals who manage schedules across multiple systems.

Step-by-Step Instructions

 

1. Setup in Google

Select (or create) a Google API project

  • Go to the Google API Console.
  • Log in and click Select a projectNew Project.
  • Name it (e.g., Odoo Sync) and click Create.

Enable Google Calendar API

  • Go to APIs & ServicesEnabled APIs and services.

 

Configure OAuth Consent Screen

  • Navigate to OAuth Consent Screen.
  • Choose:
    • User Type: External (Personal Gmail users must use External).
  • Follow the guided setup:
    • App name: Odoo
    • User support email: your email
    • Add contact info
    • Agree to terms → click Create

Set Authorized Domains

  • Go to BrandingAuthorized domains → Add your domain (e.g., com).

Add Test Users

  • In OAuth Consent ScreenTest Users, click Add Users and enter your test Gmail accounts.

 

2. Create Credentials

3. Setup in Odoo

  • Go to SettingsCalendar
  • Enable Google Calendar
  • Paste the Client ID and Client Secret into their respective fields
  • Click Save

4. Sync Calendar in Odoo

  • Go to the Calendar app in Odoo.
  • Click the Google sync
  • Log into your Google Account.
  • Allow permissions (you may need to bypass the “unverified app” warning).

Tips

  • Always test sync using a test Gmail account and Odoo test database before going live.
  • Bi-directional sync: Changes in either Odoo or Google Calendar reflect both ways.
  • Google may send email invites/cancellations automatically when events are edited in Odoo.
  • In Google, select Don’t Send to avoid invite emails for events created manually.
  • Make sure the base.url in Odoo matches the domain used in Google OAuth redirect URI.

Key Benefits

  • Real-time, two-way sync between Google and Odoo Calendars.
  • Automatic email invites through Google for event participants.
  • Unified calendar view, ensuring users never miss a meeting.
  • Efficient meeting and scheduling management inside Odoo.

Troubleshoot Sync

  • Go to Settings appManage Users → select a user → Calendar tab
  • Click Reset Account under the Google Calendar section

Reset Options

Option

Description

Leave them untouched

Keep events as-is

Delete from Google Calendar

Delete all synced events from Google

Delete from Odoo

Delete all synced events from Odoo

Delete from both

Remove all events from both platforms

  • Real-time, two-way sync between Google and Odoo Calendars.
  • Automatic email invites through Google for event participants.
  • Unified calendar view, ensuring users never miss a meeting.
  • Efficient meeting and scheduling management inside Odoo.

    Next Sync Behavior

    Option

    Description

    Synchronize only new events

    Sync newly added events only

    Synchronize all events

    Re-sync everything from both calendars

    After selecting options, click Confirm.

     

    Google OAuth FAQ

     

    1. Publishing Status Warning

    “OAuth is limited to 100 sensitive scope logins…”

    • Fix: Go back to Testing mode if you don’t need verification immediately

    2. 403 Access Denied

    No test users added

    • Fix: Go to OAuth consent screen and add test users

    3. 400 Redirect URI Mismatch

    Application type was set to Desktop App

    Also ensure that your Odoo’s web.base.url system parameter matches exactly.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Learn how we helped 100 top brands gain success