Author: |
brolycjw, hp-bkeys |
License: |
no license |
Branch: |
master |
Repository: |
anodino-dev/odoo-s3-storage |
Dependencies: |
base |
Languages: |
Markdown (41, 25.6%),
and
Python (119, 74.4%) |
Other repositories: |
HP-bkeys/odoo-s3-storage,
almoco/odoo-s3-storage,
bolstycjw/odoo-s3-storage,
dipakthapaofficial/odoo-s3-storage,
farzeni/odoo-s3-storage,
guyfomi/odoo-s3-storage,
rwp2/odoo-s3-storage,
and
tate11/odoo-s3-storage |
<h1>Odoo S3 Storage</h1>
<h2>Dependencies</h2>
<p><code>Odoo-S3-Storage</code> uses <a href="https://github.com/boto/boto3"><code>boto3</code></a> to talk to DigitalOcean. You will need to install it on the host running Odoo.</p>
<h2>Installation</h2>
<p>Make sure you set the <code>ODOO_ADDONS_PATH</code> variable to the directory where you install your custom Odoo modules.</p>
<p><code>
pip install boto3
cd $ODOO_ADDONS_PATH
git clone https://github.com/HP-bkeys/odoo-s3-storage.git
</code></p>
<h2>Compatibility</h2>
<p>This module is compatible with <strong>Odoo 11</strong> and <strong>Python 3</strong>. For older versions, you can refer to the original source code (see credits below).</p>
<h2>Configuration</h2>
<p>In order to use <code>Odoo-S3-Storage</code> you will need to switch to "Developer mode" and define a new system parameter as follows:</p>
<ul>
<li>without encryption:
```
ir_attachment.location ---> s3://<Your-AWS-Access-Key-ID>:<Your-AWS-Secret-Key>@<Your-S3-Bucket-name>&<Your-DigitalOcean-base-url></li>
</ul>
<p><code>
* with server-side encryption (only AES256, since [aws:kms is not supported in boto3](https://github.com/boto/botocore/issues/471)):
</code>
ir_attachment.location ---> s3://<Your-AWS-Access-Key-ID>:<Your-AWS-Secret-Key>@<Your-S3-Bucket-name>&<Your-DigitalOcean-base-url>+SSE</p>
<h2>Additional Information</h2>
<p>This module is based on <code>Odoo-S3</code>(https://github.com/tvanesse/odoo-s3) and <code>Odoo-S3-Storage</code>(https://github.com/bolstycjw/odoo-s3-storage). The code was rewritten to work with <strong>Odoo v10.0</strong>, uses boto3 instead of boto, and works with DigitalOcean Spaces.</p>
<p>```</p>