Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 781 |
Technical Name |
bista_aws_s3_file_storage |
License | OPL-1 |
Website | https://www.bistasolutions.com |
Versions | 13.0 14.0 |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 781 |
Technical Name |
bista_aws_s3_file_storage |
License | OPL-1 |
Website | https://www.bistasolutions.com |
Versions | 13.0 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.
Features
- This module provides functionality to upload any types of attachments to AWS S3 instead of the database or in your local directory.
- This Module will automatically create a bucket in AWS S3 based on your company name and also create folders for manage directory inside the bucket.
- User can easily specify that which object-related attachments files should be upload on AWS s3.
- This module feature will reduce local file storage size and database size.
- It is useful as external file storage.
- Support MultiCompany hence it will create s3 bucket based on company name automatically to S3.
- Synchronous behaviour for all crud operation of create update and delete from Odoo itself.
- Can also push old attachments to s3 with auto push to dedicated bucket.
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.

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.
Once it saves, click on Set Domains smart button for a set custom domain.

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


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.

As you can see the file that we
had attached at the beginning,
(screenshot-1) that file has
been uploaded in AWS s3
bucket.

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

As you can see, the file has
been uploaded in the Sales
Order folder.

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
Report comment
Any abuse of this reporting system will be penalizedThere are no ratings yet!
es migracion o copia de seguridad que consume desde s3 ?
¿Puedo enviar todos los datos (imágenes, documentos, etc.) de mi ODOO al S3 y también los que solo yo elijo?
Puedo consumir directamente mis archivos o archivos adjuntos desde el S3 sin que lo tome de la base de datos local
Funciona para la versión 14
¿Y 16 también?
hi this module works on v15 enterprise?
Interested
Hi, Are the files in the S3 bucket encrypted or they can be viewed directly from the bucket?
PrePurchase question
Is this module creating some kind of folder structure for attachments?
I need to have all customers files in his folder, from sale orders, from task etc attached to single customer.