| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 2932 |
| Technical Name |
cs_gcs_document_management |
| License | LGPL-3 |
| Website | https://code-sparks.odoo.com |
| Versions | 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 2932 |
| Technical Name |
cs_gcs_document_management |
| License | LGPL-3 |
| Website | https://code-sparks.odoo.com |
| Versions | 18.0 19.0 |
Google Cloud Storage
by Code Sparks
Store Odoo attachments in Google Cloud Storage (GCS) with a clean, business-friendly folder structure (e.g. Sales Orders, Invoices). Uploads can be organized by model and record to keep storage clear and consistent. This improves storage scalability, centralizes files in GCS, and keeps Odoo lightweight.
Google Cloud Storage (GCS) Integration for Odoo Attachments
GCS Document Management integrates Odoo with Google Cloud Storage to store binary attachments in GCS while maintaining an organized folder hierarchy. Files can be saved as Root / Model / Record / File (e.g. Sales Order / S00069 / Order - S00069.pdf) for a clean and predictable storage structure.
Explore this module
Overview
The Google Cloud Storage module stores Odoo attachments in Google Cloud Storage (GCS) while keeping your files organized using a clear, business-friendly folder structure.
- Upload and store binary attachments in GCS.
- Organize files by model and record (e.g. Sales Order / S00069 / â¦).
- Keep a consistent folder naming structure across business records.
- Centralize storage in GCS for scalability and easier management.
- Maintain metadata and links back to the originating Odoo record.
Features
Store Odoo attachments securely in Google Cloud Storage (GCS).
Clean folder hierarchy by model and record (e.g. Sales Order / S00069 / â¦).
Flexible folder mapping for clean business-wise file organization.
Keep metadata linked to the original Odoo record and attachment.
Automatic upload handling for supported models and attachments.
Compatible with Odoo Community, Enterprise, and Odoo.sh deployments.
Google Cloud Storage setup guide
For Google Cloud Storage setup, this module includes a step-by-step guide in doc/GOOGLE_CLOUD_SETUP.md (inside the module folder). Open that file for detailed instructions on creating a project, bucket, service account, permissions, and configuring Odoo.
Screenshots
01
Install module/application.
02
Once the module is installed, go to
Settings > Users & Companies > Users and open a specific user.
In the user form, select the appropriate access rights for this module.
For the Administrator user, access is auto-selected as Manager.
03
Once access rights are set, go to
Settings > Google Cloud Storage.
Enable "Enable GCS Document Storage" by setting it to True.
Then fill in all the required configuration details to complete the setup.
04
If you want to use cloud storage, enable the
"Use Cloud Storage" checkbox so documents can be stored in the cloud.
If you want to store documents directly to cloud at creation time, enable
"Upload New Files Immediately". Then whenever a new file is created in Odoo,
it is uploaded to cloud storage automatically.
05
This module also includes a storage location indicator for attachments.
It clearly shows whether each file is stored in Odoo or in
Google Cloud Storage (GCS), so you can quickly identify where your documents are kept.
06
If you want to transfer all documents stored in local Odoo storage to cloud,
or from cloud back to local storage, use the two transfer features:
"Transfer Odoo to Cloud" and "Transfer Cloud to Odoo".
While a transfer is running, you can open this page in another tab and use
"Stop transfer" to cancel after the current file.
07
Once configuration is complete, you can use multiple menus:
Folders, All Documents, My Documents, Favorites,
GCS Attachments, and Local Attachments.
Folders: folders created in cloud storage.
All Documents: all docs/files stored or transferred to cloud.
My Documents: docs where the user is owner or creator.
Favorites: favorite folders and files.
GCS Attachments: attachments synced to cloud.
Local Attachments: attachments currently stored in Odoo.
08
From the Folders menu, you can see the list of folders. For each specific folder, you also get the count of files and subfolders.
09
Once you open a folder, you get several features.
In the header, smart buttons let you mark the folder as a favourite, and show the
list and totals of subfolders and files.
On the form view you can review GCS details.
In the notebook, the Contents page lists all files and subfolders in that folderâyou can
download any file and open subfolders from there.
The header also includes Sync From GCS to sync that specific folder, and an Upload button
to add documents directly into that folder.
10
Under the Action menu you will find two entries: Upload Document and
Synchronize from GCS.
Upload Document opens a wizard where you can set Target Folder, Tags, and
Description, then upload the file to that specific folder.
Synchronize from GCS opens a wizard with three sync modes:
Sync Specific Folder (choose a folder, and whether to include subfolders),
Sync All Folders (sync the full folder tree),
and Import New Files Only (only new objects added in the cloud are imported into Odoo).
At the bottom you can enable Delete Orphaned Records: if a document is removed from the cloud,
the corresponding record can be removed from Odoo as well.
We will provide FREE 30 days support for any doubt, queries, and bug fixing (excluding data recovery) or any type of issues related to this module. This is applicable from the date of purchase.
Need Help with GCS Document Management?
Have questions, need technical assistance, or want to request enhancements? We're here to help you get the most out of Google Cloud Storage for storing Odoo attachments in Google Cloud Storage with a clean and predictable folder structure.
We are committed to helping you configure, secure, and optimize your GCS integration, ensuring reliable uploads and an organized storage structure for your business documents.
Before production
Before moving to production, please verify on a staging environment that this module behaves exactly as your requirements expect (uploads, sync, folder structure, and access rights). If you need help with new features or customizations, feel free to reach out to us.
Please log in to comment on this module