Fs Attachment S3

fs_attachment_s3
REPOSITORY
REPOSITORYOCA/storage
GIT
GIThttps://github.com/OCA/storage.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/storage/tree/19.0/fs_attachment_s3
VERSION
VERSION 1.2.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSStéphane Bidoul, Laurent Mignon (ACSONE), Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/storage
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:49
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-env:
    - server_environment
OCA/storage:
    - fs_attachment
    - fs_storage
odoo/odoo:
    - base
    - base_sparse_field
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES fsspec[s3]
fsspec>=2025.3.0
python_slugify
fsspec>=2024.5.0
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 IDNameModelTypeStatus
fs_storage_form_view fs.storage field Inherits fs_attachment.fs_storage_form_view
Models touched (2)

New fields (2)
  • s3_signed_url_expiration Integer
    default=30 help='The expiration time for the signed URL in seconds. Default is 30 seconds.' string='Signed URL Expiration (seconds)'
  • s3_uses_signed_url_for_x_sendfile Boolean
    help='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'
Public methods (1)
  • is_s3_storage(self)
    @property
    Check if the storage is an S3 storage.

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/storage
GIT
GIThttps://github.com/OCA/storage.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/storage/tree/18.0/fs_attachment_s3
VERSION
VERSION 1.2.1
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSLaurent Mignon (ACSONE), Weblate, OCA-git-bot, oca-ci, Vincent Hatakeyama
WEBSITE
WEBSITEhttps://github.com/OCA/storage
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:15
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-env:
    - server_environment
OCA/storage:
    - fs_attachment
    - fs_storage
odoo/odoo:
    - base
    - base_sparse_field
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES fsspec[s3]
fsspec>=2025.3.0
python_slugify
fsspec>=2024.5.0
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 IDNameModelTypeStatus
fs_storage_form_view fs.storage field Inherits fs_attachment.fs_storage_form_view
Models touched (2)

New fields (2)
  • s3_signed_url_expiration Integer
    default=30 help='The expiration time for the signed URL in seconds. Default is 30 seconds.' string='Signed URL Expiration (seconds)'
  • s3_uses_signed_url_for_x_sendfile Boolean
    help='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'
Public methods (1)
  • is_s3_storage(self)
    @property
    Check if the storage is an S3 storage.

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/storage
GIT
GIThttps://github.com/OCA/storage.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/storage/tree/17.0/fs_attachment_s3
VERSION
VERSION 1.2.1
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSLaurent Mignon (ACSONE), Weblate, OCA-git-bot, oca-ci, Vincent Hatakeyama
WEBSITE
WEBSITEhttps://github.com/OCA/storage
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:08
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-env:
    - server_environment
OCA/storage:
    - fs_attachment
    - fs_storage
odoo/odoo:
    - base
    - base_sparse_field
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES fsspec[s3]
fsspec>=2025.3.0
python_slugify
fsspec>=2024.5.0
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 IDNameModelTypeStatus
fs_storage_form_view fs.storage field Inherits fs_attachment.fs_storage_form_view
Models touched (2)

New fields (2)
  • s3_signed_url_expiration Integer
    default=30 help='The expiration time for the signed URL in seconds. Default is 30 seconds.' string='Signed URL Expiration (seconds)'
  • s3_uses_signed_url_for_x_sendfile Boolean
    help='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'
Public methods (1)
  • is_s3_storage(self)
    @property
    Check if the storage is an S3 storage.

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/storage
GIT
GIThttps://github.com/OCA/storage.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/storage/tree/16.0/fs_attachment_s3
VERSION
VERSION 3.1.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSGitHub, Laurent Mignon (ACSONE), Enric Tobella, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/storage
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:12:03
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/storage:
    - fs_attachment
    - fs_storage
odoo/odoo:
    - base
    - base_sparse_field
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES fsspec[s3]
fsspec>=2025.3.0
python_slugify
fsspec>=2024.5.0
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 IDNameModelTypeStatus
fs_storage_form_view fs.storage field Inherits fs_attachment.fs_storage_form_view
Models touched (3)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • s3_signed_url_expiration Integer
    default=30 help='The expiration time for the signed URL in seconds. Default is 30 seconds.' string='Signed URL Expiration (seconds)'
  • s3_uses_signed_url_for_x_sendfile Boolean
    help='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'
Public methods (1)
  • is_s3_storage(self)
    @property
    Check if the storage is an S3 storage.

New fields (0)

No new fields.

Public methods (0)

No public methods.