OdooWiki OCA HUB

Filesystem Attachment Backend

fs_attachment_environment folder_open OCA/storage open_in_new
FS Storage License: AGPL-3

Glue module for fs_attachment to use fs_storage_environment

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Lets Odoo read filesystem storage settings for attachments from the server environment file instead of the database. It is a technical glue module installed automatically with the filesystem attachment and server environment modules.

This module connects two existing features: filesystem storage for attachments and server environment configuration. Once installed, the settings of a filesystem storage record can be supplied by the server's environment configuration file rather than being typed into Odoo.

The settings that can be taken from the environment are: whether directory paths are optimised, automatic garbage collection, the base URL, whether the directory path appears in the URL, whether the web server's X-Sendfile mechanism is used to serve internal URLs, whether the storage is the default one for attachments, whether database rules are forced for default attachments, and whether file names are obfuscated.

Because these values come from the environment, they are protected: the module preserves values that are not environment-managed when it is installed, and restores the database columns when it is uninstalled. A small normalisation step runs at installation so that existing storages do not break the rule about default attachment storage.

There are no new menus or screens. The module is installed automatically and works behind the scenes on the fs.storage model.

Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 3 confirmed, 6 with no information of 9 versions.

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.