Skip to content
Health
83/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 2 months ago
  • Required by15/25
    1 module depends on it
  • Maturity18/25
    In 3 Odoo series since 18.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
1
Modules depending on it
External deps
3 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.03 MB
Module directory on disk
Code analysis 0 migration notes 2 models 0 views 0 HTTP endpoints

Description

This addon extends the functionality of the fs_storage module to allow the system to use Microsoft Drives (OneDrive, Sharepoint) as a storage backend.

All the interactions with Microsoft SharePoint are done through the Microsoft Graph API, which is a RESTful web API that enables you to access Microsoft Cloud service resources. To authenticate with Microsoft Graph, the addon uses the OAuth 2.0 protocol, which is a standard for authorization that allows third-party applications to access user data without exposing their credentials. All the calls are done using the credentials of the odoo user performing the action, which means that the user must have linked their Microsoft SharePoint account to Odoo in order to use this addon. See the microsoft_drive_account module documentation for more information on how to link a Microsoft Drive account to an Odoo user.

When calls are made to the Microsoft Graph API through this addon, the addon will check if the credentials are still valid. If they are not, it will refresh them using the refresh token that was obtained during the initial authentication process. This means that the user does not have to re-authenticate every time their credentials expire, as long as they have granted permission for Odoo to refresh their credentials.

Dependencies

Odoo dependencies
Python dependencies
fsspec>=2025.0.0, msgraphfs, fsspec>=2024.5.0
System dependencies
None
Required by
fs_folder_ms_drive

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 0

No views found for this module.

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 2

New fields (0)

No new fields.

Public methods (1)
  • update_refresh_token_on_user(self, res, client=None, db_name=None, user_id=None)
    @api.model

New fields (0)

No new fields.

Public methods (0)

No public methods.

Loading…

Loading…