Bista AWS S3 Attachment Storage

by
Odoo

146.31

v 13.0 Third Party 6
Lines of code 734
Technical Name bista_aws_s3_file_storage
LicenseOPL-1
Websitehttps://www.bistasolutions.com
Also available in version v 14.0
You bought this module and need support? Click here!
Lines of code 734
Technical Name bista_aws_s3_file_storage
LicenseOPL-1
Websitehttps://www.bistasolutions.com
Also available in version v 14.0

AWS S3 ATTACHMENT STORAGE

This module will allow to reduce the load on your server. Attachments will be uploaded on S3 depending on the domain selection that you specified in AWS configuration in Odoo settings.
So you can manage which type of attachments should be uploaded on S3.

Let's see how this can be done:
First, go to Sales > Quotation menu and open any record and attach two files as seen in below screenshot.
Feature List
After that go to Settings > General Settings, Set the AWS Key and AWS Secret Key inside the AWS S3 Configuration and click on Save button.
Once it saves, click on Set Domains smart button for a set custom domain.
Feature List
Select the S3 bucket region from the region field (Note: Once you selected region and click on Create Bucket - Sync Now, you will not be able to change region in further).
Now select the Objects in Domain field, which has attachment files and want upload on AWS s3.
As you can see in below screenshot, we have set two objects in Domain field (Sales Order, Journal Entries)
Once you select the objects in the "Domain For Chatters" field, click on "Sync Chatter Files Now" bottom and it will start the uploading chatters file to AWS S3 Bucket.
In Binary Fields tab user can see list of models and along with respected binary fields
First user need to select model which need to upload on AWS S3 bucket.
After select specific fields which user need to upload in AWS S3 Bucket.
In middle of line user can see button which will help to upload all older selected fields to AWS S3 bucket.
Feature List
Feature List
Now login into your AWS S3 account, the bucket has been created based on company name and inside that folder has been created based on objects that we had selected in the domain field.
Feature List
As you can see the file that we had attached at the beginning, (screenshot-1) that file has been uploaded in AWS s3 bucket.
Feature List
Now we have attached one more file in same record and object (sale.order) that already we had selected in the domain.
Now sale.order and account. move related all attachments files will not be store in server or local database or directory. it will directly upload to the AWS S3.
Feature List
As you can see, the file has been uploaded in the Sales Order folder.
Feature List

Contact Us

Odoo Proprietary License v1.0
This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).
You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).
It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.
The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

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 or have a question related to your purchase, please use the support page.
There are no ratings yet!
by
bella
on 3/30/21, 1:04 PM

hi... will this module helps us to upload the product images and attachments inside journal entries (old and new) to S3 bucket ?

we want to move those attachments and images to S3 and completely remove from local DB.