Glue module for storage_file to use storage_backend_environment
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Lets 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.
Depends on
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-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 18.0
Confirmed on 2026-11-03 in branch 18.0 of OCA/storage.
terminal Installation and usage
No verified informationInstallation 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.
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.