In odoo i implement aws s3 bucket to store external files in s3. in my ir_attachment s3 file url attached in url field when i uplaod a file. but here I face a problem that when I try to preview the file i can not preview it. when i click the file to preview its showing this
2025-02-02 16:02:01,812 1428 INFO aaasa werkzeug: 127.0.0.1 - - [02/Feb/2025 16:02:01] "GET /web/content/21?model=documents.document&filename=sample.pdf HTTP/1.1" 404
i got this because odoo will search the filestore to preview the file but the file is stored on s3 bucket.
in this case how can I preview the file from s3 url instead of filestore.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
Hi,
Refer the app:
https://apps.odoo.com/apps/modules/17.0/amazon_s3_connector
This Module allows to upload and download the files in Amazon S3 Cloud Storage.
Hope it helps
Check this module may help you :)
apps.odoo.com/apps/modules/17.0/aws_s3_auto_attachments
Bit Level Code: I need to be sure before I buy your app.
Can I store the attachments completly outside from Odoo filtrestore? I mean, I want to store an attachment in S3 and remove it from filestore, because I need to free filesystem space. At the same time, I need all the attachments feature to work: preview in the chatter, download it, etc.
I tested other ways, uploading it to S3, and converting the old attachment into a newone, of type URL, and creating a signed-URL from the S3 on the fly, but that one did not worked in all cases.
Can you give me more details about your app please?
We understand that the current module may not fully meet your requirements. We’d love to learn more about your specific needs so we can develop a tailored solution for you.
Feel free to contact us at bitlevelcode@gmail.com.
Waiting for You.
Thanks
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up