OdooWiki OCA HUB

Storage File Environment

storage_file_environment folder_open OCA/storage open_in_new
Storage License: LGPL-3

Glue module for storage_file to use storage_backend_environment

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Lets administrators configure storage file settings (filename strategy, serving method, base URL, URL directory inclusion) through server environment variables instead of typing them in Odoo.

This is a glue module that connects two other modules: one that manages storage backends and files, and one that reads configuration from server environment variables. It does not add any new screen or menu of its own.

What changes for users:

  • Four settings on a storage backend can now be supplied by the server environment rather than entered manually in Odoo: the filename strategy, how files are served, the base URL, and whether the directory path is included in the URL.
  • When the module is installed, the system preserves any existing values that are not managed by the environment, so previously configured backends are not wiped out.
  • If the module is later uninstalled, the database columns that had been taken over by the environment configuration are restored, so the settings become editable in Odoo again.

It touches the storage.backend model only. There are no new menus, buttons, reports, scheduled jobs, or emails. The behaviour is limited to configuration handling at install and uninstall time, plus exposing those four fields to the environment-based configuration mechanism.

Text generated by AI (DeepSeek) from reading the Odoo 18.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: 1 confirmed, 8 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.