Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
624 Widoki

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?

Awatar
Odrzuć
Autor Najlepsza odpowiedź

Gracias, funcionó correctamente. 

Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
maj 25
565
0
maj 25
698
0
kwi 25
671
1
kwi 25
1263
0
mar 25
834