Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
850 Zobrazení

Al minuto 5:00 del tercer video de Getting Started, llamado Google Calendar Sync. El instructor está colocando al URL de la base de datos de prueba en Authorized JavaScript Origins. ¿en donde sale la URL de la base de datos que estoy usando?

Avatar
Zrušit
Autor Nejlepší odpověď

Gracias, funcionó correctamente. 

Avatar
Zrušit
Nejlepší odpověď

Step 1: Configure Google API Access

  1. Create a Google API Project:
    • Navigate to the Google API Console.
    • Click on Select a project and then New Project.
    • Name the project (e.g., "Odoo Sync") and click Create.​
  2. Enable the Google Calendar API:
    • In the left menu, select APIs & Services > Library.
    • Search for Google Calendar API, select it, and click Enable.​
  3. Configure OAuth Consent Screen:
    • In the left menu, go to APIs & Services > OAuth consent screen.
    • Choose External for user type (unless using a Google Workspace account).
    • Fill in the required fields: App name, User support email, and Developer contact information.
    • Click Save and Continue, skipping the Scopes step.
    • In the Test users section, add the email addresses that will use the integration.
    • Click Save and Continue to finalize.​
  4. Create OAuth Credentials:
    • Go to APIs & Services > Credentials.
    • Click Create Credentials > OAuth client ID.
    • Select Web application as the application type.
    • Name the credentials (e.g., "My Odoo Database").
    • Under Authorized JavaScript origins, add your Odoo instance URL (e.g., https://yourdomain.com).
    • Under Authorized redirect URIs, add https://yourdomain.com/google_account/authentication.
    • Click Create and note the Client ID and Client Secret.

Step 2: Configure Odoo

  1. Enable Google Calendar Integration:
    • In Odoo, navigate to Settings > General Settings.
    • Under Integrations, check the box for Google Calendar.
    • Enter the Client ID and Client Secret obtained from Google.
    • Click Save.
  2. Synchronize Calendars:
    • Open the Calendar app in Odoo.
    • Click on the Google sync button.
    • Authorize Odoo to access your Google Calendar when prompted.

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
3
čvc 25
260
2
čvc 25
996
1
kvě 25
753
0
kvě 25
898
0
dub 25
855