Code Monkey home page Code Monkey logo

odoo-s3's Introduction

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.

odoo-s3's People

Contributors

bolstycjw avatar marclijour avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.