Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 1.3 KB

README.md

File metadata and controls

34 lines (24 loc) · 1.3 KB

odoo-s3

Dependencies

odoo-s3 uses boto3 to talk to Amazon S3. 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/marclijour/odoo-s3

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 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>

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

Additional Information and Credits

This code is forked from brolycjw's repository who ported the original code from tvanesse to Odoo v10.0, and moving from boto to boto3.