Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 90 |
Technical Name |
s3_attachment_manager |
License | AGPL-3 |
S3 Attachment Manager
This module provides integration with Amazon S3 for storing file attachments in Odoo.
Features
- Store file attachments in Amazon S3 instead of the local filesystem.
- Automatically retry on failure with exponential backoff and jitter.
- Fallback to local filesystem storage (optional).
Installation
Install the boto3 Python package:
pip install boto3
Install this module in your Odoo instance.
Configuration
Set the following environment variables with your S3 credentials and bucket name:
S3_ATTACHMENT_MANAGER_BUCKET=<your-s3-bucket-name> S3_ATTACHMENT_MANAGER_ACCESS_KEY_ID=<your-aws-access-key-id> S3_ATTACHMENT_MANAGER_SECRET_ACCESS_KEY=<your-aws-secret-access-key>
Replace <your-s3-bucket-name>, <your-aws-access-key-id>, and <your-aws-secret-access-key> with your actual S3 bucket name and AWS access keys.
Usage
After installing and configuring the module, file attachments in Odoo will automatically be stored in the specified S3 bucket.
Support
If you experience any issues or have questions, please open an issue on the project's GitHub repository.
License
This module is licensed under the LGPL-3.0 License. See the LICENSE file for more information.
Please log in to comment on this module
Report comment
Any abuse of this reporting system will be penalizedHow to " Set the following environment variables with your S3 credentials and bucket name", i try set env var but error "S3 credentials not configured correctly. Please set the environment variables."
Great Module - Can we migrate all existing attachments to S3
This module is fantastic! It's been working flawlessly for me. After installing it, I noticed that both the existing attachments stored in the Odoo database and the new attachments saved in S3 are working seamlessly together.
I'm curious, though—is there a method to migrate the previously uploaded attachments to S3 as well
Amazing!
Make sure to set the environment variables *before* you install the module.
Works amazingly well can only recommend to do this. that way your odoo backup will be way smaller and odoo can outsource file storage.
Best One !
Thank you !!
Tried other apps Paid/Free .. all of them was a rubbish, but this module saved my day!