Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 1229 |
Technical Name |
google_sheet_integration |
License | OPL-1 |
Versions | 16.0 17.0 18.0 |
Google Sheet Integration
Seamlessly export and import Odoo data to and from Google Sheets. Authenticate via a Google Cloud Service Account, push your exports directly into new or existing Sheets, and pull in cleaned data with full support for one2many relationships.
Getting Started
Set up your Google Cloud credentials in just a few steps
-
1. Register & Sign In:
Visit the Google Cloud Console and sign in with your Google account.
- 2. Create a Service Account:
- Go to IAM & Admin â Service Accounts â Create Service Account.
- Enter a name (e.g. âodoo-google-sheetâ), then click Create and continue â Done.
- 3. Manage Keys:
- Next to your new service account, click the â® (Actions) menu â Manage Keys.
- 4. Create JSON Key:
- Click Add Key â Create new key, choose JSON, then Create.
- Your browser will download a JSON credentials fileâstore it securely.
- 5. Enable the Google Drive API:
- In the Cloud Console, go to APIs & Services â Library.
- Search for âGoogle Drive APIâ and open its page.
- Click Enable. This allows your Service Account to create and share spreadsheets.
- 6. Enable the Google Sheets API:
- Still under APIs & Services â Library, search for âGoogle Sheets API.â
- Click its entry and then Enable. This grants read/write access to sheet data.
Export & Import Actions
See how the Google Sheet buttons appear in Odoo

1. Export â Google Sheet
The standard Odoo export dialog now shows a âGoogle Sheetâ option.

2. Import â Google Sheet
The import wizard offers a âUpload Google Sheetâ button where you paste your sheet link and pick the
worksheet to import.
Odoo Configuration
Set up Google API credentials and configure periodic exports
Step 1: Upload Service Account Credentials
In Odoo Settings, upload the JSON key file you downloaded from Google Cloud Console and authorize email addresses that should have access to the exported sheets.

Step 2: Configure Periodic Exports
Create scheduled exports to automatically push data from any Odoo model to Google Sheets at regular intervals (daily, weekly, monthly, or hourly).

Key Features of Periodic Exports
- Flexible Scheduling - Export data hourly, daily, weekly, or monthly
- Advanced Filtering - Apply domain filters to select specific records
- Field Selection - Choose exactly which fields to include in your export
- Incremental Updates - Optionally export only new/changed records
- Record Limit - Control the number of records exported per job
- Automatic Sheet Creation - Sheets are created automatically on first export
Ready to sync your Odoo data with Google Sheets?
Required Python Library
Before using this module, make sure to install the necessary Google authentication library:
pip install google-auth google-auth-oauthlib google-auth-httplib2
pip install google-api-python-client
This library allows your Odoo server to authenticate securely with Google Cloud using service account keys and connect with google sheet api.

Scan QR or click to message us instantly.
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module