server configuration environment files
server_environment · OCA/server-env
OCA/server-tools 6.1–10.0 → OCA/server-env 11.0–19.0
-
Security22/251 minor finding
-
Activity25/25Last human commit 2 months ago
-
Required by25/257 modules depend on it
-
Maturity25/25In 14 Odoo series since 6.1
Heuristic over the facts below, not an audit · How it's computed
Description
This module provides a way to define an environment in the main Odoo
configuration file and to read some configurations from files depending
on the configured environment: you define the environment in the main
configuration file, and the values for the various possible environments
are stored in the server_environment_files companion module.
The server_environment_files module is optional, the values can be set
using an environment variable with a fallback on default values in the
database.
The configuration read from the files are visible under the Configuration menu. If you are not in the 'dev' environment you will not be able to see the values contained in the defined secret keys (by default : 'passw', 'key', 'secret' and 'token').
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- cross_connect_client, fs_storage_environment, image_tag, mail_environment, server_environment_ir_config_parameter, storage_backend, webservice_server_env
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 0
No views found for this module.
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
No new fields.
Public methods (3)-
default_get(self, fields_list)@api.model -
get_view(self, view_id=None, view_type='form', **options)@api.model -
show_passwords(self)@property
No new fields.
Public methods (0)No public methods.
-
tech_nameCharcopy=Falsehelp='Unique name for technical purposes. Eg: server env keys.'
-
create(self, vals_list)@api.model_create_multi -
write(self, vals)
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…