Skip to Content
Menu
v 18.0 Third Party 4
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 316
Technical Name google_sheet_importer
LicenseLGPL-3
Websitehttps://www.linkedin.com/in/jothimani-r/
Versions 12.0 13.0 14.0 15.0 16.0 17.0 18.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 316
Technical Name google_sheet_importer
LicenseLGPL-3
Websitehttps://www.linkedin.com/in/jothimani-r/
Versions 12.0 13.0 14.0 15.0 16.0 17.0 18.0

Google Sheet Importer

Dynamic models and field mapping with the ability to import multiple Google Sheets into any Odoo model and fields using scheduled actions (cron).

Getting Started

To set up the Google Sheet Importer module, you must enable the Google Sheets API and create a Google Service Account for authentication.

Steps to Set Up Google Sheets API and Service Account

Step 1: Enable Google Sheets API and Create a Service Account

  1. Go to the Google Cloud Console.
  2. Create a new project or select an existing one.
  3. Navigate to APIs & Services > Library.
  4. Search for Google Sheets API and click Enable.
  5. Next, navigate to APIs & Services > Credentials.
  6. Click on Create Credentials and choose Service Account.
  7. Enter a name for your service account (e.g., "Odoo Google Sheet Importer") and click Create.
  8. In the "Grant this service account access" section, choose a role such as Editor and click Continue.
  9. Click Done after the service account is created.

Step 2: Download the Service Account Credentials

  1. In the Credentials page, find your service account.
  2. Click on the service account and go to the Keys tab.
  3. Click on Add Key > Create New Key.
  4. Choose JSON as the key type and click Create.
  5. The credentials `.json` file will be downloaded automatically. Store it securely.

Step 3: Share Your Google Sheets with the Service Account

  1. Open the Google Sheet that you want to import data from.
  2. Click the Share button in the top-right corner.
  3. Share the sheet with the email address in the `.json` file, which will look like: your-service-account@your-project-id.iam.gserviceaccount.com.
  4. Grant Editor access to the service account.

Screenshots

Screenshot 1: Module Installation

Screenshot 2: Activating Developer Mode

Screenshot 3: Granting Access to the user

Screenshot 4: Open Google Sheet Importer from Home Menu

Screenshot 5: Copy Google Sheet ID from the URL

Screenshot 6: Configure the API credentials and other details such as Target Model, field mappings, schedule

Screenshot 7: Search the related scheduled action

Screenshot 8: Import logs available on Chatter

Screenshot 9: Successful Import

Screenshot 10: New column on Google Sheet

Screenshot 11: Multiple Google Sheets

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.