Cloud Drive: Attachments to Cloud Storage, Folder Rules, Two-Way Sync, File Explorer, Share Links
by Viyug Infotech https://viyuginfotech.com$ 130.39

Odoo attachments in your own drive, filed by customer, year and record.
Cloud Drive moves the attachments of your invoices, orders, projects and contacts to your own storage, in folders such as Customers / Acme / 2026 / Invoices. Odoo keeps the link, so opening and previewing files works as before. Files added in the drive folder appear in the record chatter, conflicts keep both versions, and partners get share links to download and upload.
Verified offload Two-way sync File explorer
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).
Your database should not be a file server
Scans, photos and signed PDFs make the Odoo filestore grow every month, backups get slow, hosting plans run out of space, and the team keeps a second copy in a shared drive anyway.
Before
- Filestore grows by gigabytes
- Same documents copied by hand into a shared drive
- Files sent by customers stay in e-mails
- No way to give a customer just the files of one order
After
- Files move to your drive, Odoo keeps the link
- Folders per customer, year and document, created automatically
- Files dropped in the drive folder appear on the record
- Share link per record with download, upload and expiry
How it works
Connect a drive
Local / NAS folder, S3, SFTP, Google Drive or Dropbox, tested in the wizard.
Choose folder rules
Which records, which path. Folders appear for new records by themselves.
Files move, verified
New and existing attachments go to the drive; Odoo keeps the link.
Work from both sides
Files added in the drive reach the chatter; partners use share links.
What you get
Product images from a drive folder
Drop photos named like the internal reference, barcode or product name into a drive folder: they become the main image, _1, _2 ... the extra eCommerce images. Preview first, then hourly sync of new and changed files only.
Folder rules per model
Customers/
Verified offload
A file leaves the Odoo storage only after the drive copy is checked by checksum or by reading it back. Content changed meanwhile? It stays.
Transparent for users
Attachments stay on the record. Preview, download and e-mail attachments work as before; Odoo reads the content from the drive.
Two-way sync
New and changed files in a record folder appear in its chatter. Moved files follow to the new record. Change feeds where the drive has one.
Conflict copies
Changed in Odoo and in the drive since the last sync? Both versions are kept and the record says so; keep either version with one click.
Resumable big uploads
Files go in 8 MB chunks; a broken upload resumes from the last confirmed chunk instead of starting over.
Migration of existing files
Dry run per model, then batches of 200 in the background, with pause, resume, progress and retries. The same engine restores everything back.
File explorer
Browse the drive from Odoo, or open the folder of any record from its chatter. Upload by drag and drop, new folders, download, restore.
Share links
Per record: expiry, optional password, download counter and access log, ZIP of all files, partner upload straight into the chatter.
Queue with dead letters
Idempotent jobs with exponential backoff, rate-limit pauses, dead letters with Retry and Skip, sync log per record.
Health dashboard
Files in each drive, megabytes freed, queue, dead letters, conflicts and migration progress, updated live.
Access rules
Users see the folders of records they can read; whole drives only for managers and chosen groups. Multi-company record rules.
Setup wizard
Connect, test, pick folder rules from ready templates, see the dry run and start.
Local and NAS folders included
A folder on the server or a mounted NAS share works out of the box; S3, SFTP, Google Drive and Dropbox are add-ons.
How it compares
| Feature | This app | Typical alternatives |
|---|---|---|
| Per-model folder rules with fields, dates and filters | Yes | Yes |
| Local copy freed only after a verified drive copy | Yes | No |
| Uninstall blocked while files live only in a drive | Yes | No |
| Two-way sync into the record chatter | Yes | Sometimes |
| Conflict copies: both versions kept | Yes | No |
| Resumable chunked uploads | Yes | Rarely |
| Migration with dry run, pause and resume | Yes | Rarely |
| Share links with expiry, password, upload and access log | Yes | Partly |
| Dead letters with retry, live health dashboard | Yes | Logs only |
| No extra Python package for the engine | Yes | Sometimes not |
| Product images from a drive folder (reference, barcode or name, extra images) | Yes | Separate app |
| Preview of image matches and hourly sync of changed files only | Yes | No |
Setup in 5 steps
Install Cloud Drive and the add-on of your storage (the local / NAS folder needs none).
Cloud Drive > Configuration > Connect a drive: enter the access, the wizard tests it.
Tick invoices, bills, orders, projects ... and adjust the paths.
See how many files and megabytes each model has, then start.
Cloud Drive > Health shows progress, queue and anything that needs attention.
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
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, customers and documents.
Connect a drive
Cloud Drive > Configuration > Connect a drive. Choose the storage (here an S3 bucket with the S3 add-on; a local or NAS folder works without add-on), give it a root folder and enter the access. The hint under the form explains every provider.

Pick the records and their folder paths
After the connection test passes, the wizard proposes folder rules for the apps you use: customer invoices, vendor bills, sales and purchase orders, projects, tasks, contacts. Tick what goes to this drive, edit the paths and choose Move (free Odoo storage) or Copy.

See the dry run, then start
Before anything moves, the wizard counts the existing files and megabytes per rule. Start sends them in the background in batches of 200; new files follow automatically from now on.

The migration runs in the background
The drive shows the queue filling and emptying, with Pause and Resume. It survives restarts: the cursor remembers the last file queued. Each file is only freed in Odoo after its drive copy was verified.

One health dashboard for all drives
Files per drive, megabytes freed in Odoo, record folders, queue, dead letters, conflicts and migration progress, updated live without reloading. A drive with problems turns amber.

Folder rules with real paths
A rule turns any record into a folder path: Customers/

Users open files as before
A click on an attachment of the sales order opens the usual viewer. The PDF comes from the bucket: Odoo freed its own copy after the upload was verified and fetches the content when someone opens it. Download and e-mail attachments work the same way.

The record folder, one click from the chatter
Every record covered by a rule has a Drive button in its chatter. It opens the record folder: status of each file (in drive only, in both, conflict), preview, download, restore, upload by drag and drop, share.

Browse the whole drive from Odoo
Managers browse every folder of a drive: Customers > Acme Corporation > 2026 > Sales, one folder per order, each linked to its Odoo record.

Files added in the drive reach the record
A colleague saved the signed contract into the order folder of the bucket. At the next drive check it appears on the sales order with a chatter note, ready to preview, without anyone touching Odoo.

Both sides changed? Both versions are kept
The vendor quote was edited in Odoo and replaced on the NAS since the last sync. Instead of overwriting, Odoo keeps its version, attaches the drive version as a conflict copy and explains it in the chatter. Keep either one from Drive files with one click.

Share the record folder with the customer
Share in the explorer creates a link for this record: choose the contact, expiry date, optional password, and whether the partner may upload. Send by email uses a ready template.

The customer downloads and sends files back
The partner opens the link without an Odoo account: your logo, the files of the order, single downloads or a ZIP, and an upload box. Every access is logged on the link.

Partner uploads land in the chatter and the drive
The file the customer sent is attached to the order with a note from the customer, and the queue stores it in the drive folder like any other attachment.

Sync log with retries and dead letters
Every upload, check, migration step and backup is a job with its result. Network errors retry with growing delays; jobs that cannot succeed (here: a changed NAS password) become dead letters with a Retry button once the cause is fixed.

Product photos in a drive folder
Your photographer or supplier drops the pictures into a folder of any connected drive (here the office NAS): VD-1001.jpg for the product with internal reference VD-1001, VD-1001_1.jpg for its second picture, 5901234123457.png by barcode, arc-floor-lamp.png by product name.

Preview every match before anything changes
Configuration, Product images: choose the drive and folder and the name rules. Preview matches lists each file with its product, the rule that matched and whether it becomes the main or an extra image; files without a product or matching several products are shown too, nothing is changed yet.

Import, then hourly sync of changed files only
Import now downloads the matched files and sets the images; the chatter keeps a summary of each run. Scheduled sync checks the folder every hour and downloads only new and changed files, so a replaced photo updates the product by itself.

Main and extra images in the shop
With eCommerce installed, the _1, _2 ... files become the extra images of the product page, in their number order.

Questions
How are photos matched to products?
By file name, in this order: internal reference, barcode, then the product name written as a slug (Large Oak Desk = large-oak-desk). A file named exactly like the product is the main image; _1, _2 ... are extra images (eCommerce). Files that match no product or several products are listed and left alone. Every drive type works: NAS, S3, SFTP, WebDAV, Google Drive, Dropbox, OneDrive.
Can a file get lost when it is moved to the drive?
No. The local copy is only freed after the drive copy is verified: by the checksum the drive reports (MD5, SHA, Dropbox content hash) or by downloading it again and comparing SHA-1. If the content changed during the upload, the local copy is kept. The module also refuses to be uninstalled while files live only in a drive: restore them first with one button.
Do users notice that files moved?
No. Attachments stay on the record with the same name and size. Opening, previewing, downloading and e-mailing them works as before: Odoo fetches the content from the drive when needed.
What happens when someone deletes a file in the drive?
Files that exist only in the drive are never deleted in Odoo: the record gets a warning in its chatter and the file is flagged "Deleted in drive" so it can be restored from the drive trash. For copy-mode folders you can choose to mirror deletions.
How fast does two-way sync react?
Providers with a change feed (Google Drive, Dropbox) are read every few minutes (15 by default, adjustable), others are polled folder by folder, oldest first. "Sync now" runs it at once.
Does it need Odoo Enterprise?
No. It runs on Community and Enterprise and does not touch the Enterprise Documents app.
Does it work on Odoo.sh?
Yes. The queue runs in small time slices and resumes where it stopped, so it respects the worker time limits. SFTP needs the paramiko package (add it to requirements.txt).
Which files are moved?
Files attached to records of the models you choose in folder rules (invoices, orders, projects, contacts ...), optionally filtered (only posted invoices, only one company). Field images such as product pictures stay in Odoo.
Can I go back?
Yes. "Restore all to Odoo" brings every moved file back into the Odoo storage and switches the drive to copy mode; one file can also be restored from the explorer.
Extensions
One engine, one add-on per storage. 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.
You are hereCloud 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 appCloud Drive Documents
Two-way sync of Odoo Enterprise Documents folders with any of these drives.
View appNeed a hand?
Questions about folder rules, 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 open the live demo, chat on WhatsApp or write us an email:

Live demo
apps-demo.viyuginfotech.com
/try-demo?app=viyug_cloud_drive

+91 83207 42187

Send us an email
Release notes
Product images from a drive folder
- Match by internal reference, barcode or product name; _1, _2 ... become extra eCommerce images
- Preview of matches, manual import and hourly sync of new and changed files only
- Log of matched, unmatched and ambiguous files
Initial release
- Drives with provider interface, local / NAS folder included
- Folder rules, verified offload, migration and restore
- Two-way sync with conflict copies, resumable uploads
- Explorer, share links with partner upload
- Queue with dead letters, health dashboard, setup wizard
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 4197 |
| Technical Name |
viyug_cloud_drive |
| 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