Cloud Drive WebDAV: Store Odoo Attachments on Nextcloud, ownCloud or a WebDAV NAS
by Viyug Infotech https://viyuginfotech.com$ 184.08

Odoo attachments on your Nextcloud, ownCloud or WebDAV NAS.
Connect Viyug Cloud Drive to the Nextcloud or ownCloud your team already uses, or to any WebDAV share such as a Synology or QNAP NAS. Odoo files each document in its record folder, reads every upload back before freeing its own copy, and files your colleagues save in Nextcloud appear on the record.
Nextcloud / ownCloud Chunked uploads Read-back check
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 team already works in Nextcloud
Documents live in Nextcloud folders on the web, the desktop client and the phone app, while Odoo keeps its own copies. Keeping both in step by hand never works for long.
Before
- Same PDFs copied by hand between Odoo and Nextcloud
- Filestore grows with every scan
- Big uploads break on slow lines
- Files saved in Nextcloud never reach the record
After
- Odoo files documents into Customers / Azure Interior and so on
- Odoo frees its copy after a verified upload
- Uploads continue from the last confirmed chunk
- Files saved in the record folder appear in the chatter
How it works
App password
Create an app password in Nextcloud (or a user on the NAS).
Connect in Odoo
Server address, user and password; the test shows the free space.
Odoo files documents
Into Customers / Azure Interior and so on, verified.
Work from both sides
Files saved in Nextcloud appear on the record.
What you get
Nextcloud and ownCloud
Server address, user and app password. The user id is discovered, files go to that user's Files under the root folder.
Any WebDAV share
Synology or QNAP NAS, Hetzner Storage Box, Koofr, pCloud, Apache mod_dav: the full WebDAV address is enough.
Resumable chunked uploads
Files above 8 MB use the Nextcloud chunked upload: a broken connection resumes from the last confirmed chunk.
Atomic writes elsewhere
On other servers each file is written as a hidden part file and renamed when complete, so nobody opens half a file.
Read-back check
Every upload is read back and compared (SHA-1) before Odoo frees its own copy. Quota shown at the connection test.
Nextcloud to Odoo
Files saved into a record folder in Nextcloud are attached to the record with a chatter note.
How it compares
| Feature | This app | Typical alternatives |
|---|---|---|
| Nextcloud / ownCloud / any WebDAV | Yes | Often one of them |
| Resumable chunked uploads | Yes | No |
| Part file and atomic rename | Yes | No |
| Read-back verification before freeing Odoo storage | Yes | No |
| Two-way: Nextcloud files reach the record | Yes | Sometimes |
| No extra Python package | Yes | Sometimes not |
Setup in 5 steps
Install Cloud Drive WebDAV (Cloud Drive comes with it).
Nextcloud: Settings > Security > Devices & sessions > Create new app password.
Cloud Drive > Configuration > Connect a drive > WebDAV.
Pick the records whose files go to Nextcloud.
Send the existing files, then work from both sides.
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_webdav
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 Nextcloud
Connect a drive > WebDAV: choose Nextcloud / ownCloud or another WebDAV server, enter the server address, the user and an app password. The hint explains both cases.

Tested and connected
The test logs in, finds the Nextcloud user id, creates the root folder and shows the free space. The drive lists its folder rules, the files moved and the sync log.

Every upload verified
Drive files lists each document with its record and how it was checked: read back (SHA-1) for the files Odoo sent, drive original for the file a colleague saved in Nextcloud.

In Nextcloud: one folder per record
Seen from the Nextcloud web interface: Odoo / Customers / Azure Interior with the quotation and the signed order uploaded by Odoo, and the site photos a colleague saved there.

Saved in Nextcloud, shown in Odoo
The site photos reached the Azure Interior record with a chatter note at the next drive check, ready to preview, without anyone touching Odoo.

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
Do I need a Nextcloud app?
No. Plain WebDAV, which every Nextcloud and ownCloud speaks. No Python package either.
Does it work with a Synology NAS?
Yes: enable WebDAV Server on the NAS and use its WebDAV address with the "Other WebDAV server" option.
Can I use calendars and contacts of the same Nextcloud?
Yes, with CalDAV CardDAV Sync, sold separately.
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.
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 appCloud Drive Documents
Two-way sync of Odoo Enterprise Documents folders with any of these drives.
View appCloud Drive WebDAV
Nextcloud, ownCloud or any WebDAV share / NAS, chunked uploads.
You are hereNeed 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 chat on WhatsApp or write us an email:

+91 83207 42187

Send us an email
Release notes
Initial release
- WebDAV drives for Nextcloud, ownCloud and any WebDAV share
- Nextcloud chunked uploads with resume
- Part file with atomic rename on other servers, read-back check
- Two-way folder sync, links to the Nextcloud web interface
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Community Apps Dependencies | Show |
| Lines of code | 4448 |
| Technical Name |
viyug_cloud_drive_webdav |
| 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