Cloud Drive Documents: Two-Way Sync of Odoo Documents Folders with S3, SFTP, Google Drive, Dropbox, OneDrive
by Viyug Infotech https://viyuginfotech.com$ย 184.08

Odoo Documents folders, synced with your drive.
Mirror Enterprise Documents folders into the storage your team already uses: S3-compatible buckets, SFTP servers and NAS shares, WebDAV and Nextcloud, Google Drive, Dropbox or OneDrive and SharePoint through the Viyug Cloud Drive family. The folder tree, new files, new versions, moves and renames go to the drive; files and folders added in the drive come back as documents.
Two-way sync Whole folder tree Any Cloud Drive storage
Requirements: Odoo Enterprise with the Documents app. Viyug Cloud Drive is installed with this app and brings the local / NAS folder storage; add the storage add-on you use (S3, SFTP, WebDAV, Google Drive, Dropbox or OneDrive & SharePoint) for other storages.
Free setup call with every purchase
After you buy, book a free 30-minute online call: we install the app with you and set it up for your company. Questions are answered within 24 hours, Monday to Saturday, at support@viyuginfotech.com or on WhatsApp (QR code at the end of this page).
Documents and the shared drive, finally in step
Teams keep files in Odoo Documents and in a shared drive at the same time. Two copies drift apart within a week.
Before
- Files uploaded twice: once in Odoo, once in the drive
- Site teams and partners work in the drive, Odoo never sees it
- Folders reorganised on one side only
- Odoo filestore keeps growing
After
- Upload once, the file appears on both sides
- Files dropped in the drive become documents in the right folder
- Moves, renames and new versions follow
- Optional move mode: the drive holds the bytes, Documents still previews them
How it works
Pick a folder
Select a Documents folder and choose Sync with cloud drive.
Choose the drive
Drive, folder in the drive, copy or move, two-way.
Tree goes out
Folders are created and every document is uploaded, verified.
Both sides stay in step
New files, versions, moves and drive changes flow both ways.
What you get
The whole folder tree
Pick a Documents folder with or without its subfolders. The same tree is created in the drive right away, empty folders included, and new Documents folders follow.
Two-way
Files dropped into a synced drive folder become documents in the matching Documents folder; folders made in the drive become Documents folders. Files changed in the drive update the document.
Moves, renames, versions
Move a document to another folder and the drive file moves too. Renames keep the file extension. A new version replaces the drive file instead of adding a second one.
Restorable deletions
A file deleted in the drive sends its document to the Documents trash; restore it and it is uploaded again. A file whose only copy was in the drive is flagged, never thrown away.
Copy or move
Keep files in both places, or free the Odoo filestore: the drive holds the bytes and Documents still previews, downloads, shares and signs them.
Business files too
Invoices, bills and other record files shown in a synced Documents folder are mirrored as well, unless their record type has its own Cloud Drive folder rule. Odoo spreadsheets stay in Odoo.
Verified, queued, logged
Uploads go through the Cloud Drive queue: provider checksum or read-back check, resumable big files, retries with backoff, dead letters, sync log and health dashboard.
Conflicts keep both
Changed in Odoo and in the drive since the last sync? Both versions are kept and the conflict waits for Keep Odoo or Keep drive.
Easy to find
In cloud drive and Cloud drive conflicts filters in Documents, a status overview per synced folder, and the Drive button on a document opens its folder in the explorer.
User guide
A step-by-step PDF guide with real screenshots: one guide for the whole Cloud Drive family, with every menu, the setup and each screen in the order you use them.
What is inside
- The apps, what each needs, the menus
- Connect a drive and move the files
- Working with files from Odoo and the drive
- Share links and partner uploads
- Product images from a drive folder
- Cloud Drive questions
- Amazon S3 and S3-compatible storage
- SFTP server or NAS
- Google Drive
- Dropbox
- WebDAV and Nextcloud
- OneDrive and SharePoint
- Odoo Documents sync
- Database backups
Open it in your browser:
viyuginfotech.com/guide/viyug_cloud_drive_documents
Scan to open the guide
PDF with screenshots, opens on your phone
Workflow walkthrough
Step by step through a real run. Real screens, fictional company and projects.
Pick a workspace
In Documents > Configuration > Workspaces select the workspace (here Client Projects) and choose Action > Sync with cloud drive. Drive managers can also start from Cloud Drive > Documents sync.

Choose the drive and how to sync
Choose the drive and the folder in the drive; the full path is shown. Include subfolders, choose Copy or Move, let drive changes come back and decide whether drive deletions go to the Documents trash. Sync now starts at once.

The queue sends the folder tree
Folders are created first, then every document is uploaded and checked (here MD5 on an S3 bucket). Each step is a line in the sync log with retries and dead letters if the storage is unreachable.

Same tree in the storage
The storage now holds Client Projects / Riverside Offices with its files and subfolders, exactly as in Documents. This is the storage's own file browser.

Drive files come back as documents
The site team dropped a snag list and a Photos from site folder into the drive. The next check created the document and the Documents folder; the chatter says where it came from.

Find what is in the drive
Documents gets two filters: In cloud drive and Cloud drive conflicts.

All synced folders at a glance
Cloud Drive > Documents sync lists every synced folder with its drive, mode and how many files are in the drive, queued or in conflict.

Setup in 5 steps
How it compares
| Feature | This app | Typical alternatives |
|---|---|---|
| Any storage: S3-compatible, SFTP / NAS, WebDAV, Google Drive, Dropbox, OneDrive | Yes | Cloud drives only |
| Copy or move, chosen per synced folder | Yes | Always move |
| Documents moves and renames followed in the drive | Yes | Often not |
| New version replaces the drive file, no duplicates | Yes | Copies pile up |
| Drive deletions go to the restorable Documents trash | Yes | Hard delete or ignored |
| Checksum check before the Odoo copy is freed | Yes | Rare |
| Conflict copies when both sides changed | Yes | Last write wins |
| Queue with retries, dead letters and sync log | Yes | Silent failures |
| Files of invoices and other records in Documents folders | Yes | Documents files only |
What you need
This app is built on Cloud Drive, another Viyug Infotech app. Odoo installs it together with this app, so you also get everything below.
Cloud Drive
Technical name viyug_cloud_drive
Moves Odoo attachments to your own drive with folder rules, two-way sync and share links.
- Folder rules per model, for example Customers/partner/year/Invoices
- Verified offload: a file leaves Odoo storage only after the drive copy is checked
- Attachments stay on the record: preview, download and email work as before
- Two-way sync of record folders into the chatter, with conflict copies
- Migration of existing files with dry run, pause, resume and retries
- File explorer and share links with expiry, password and download log



Questions
Does it need Odoo Enterprise?
Yes. Documents is an Enterprise app, so this bridge needs Enterprise. Cloud Drive itself also runs on Community.
Which storages work?
Every Cloud Drive storage: the built-in local or mounted NAS folder and the S3, SFTP, WebDAV, Google Drive, Dropbox and OneDrive & SharePoint add-ons.
How fast do drive changes arrive?
Google Drive, Dropbox and OneDrive report changes through their change feeds; other storages are checked on the interval set on the drive (15 minutes by default). Sync now checks at once.
Can I sync only part of Documents?
Yes. Each synced folder is its own entry: with Include subfolders off only that folder is synced, and a filter can limit which subfolders are included.
What about Odoo spreadsheets?
Spreadsheets are Odoo data, not files. They stay in Odoo and are not sent to the drive.
Invoices in the Finance folder?
Files of business records shown in a synced folder are mirrored too. When that record type has its own Cloud Drive folder rule (for example Customers / partner / Invoices), that rule wins and the file stays in the record folder.
What if a file changed on both sides?
Both versions are kept: the drive version is attached to the document chatter and the file waits in Cloud Drive > Conflicts for Keep Odoo or Keep drive.
Extensions
One engine, one add-on per storage, plus this bridge to Odoo Documents. Each add-on includes Cloud Drive.
Cloud Drive
The engine: folder rules, verified offload, two-way sync, explorer, share links, queue, health. Includes local / NAS folders.
View appCloud Drive S3
AWS S3, Google Cloud Storage, Cloudflare R2, Wasabi, MinIO and any S3 API bucket.
View appCloud Drive OneDrive & SharePoint
OneDrive and SharePoint libraries, site picker, delta feed, Microsoft sharing links.
View appNeed a hand?
Questions about your Documents folders, your storage or moving an existing filestore? Write to us and Viyug Infotech will get back to you.
Email support: support@viyuginfotech.com
Website: viyuginfotech.com
Scan with your phone to chat on WhatsApp or write us an email:

+91 83207 42187

Send us an email
Release notes
Initial release
- Documents folder trees mirrored to any Cloud Drive storage
- Files and folders from the drive become documents and Documents folders
- Moves, renames and new versions followed; deletions to the Documents trash
- Copy or move mode, filters in Documents, status overview
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Documents (documents)
• Discuss (mail) |
| Community Apps Dependencies | Show |
| Lines of code | 4824 |
| Technical Name |
viyug_cloud_drive_documents |
| License | OPL-1 |
| Website | https://viyuginfotech.com |
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