Key Features
Connect Odoo to Microsoft OneDrive â Microsoft sign-in, per-record folders, one-click upload, and optional storage offload
Microsoft sign-in
Sign in with Microsoft (Entra ID / Azure AD) via the OAuth authorization-code flow â tokens refresh automatically and never appear in the UI.
Personal & Business
Works with both personal OneDrive and OneDrive for Business â pick the account type per connection (personal, work/school, both, or a tenant).
Per-record folders
Files land in Root / Model / Record â e.g. Odoo / Sales Order / S00007 â so every record's documents stay together.
One-click actions
Upload, View, Download and Restore â from the attachment form, the kanban card, the chatter toolbar, or as a bulk list action.
Binary offloading
Replace the Odoo binary with a OneDrive link to shrink the database and filestore â and restore the bytes back any time.
Automation rules
Per-model rules auto-create folders and auto-upload new attachments on a schedule, with a configurable folder naming pattern.
Large-file uploads
Files over 4 MiB automatically use a resumable Microsoft Graph upload session â big documents transfer reliably.
Connection dashboard
See status, the connected account, the uploaded-files count and the storage-offloaded total at a glance â plus a retained activity log.
Secure & multi-company
The client secret and MSAL token cache stay Manager-only, and each company gets its own connection and root folder.
App Registration
API Permissions
Client Secret
Connection Setup
Microsoft Sign-in
Connected
Upload to OneDrive
Synced Files
User guide
Register a Microsoft app once, connect it to Odoo with a single sign-in, and start pushing attachments into per-record OneDrive folders â with optional offload and automation.
1. Register a Microsoft app
- In the Microsoft Entra admin center, create an app registration and add the Redirect URI shown on the Odoo connection (Web platform).
- Under API permissions, add Microsoft Graph delegated Files.ReadWrite.All and User.Read.
- Under Certificates & secrets, create a client secret and copy its Value.
2. Connect in Odoo
- Open OneDrive → Configuration → Connections and create a connection.
- Choose the Account Type, paste the Client ID, Client Secret (and Tenant ID if single-tenant), then click Connect Account and sign in.
- Optionally open Settings → OneDrive to set the default connection, enable offloading and log retention.
3. Upload & automate
- On any record, click Upload to OneDrive â files land under Root / Model / Record.
- Enable binary offloading to free storage, and Restore to Odoo to pull bytes back.
- Add Automation Rules per model so new attachments upload automatically on a schedule.
Frequently Asked Questions
1. Does it work on Odoo Community?
msal Python library.
2. Personal OneDrive or OneDrive for Business?
3. How are files organized in OneDrive?
Odoo / Sales Order / S00007 â so all of a record's documents stay together.
4. Can it free up Odoo storage?
5. Where are my credentials and tokens stored?
6. What about large files?
7. Can different companies use different accounts?
Module Support & SLA
Standard response time (SLA) for support queries is typically 1 to 2 working days.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 1372 |
| Technical Name |
oe_onedrive_connector |
| License | OPL-1 |
| Website | https://odooerp.ae |
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