Overview
Replaces local file storage with Dropbox cloud storage for attachments. OAuth2 authentication, migration wizards, batch processing, and automatic local cleanup.
Key Features
- OAuth2 authentication with automatic token refresh
- Connection pooling for better performance
- Specific error handling for Dropbox API errors
- Automatic upload to Dropbox for large files
- Migration wizard for existing attachments
- Automatic cleanup of local files
- Added OAuth2 refresh token support (tokens auto-refresh)
- Added connection pooling for better performance
- Improved error handling with specific exception types
- Added authorization wizard for easy OAuth2 setup
Extends Existing Models
ir.attachment
Adds 3 fields:
Adds actions: action_migrate_to_dropbox
Documentation
README for Dropbox Filestore Integration Module
Overview
The Dropbox Filestore Integration Module for Odoo allows you to save attachments directly to Dropbox, reducing database space usage and improving file management. This module integrates seamlessly with Odoo's existing attachment system, providing a user-friendly interface for managing Dropbox credentials and settings.
Features
- Save Odoo attachments to Dropbox instead of the local file system.
- Configuration settings for Dropbox credentials within the Odoo interface.
- Migration wizard to transfer existing attachments from the local file system to Dropbox.
- Scheduled actions for periodic synchronization and cleanup tasks.
Installation
1. Clone the repository or download the module files.
2. Place the `dropbox_filestore` directory in your Odoo addons path.
3. Install the required Python packages listed in `requirements.txt`:
pip install -r dropbox_filestore/requirements.txt
4. Update the Odoo app list and install the "Dropbox Filestore" module from the Odoo interface.
Configuration
After installation, navigate to the module's configuration settings to enter your Dropbox API credentials. This will allow the module to authenticate and interact with your Dropbox account.
Usage
Once configured, all new attachments will be saved to your Dropbox account. You can also use the migration wizard to move existing attachments from the local file system to Dropbox.
License
This module is licensed under the terms of the Odoo Community Association (OCA) license.
Support
For support, please open an issue in the repository or contact the module maintainer.