S3 Attachment Manager

by
Odoo
v 15.0 Third Party 98
Download for v 15.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 90
Technical Name s3_attachment_manager
LicenseAGPL-3
You bought this module and need support? Click here!

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

  1. Install the boto3 Python package:

    pip install boto3
    
  2. 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

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
by
nganvo
on 4/24/24, 2:31 AM

How 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
by
Zubair H
on 4/13/24, 5:56 PM

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!
by
Josef Schmid
on 9/4/23, 5:59 AM

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 !
by
Mohammed Alwasefy
on 2/20/24, 4:37 AM

Thank you !!
Tried other apps Paid/Free .. all of them was a rubbish, but this module saved my day!