Connect Odoo to Nextcloud or a WebDAV server
Install the Nextcloud Odoo Integration, create an app password in Nextcloud, and in Odoo enter the server address, username and app password, then click Connect. The root folder is created on the server and the chosen documents start syncing.
Workflow
How to do it in Odoo
Step 1
Create an app password
In Nextcloud or ownCloud, open Settings > Security and create an app password named Odoo. Other WebDAV servers use an account that can write to the folder.
Step 2
Run the setup wizard
In Odoo, Cloud Storage > New: choose Nextcloud / ownCloud / WebDAV, Offload or Mirror, and the documents.
Step 3
Enter the server
Choose the server type, paste the address you open in the browser, the username and the app password.
Step 4
Connect
Click Connect: the root folder is created on the server and the sync rules are ready.
Guardrails
What it takes care of
- Nextcloud and ownCloud: the WebDAV path is found from the browser address
- Generic WebDAV: full WebDAV URL
- No OAuth app or external account
- Nextcloud and ownCloud keep deleted files in their trash bin
- Files added on the server are indexed by rescan