Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3 Risposte
1044 Visualizzazioni

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
Abbandona
Autore Risposta migliore

Gracias, funcionó correctamente. 

Avatar
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
3
lug 25
559
2
lug 25
1157
1
mag 25
872
0
mag 25
1043
0
apr 25
969