Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
647 Vistas

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
Descartar
Autor Mejor respuesta

Gracias, funcionó correctamente. 

Avatar
Descartar
Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
jul 25
791
1
may 25
617
0
may 25
742
0
abr 25
718
1
abr 25
1334