Cloud Storage Sync | Google Drive Sync, OneDrive Sync, Dropbox Sync, SharePoint, S3, WebDAV | Folder Rules, Cloud File Manager
by Modvanta$ 29.42

One cloud folder per customer, order or invoice - and every attachment in it
Folder rules build the folder tree from your Odoo records, on any model. The attachments in each record's chatter sync to that folder on Google Drive, OneDrive or SharePoint, Dropbox, Box, Amazon S3, WebDAV (Nextcloud, ownCloud, NAS) or a mounted share, in one direction or both. Browse it all in a file manager inside Odoo, share it with customers through the portal or an expiring link, and free Odoo storage once a copy is verified.
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
A folder rule says which records get a cloud folder (a model, a filter, an optional period such as the last 90 days) and how the folder is named, for example {date_order:%Y}/{name}. Rules can nest: sales orders inside their customer's folder. Every matching record gets its folder, with default subfolders and default files, and new records get theirs on the next pass.
The record's own attachments - the files in its chatter - are synced to that folder. Files dropped into the cloud folder appear on the record with a note in the chatter; files moved to another record's folder follow; a file changed on both sides is kept twice instead of overwritten. Large files go up in resumable chunks.
Optionally the Odoo copy is removed once the cloud copy has been downloaded again and compared byte for byte. The attachment stays on the record and opens, previews and e-mails as before: Odoo reads it from the cloud. One button brings every file back.
Document workspaces from Document Workspace keep their own two-way mapping, as in earlier versions. No extra Python package is needed: everything is HTTPS through requests, which Odoo already ships.
Who it is for
Teams that live in Drive or SharePoint Quotes, contracts and invoices filed by customer and year, where people already look. | Companies whose filestore keeps growing Scans and photos move to S3, a NAS or Dropbox; Odoo keeps the link and the backup shrinks. | Businesses that exchange files with customers Customers download and upload the files of their own orders in the portal or by link. |
Key features
All screenshots were taken on an Odoo 19 bench with demo data and the module's network-share provider (a directory on the server). The Google Drive account shown holds placeholder credentials and was not connected; Google Drive, OneDrive, Dropbox and Box are tested against request and reply shapes taken from their API references.
Feature 1
Cloud file manager in Odoo
A folder tree of every rule, record and manual folder you may open, with the files of the selected folder, their size, tags and cloud state.
Upload with a button or by drag and drop
New folders, Sync Now, Open the record
Open in the Cloud for services with a web interface

Feature 2
Move, tag and download in bulk
Select files to move them to another folder, tag them, or download the selection as one ZIP archive.
Download a whole folder or a selection as ZIP
Moving a file re-attaches it to the target record

Feature 3
Find files by tag
Tags work across folders: one click lists every file with that tag that you may read, with the record it belongs to.
ZIP of every file with a tag

Feature 4
Folder rules, on any model
Model, filter, period, root folder, naming pattern, parent rule, direction, conflict policy, type and size filters, and the customer field for the portal. The example shows the path of a real record.
Dry Run counts records, files and megabytes first
Apply to existing records in batches, with Pause and Resume

Feature 5
Files from the cloud land in the chatter
A file saved into the record's cloud folder is attached to the record with a note. When a file changed in Odoo and in the cloud, both versions are kept and the chatter says so.
Moved in the cloud to another record's folder? It follows
Folders created in the cloud appear in Odoo

Feature 6
Free Odoo storage, safely
With Free Odoo Storage on, a file is uploaded, downloaded again and compared before the filestore copy is removed - after the database commit, never before. It stays on the record and opens as before.
A file that exists only in the cloud is never deleted in Odoo
Restore Files brings everything back; uninstalling is refused until then

Feature 7
Share links with expiry, password and log
Share a record folder or chosen files. Every link expires (at most a year), can carry a password, counts downloads and logs every access.
Send by Email to the recipients
Revoke at any time
Ten wrong passwords lock the link for 15 minutes

Feature 8
The page your recipient sees
No account needed: the files of the share, one by one or as a ZIP, and an upload box when you allow it. Uploads land on the record and in its cloud folder.
Expired, revoked or unknown links show a not-available page

Feature 9
Customer portal: Shared Files
Portal customers see the folders of their own company's records - on the rules you mark for the portal - and may upload into them if the rule allows it.
Another customer's folder or file answers 404, whatever the URL

Feature 10
Account health
Each account shows files in step, files only in the cloud, megabytes freed, conflicts, queued transfers and transfers given up, with Sync Now and Add Ready-made Rules.
Followers are notified when a connection fails or a transfer is given up

Feature 11
Instant sync by webhook
Google Drive change notifications and Microsoft Graph subscriptions are registered from the account; Dropbox webhooks are added in its app console. Every call is verified before it triggers a sync, and channels are renewed before they expire.
Drive channel token, Graph clientState and Dropbox signature are checked

Feature 12
Storage analysis
Synced files by rule and account, as a chart or pivot, including how much lives only in the cloud.
Transfer Queue with Retry and Skip for dead letters

How it works, step by step
| 1 | Install the module Document Workspace and Portal come with it. A Cloud Sync menu appears under Documents. |
| 2 | Connect a cloud account Choose the service, enter the keys of your own app and click Connect, or point it at a mounted share. Test Connection. |
| 3 | Add folder rules Add Ready-made Rules creates customers, sales, invoices, bills, purchases, projects, tasks and opportunities for the apps you have; adjust names, filters and directions. |
| 4 | Dry run, then apply See how many records and megabytes a rule covers, then Apply to Existing Records. The scheduler works through them in batches. |
| 5 | Work as before Attach files in the chatter; they reach the cloud folder. Files saved in the cloud reach the chatter. Open the File Manager to browse, tag, share and download. |
Settings at a glance
| Setting | Where | What it does |
|---|---|---|
| Direction | Rule / folder | Odoo to the cloud, the cloud to Odoo, or both ways |
| Conflict policy | Rule / folder | Keep both versions, flag for a person, Odoo wins, the cloud wins |
| Propagate deletions | Rule / folder | Off by default; files only in the cloud are never deleted |
| Free Odoo storage | Rule / folder | Remove the filestore copy after a verified upload |
| Allowed extensions, largest file | Rule | Which attachments are synced |
| Show in the portal, customers may upload | Rule | Portal access by customer field |
| Only these users / groups | Manual folder | Limit a manual folder |
| Instant Sync (Webhook) | Account | Push notifications for Drive, OneDrive and Dropbox |
Security
Secrets, keys and tokens are readable by Settings administrators only; cloud managers run accounts without seeing them.
A folder follows the access to its record: who cannot read the sales order cannot open its folder, list it or download it as ZIP.
Portal and share routes only serve files of the caller's own records or of the share; other ids answer 404 (covered by IDOR tests).
Share tokens are 256-bit, compared in constant time, and always expire; passwords are stored as salted PBKDF2 hashes.
Webhooks are signature or secret checked before anything happens; uploads refuse executable and HTML types and files above 25 MB.
Multi-company record rules on accounts, rules, folders and share links.
FAQ
Do I need Odoo Enterprise or the Documents app?
No. It runs on Community and Enterprise and uses Document Workspace, which installs with it. Folder rules work on any model, such as contacts, sales, invoices or projects.
Can a file get lost when Odoo storage is freed?
The Odoo copy is removed only after the cloud copy has been downloaded again and matched byte for byte, and only after the database has committed. If the cloud copy is deleted later, Odoo keeps the attachment and warns in the chatter. Restore Files brings the bytes back, and the module refuses to uninstall while files exist only in the cloud.
What happens when a file is changed on both sides?
By default both versions are kept: Odoo's stays, the cloud's is attached as a copy, and the chatter explains it. You can also flag it for a person, or let one side win.
Which services were tested how?
The engine runs against a real directory in the automated tests and on the bench, and S3 and WebDAV adapters were run against real servers. Google Drive, OneDrive, Dropbox and Box are tested against request and reply shapes from their API references; connect your own app and press Test Connection to check yours.
Is it real time?
The scheduler runs every 15 minutes, oldest folders first, and a new attachment marks its folder for the next pass. With Instant Sync, a change in Drive, OneDrive or Dropbox triggers the sync right away.
Does it need any pip install?
No. Every service is reached over HTTPS with the requests library Odoo already ships.
Compatibility
Odoo 19.0 Community and Enterprise, on premise and Odoo.sh
Depends on Document Workspace and Portal
Google Drive (incl. shared drives), OneDrive, OneDrive for Business, SharePoint, Dropbox, Box, Amazon S3, MinIO, Wasabi, Google Cloud Storage, WebDAV, Nextcloud, ownCloud, NAS and mounted shares
242 automated tests, run with and without demo data
Give every record its cloud folder
Questions before you buy, help with setup, or a change for your own workflow - write to us and a developer answers.
SUPPORT | AUTHOR Modvanta | INCLUDED Module, setup help by e-mail |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Community Apps Dependencies | Show |
| Lines of code | 6342 |
| Technical Name |
mdv_document_cloud_sync |
| License | OPL-1 |
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