Cloud Storage Sync | Google Drive Sync, OneDrive Sync, Dropbox Sync, SharePoint, S3, WebDAV
by Modvanta$ 29.91

Keep Odoo document workspaces in step with your cloud storage
Map a document workspace to a folder on Google Drive, OneDrive or SharePoint, Dropbox, Box, Amazon S3 or any S3-compatible store, WebDAV (Nextcloud, ownCloud, most NAS) or a directory on the server. Files go both ways, and a file changed on both sides is flagged for a person instead of overwritten.
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
Cloud Storage Sync adds cloud accounts and synced folders to the Document Workspace module. An account holds the credentials of one service; a synced folder links one workspace to one remote path, with a direction - both ways, Odoo to the cloud, or the cloud to Odoo - and a conflict policy.
Sync Now (or the scheduled job) uploads new and changed Odoo documents and downloads new and changed remote files into the workspace. A file changed on both sides since the last run is handled by the conflict policy; the default flags it, and a person chooses Keep Odoo's or Keep the cloud's.
Every run is written to the sync history with its trigger and the number of uploads, downloads, conflicts and failures, and every file has a link record with its remote path and state. No extra Python library is needed: the module talks to the services over HTTPS with requests.
Who it is for
Teams on Google Workspace or Microsoft 365 Documents filed in Odoo and also available in Drive, OneDrive or SharePoint. | Companies with a NAS or Nextcloud Scans dropped in a share appear in the right Odoo workspace. | Archiving and backup Push workspaces to an S3 bucket or other S3-compatible storage. |
Key features
All screenshots were taken on Odoo 19 with this module and Document Workspace installed. The synced folders used the module's local-directory provider on the bench; the S3 and Google Drive accounts hold placeholder credentials and were not connected.
Feature 1
Cloud accounts
Each account shows its service, number of synced folders, last check and state, with a Test button.
Local directory or mounted share, Amazon S3 or compatible, Google Drive and more

Feature 2
Network share or server directory
Point an account at a directory the Odoo server can write to, typically a mounted network share. Test Connection checks it; nothing outside that directory can be reached.
No cloud account needed for this provider

Feature 3
Amazon S3 and S3-compatible storage
Bucket, region, endpoint, access key and secret key. The endpoint can point at MinIO, Wasabi, Ceph or another S3-compatible store.
Secret fields stay masked

Feature 4
Google Drive with OAuth 2.0
Enter the client ID and secret of your own app registration, copy the redirect URI, and authorise once to obtain the refresh token. Root folder or drive ID can be set.
Only managers can read the stored credentials back

Feature 5
Synced folders
Each link shows account, workspace, remote path, direction, number of files, conflicts and queued items, the last sync and the state, with a Sync button.
Both ways, Odoo to the cloud, or the cloud to Odoo

Feature 6
Direction, conflict policy and file list
Set the direction, the conflict policy and whether deletions propagate. The Files tab lists every synced file with its remote path and state; the Queue tab shows pending work.
Flag it for a person: nothing is overwritten without a decision

Feature 7
Resolve conflicts
Here the expense report was edited in Odoo and on the share before the next run. The conflict list offers Keep Odoo's or Keep the cloud's for each file.
Conflicts button on the synced folder

Feature 8
Synced files
All file links across accounts with folder link, remote path, Odoo document and state, and the conflict buttons inline.
Retry a failed file

Feature 9
Sync history
Every run with time, account, folder link, trigger (by hand or scheduled) and the counts of uploads, downloads, conflicts and failures.
State per run

Feature 10
Files from the share in the workspace
The scanned receipt saved into the Finance folder on the share was downloaded into the Finance workspace as a document, next to the files uploaded from Odoo.
Workspaces and documents from Document Workspace

How it works, step by step
| 1 | Install the module It installs Document Workspace. A Cloud sync menu appears in Documents. |
| 2 | Add a cloud account Choose the service, enter the credentials or authorise with OAuth, and click Test Connection. |
| 3 | Link a workspace Create a synced folder: workspace, remote path, direction and conflict policy. |
| 4 | Sync Click Sync Now, or let the scheduled job run. Check the sync history and resolve conflicts when flagged. |
Settings
On each cloud account and synced folder.
| Local directory | Absolute path of a directory the Odoo server can write to. |
| Amazon S3 or compatible | Bucket, region, endpoint, access key, secret key. |
| OAuth services | Client ID, client secret, redirect URI, refresh token, root folder or drive ID. |
| Synced folder | Account, workspace, remote path, direction, conflict policy, propagate deletions. |
Frequently asked questions
Which services are supported?
Google Drive (including shared drives), OneDrive, OneDrive for Business and SharePoint, Dropbox, Box, Amazon S3 and S3-compatible stores, Google Cloud Storage through its S3 API, WebDAV (Nextcloud, ownCloud, most NAS) and a directory on the Odoo server.
Do I need to install Python libraries?
No. The module uses requests, which Odoo already ships, so it also works on hosted Odoo.
What happens when a file changes on both sides?
With the default policy it is flagged as a conflict and nothing is overwritten until someone chooses Keep Odoo's or Keep the cloud's.
Can I sync in one direction only?
Yes. Each synced folder can go both ways, Odoo to the cloud only, or the cloud to Odoo only.
Are deletions synced?
Only when Propagate deletions is switched on for the synced folder.
Compatibility
Odoo 18 Community and Enterprise | Document Workspace installed with it | 9 targets 7 adapters | 138 tests run on install |
Connect your Odoo documents to your cloud storage
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 | 2977 |
| 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