TIP: You can type at any time to perform a new search.
Fs Attachment S3
fs_attachment_s3 · OCA/storage
- Repository
- OCA/storage · module folder · Try on Runboat
- Module version
- 1.2.0
- Category
- Uncategorized
- Folder size
- 0.06 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/storage
- Last tracking update
- 2026-08-07 09:06:25
- Authors
- ACSONE SA/NV, Odoo Community Association (OCA)
- Maintainers
- ACSONE SA/NV, Odoo Community Association (OCA)
- Committers
- Stéphane Bidoul, Laurent Mignon (ACSONE), Weblate, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- fsspec[s3], fsspec>=2025.3.0, python_slugify, fsspec>=2024.5.0
- System dependencies
- None
- Required by
- None
- Description
This module extends the functionality of [fs_attachment](https://github.com/OCA/storage/tree/16.0/fs_attachment) to better support Amazon S3 storage. It includes features such as: - Special handling of X-Accel-Redirect headers for S3 storages. - Options for using signed URLs in X-Accel-Redirect. (This is required to be able to serve files from a private S3 bucket using X-Accel-Redirect without exposing the files publicly.) - Enforcing the mimetype of files stored in S3.
Code Analysis ⓘ
Views touched (1)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
fs_storage_form_view |
fs.storage | form | Inherits fs_attachment.fs_storage_form_view |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (2)
New fields (2)
-
s3_signed_url_expirationIntegerdefault=30help='The expiration time for the signed URL in seconds. Default is 30 seconds.'string='Signed URL Expiration (seconds)' -
s3_uses_signed_url_for_x_sendfileBooleanhelp='If checked, the storage will use signed URLs for attachments when using X-Accel-Redirect. This is useful for S3 storage where the file path is not directly accessible without authentication.'string='Use signed URL for X-Accel-Redirect'
-
is_s3_storage(self)@propertyCheck if the storage is an S3 storage.
New fields (0)
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…