Skip to content
Health
97/100
good
  • Security22/25
    1 minor finding
  • Activity25/25
    Last human commit 2 months ago
  • Required by25/25
    7 modules depend on it
  • Maturity25/25
    In 14 Odoo series since 6.1

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
7
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
1.54 MB
Module directory on disk
Code analysis 0 migration notes 3 models 0 views 0 HTTP endpoints

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
odoo/odoo:
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

New fields (0)

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

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • tech_name Char
    copy=False help='Unique name for technical purposes. Eg: server env keys.'
Public methods (2)
  • 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…