microsoft_drive_account
⧉ View on GitHubPurpose
This addon allows the user to link their Microsoft Drive account to Odoo, storing credentials for use by other addons to perform actions on Drive as the logged-in user.
Features
- res.users: Stores Microsoft Drive authentication tokens, token validity, and connection status for each user.
- res.users: Provides methods to generate Microsoft Drive authentication URLs and initiate disconnection from Drive.
- res.config.settings: Enables configuration of Microsoft Drive client ID, client secret, and access scope.
- microsoft.service: Extends Microsoft service to define Drive-specific OAuth scopes and handle token generation for Drive.
- controllers: Handles OAuth callback for Microsoft Drive authentication and provides an endpoint to check user connection status.
- wizards: Offers a wizard to reset and clear Microsoft Drive account connections for users.
- views: Adds Microsoft Drive connection status and controls to user preference forms.