Storage & Files · Odoo 16.0+

Google Drive Storage Sync for Odoo

Offload Odoo attachments to Google Drive automatically — reduce database size and give your team cloud access to every ERP file.

Google Drive Storage Sync for Odoo

What is the Google Drive Storage Sync for Odoo?

The KSROlabs Google Drive Storage Sync for Odoo is a native Odoo module that automatically uploads Odoo record attachments to Google Drive using secure service account authentication. It eliminates ERP database bloat by offloading binary file storage to Google Drive, mirrors the Odoo record hierarchy as Drive folder structure, and lets users open files in Drive directly from the Odoo interface. Compatible with Odoo 16.0+ Community and Enterprise, with no manual export steps required.

What's included

☁️

Automatic Attachment Sync

Upload Odoo record attachments to Google Drive automatically on save — no manual export steps, no cron job configuration needed.

📉

Reduce Database Size

Offload binary file data from the Odoo PostgreSQL database to reduce storage costs and improve Odoo backup and restore performance.

🗂️

Structured Folder Mapping

Mirror the Odoo record hierarchy (model → record name → files) in Google Drive folder structure so files stay organised and findable.

🔒

Secure Service Account

Uses Google Cloud service account authentication for secure, non-interactive server-to-server file sync without OAuth pop-ups.

🔁

Bi-Directional Visibility

View Drive files from within the Odoo interface and open them directly in Google Drive with one click — no switching between systems.

🧹

Attachment Cleanup

Optionally remove local Odoo copies after successful upload to Google Drive, keeping the Odoo database lean and storage costs low.

Ready to connect Odoo?

Install the Google Drive Storage Sync for Odoo from the Odoo App Store — pricing available on the listing. Free setup support included with every purchase.

Frequently asked questions

Common questions about the Google Drive Storage Sync for Odoo.

What is the Google Drive Storage Sync for Odoo?

The KSROlabs Google Drive Storage Sync for Odoo is a native Odoo module that automatically uploads file attachments from Odoo records to Google Drive. It uses Google Cloud service account authentication for secure, non-interactive sync. Files are organised in Drive using the same hierarchy as your Odoo records — model, then record name, then files. Users can view and open Drive files directly from within Odoo without switching applications. Compatible with Odoo 16.0+ Community and Enterprise editions.

How does Odoo sync files to Google Drive?

When a file is attached to an Odoo record, the module automatically uploads it to the configured Google Drive destination using a Google Cloud service account. The service account is configured once in Odoo settings with a JSON key file and the target Drive folder ID. The module creates subfolders matching the Odoo record structure so every file is stored in a predictable, organised location. No manual steps, no CSV exports, no cron job setup is required.

Does the module delete files from Odoo after uploading to Drive?

This is configurable. You can set the module to keep local copies in Odoo after uploading to Google Drive, or to remove local copies to reclaim database space. The optional cleanup mode is useful for Odoo instances with large attachment volumes where database size is a concern. Before enabling cleanup, we recommend confirming your Google Drive backup strategy is in place, since files removed from Odoo will exist only in Drive.

Does the Odoo Google Drive integration require admin access to Google Workspace?

No. The module uses a Google Cloud service account rather than a Workspace admin account. You only need access to the Google Cloud Console to create a service account and enable the Google Drive API. The service account is granted access to the specific Drive folder you choose — no organisation-wide admin rights are needed. This service account approach is more secure than OAuth because there are no user-facing sign-in prompts or token expiry issues.

Which Odoo versions are supported?

The Google Drive Storage Sync module is built and tested on Odoo 16.0 and above, including Odoo 17 and Odoo 18. It works with both Odoo Community and Odoo Enterprise editions. All standard Odoo attachment models are supported. For specific version compatibility, check the Odoo App Store listing or contact us directly.

Does it work with Odoo Community or only Enterprise?

The module works with both Odoo Community and Odoo Enterprise editions. All standard Odoo record types that support file attachments — sales orders, invoices, contacts, purchase orders, projects, and custom models — are compatible. There are no Enterprise-only dependencies in the module. The attachment infrastructure is part of Odoo's core ORM, which is identical across Community and Enterprise.

Is there a file size limit?

The module itself does not impose file size limits. Practical limits come from two sources: your Google Drive storage quota, which depends on your Google Workspace or personal Drive plan, and your Odoo server's upload limit, which is typically configurable in your Odoo deployment settings. For organisations regularly handling large files such as CAD drawings, video assets, or large PDFs, Google Drive storage is substantially cheaper than Odoo database storage.

How are Odoo files organised in Google Drive?

The module mirrors the Odoo record hierarchy in Google Drive folder structure. For each model type (for example, sale.order or account.move), a top-level folder is created. Inside that, a subfolder is created for each record using the record name or reference. Files attached to that record are stored inside the record folder. This makes files predictable and searchable in Drive, and means your Drive storage stays organised even as your Odoo database grows.

Can I still view files in Odoo after they are stored in Google Drive?

Yes. The module maintains links between Odoo records and their Drive files. From within Odoo, users can see that a file exists and open it directly in Google Drive with one click. This bi-directional visibility means users do not need to leave Odoo to access files. If you choose to retain local copies in Odoo as well, the file is accessible both within Odoo and in Drive.

Does syncing Odoo files to Drive reduce my Odoo database size?

Yes, significantly, when you enable the optional local copy removal. Odoo stores file attachments as binary data directly in the PostgreSQL database, which causes database size to grow quickly in operations with many document attachments. By offloading attachments to Google Drive and removing local copies, you reduce database storage costs, speed up Odoo database backups, and improve overall Odoo performance. This is particularly impactful for manufacturing, logistics, and document-heavy finance teams.

What happens to files already in Odoo before installing the module?

The module includes a bulk migration tool for existing attachments. After installation and configuration, you can trigger a one-time migration that uploads all existing Odoo attachments to Google Drive. You control whether local copies are retained or removed after migration. Files added after installation are synced automatically on save. KSROlabs includes free setup support with every purchase to help configure the migration for your specific environment.

Is the Odoo to Google Drive sync secure?

Yes. All file transfers use HTTPS encryption. The module authenticates using a Google Cloud service account with access limited to the specific Drive folder you configure — it cannot access other Drive content. Odoo's record-level and field-level security is respected: only users authorised to access a record in Odoo will be able to trigger file uploads for that record. Every sync action is logged in Odoo for operational visibility.

Explore all KSROlabs modules

Ten production-grade Odoo integrations for AI, analytics, storage, and commerce.

View all modules →