Skip to content

Allows you to use an AWS S3 bucket as the primary file storage for ir.attachments in an Odoo instance.

License

Notifications You must be signed in to change notification settings

bolstycjw/odoo-s3-storage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Odoo S3 Storage

Dependencies

Odoo-S3-Storage uses boto3 to talk to DigitalOcean. You will need to install it on the host running Odoo.

Installation

Make sure you set the ODOO_ADDONS_PATH variable to the directory where you install your custom Odoo modules.

pip install boto3
cd $ODOO_ADDONS_PATH
git clone https://github.com/HP-bkeys/odoo-s3-storage.git

Compatibility

This module is compatible with Odoo 11 and Python 3. For older versions, you can refer to the original source code (see credits below).

Configuration

In order to use Odoo-S3-Storage you will need to switch to "Developer mode" and define a new system parameter as follows:

  • without encryption:
ir_attachment.location  --->  s3://<Your-AWS-Access-Key-ID>:<Your-AWS-Secret-Key>@<Your-S3-Bucket-name>&<Your-DigitalOcean-base-url>

ir_attachment.location  --->  s3://<Your-AWS-Access-Key-ID>:<Your-AWS-Secret-Key>@<Your-S3-Bucket-name>&<Your-DigitalOcean-base-url>+SSE

## Additional Information
This module is based on `Odoo-S3`(https://github.com/tvanesse/odoo-s3) and  `Odoo-S3-Storage`(https://github.com/bolstycjw/odoo-s3-storage). The code was rewritten to work with **Odoo v10.0**, uses boto3 instead of boto, and works with DigitalOcean Spaces.


About

Allows you to use an AWS S3 bucket as the primary file storage for ir.attachments in an Odoo instance.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages