Repository
OCA/server-env · module folder · Try on Runboat
Module version
1.0.2
Category
Tools
Folder size
1.53 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/server-env
Last tracking update
2026-08-07 09:06:26
Authors
Camptocamp, Odoo Community Association (OCA)
Maintainers
Camptocamp, Odoo Community Association (OCA)
Committers
Iván Todorovich, Weblate, OCA-git-bot, Raf Ven, Eric Lembregts, oca-ci, Eugene Molotov
Odoo dependencies
odoo/odoo:
Python dependencies
None
System dependencies
None
Required by
fs_storage, image_tag, mail_environment, server_environment_ir_config_parameter, storage_backend, webservice_server_env
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*').

Code Analysis

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…