Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
Discuss (mail)
|
Lines of code | 372 |
Technical Name |
base_cloud_storage |
License | LGPL-3 |
Odoo Cloud Storage Addon
Seamlessly offload large binary attachments to external cloud storage â saving disk space, improving system performance, and ensuring your database remains lean and responsive.
Key Features
Automate attachment management without disrupting your workflow
Enable or disable cloud offloading right from the Settings page
Cron-driven job runs every hour to migrate old attachments
Stub records keep placeholder files with secure signed URLs
Smart Deduplication
Uploads each unique file only once - identical attachments automatically reference existing cloud objects instead of re-uploading. Saves bandwidth and storage costs.
Pluggable architecture: add new providers (Google, Azure, â¦) easily
Fully compatible with Odoo.sh, Odoo 16 (CE & EE), and on-prem deployments

1. Toggle the "Enable Cloud Storage" Switch
Control the feature from one checkbox in Settings â General Settings. Turn it on to activate
all cloud-backup routines; turn it off to keep everything local.

2. Scheduled Action for Legacy Attachments
A built-in scheduled job (cron) runs hourly to scan existing binary attachments.
Any file over your size threshold is flagged for cloud migration without manual intervention.

3. Automated Hourly Upload & Cleanup
The cron uses signed URLs to upload each file directly to your chosen provider.
After successful upload, Odoo replaces local files with lightweight placeholders and
clears the filestore to free up space.

4. Flexible Provider Selection
Select from available providers (Google, Azure), or add new providers via our plugin-style registry.
Simply implement a new provider class and it's immediately available.
How Deduplication Works
The system automatically detects duplicate files by content hash before uploading. When identical files are found:
- Only the first instance is uploaded to cloud storage
- Subsequent attachments reference the same cloud object
- Database stores minimal metadata (URL + hash) instead of full files
- Original file remains accessible through the placeholder system
This eliminates redundant storage and speeds up attachment handling for commonly used files.

Scan the QR code to chat with us instantly
Please log in to comment on this module