Tools to manage environment-dependent configuration
Go to file
Guewen Baconnier 47f23fb308 Store the 'server.config' fields in sparse fields
This model is used only to display the configuration to authorized
users. It's a TransientModel that dynamically creates the fields for
every odoo configuration parameter, environment variables and some
system ones. Before this change, each new parameter/variable will
create a field in database, which can lead to many issues (lot of
fields, field name too long). Storing the fields in a single JSON
field resolves these issues and is much cleaner anyway.
2019-12-20 16:22:58 +01:00
carrier_environment [ADD] icon.png 2019-10-10 20:31:21 +00:00
mail_environment Translated using Weblate (Portuguese (Brazil)) 2019-09-03 01:24:00 +00:00
pos_environment [ADD] icon.png 2019-10-10 20:58:21 +00:00
server_environment Store the 'server.config' fields in sparse fields 2019-12-20 16:22:58 +01:00
server_environment_files_sample [PORT] port pos_environment to v 12.0 2019-07-31 14:09:38 +02:00
server_environment_ir_config_parameter [UPD] README.rst 2019-07-29 03:38:16 +00:00
setup [ADD] setup.py 2019-10-10 20:58:21 +00:00
.editorconfig [ADD] .editorconfig [ci skip] 2019-11-19 21:14:17 +01:00
.gitignore [MIG] Add metafiles 2018-09-27 02:38:22 +02:00
.travis.yml [UPD] Refresh travis.yml 2018-11-06 10:40:16 +01:00
LICENSE [MIG] Add metafiles 2018-09-27 02:38:22 +02:00
README.md [MIG] Add metafiles 2018-09-27 02:38:22 +02:00
oca_dependencies.txt ADD module carrier_environment 2019-05-13 19:12:58 +02:00

README.md

Licence Runbot Status Build Status Coverage Status

Odoo server environment

This repository hosts official server environment managment modules provided by the OCA.

Those modules provides a way to define an environment in the main Odoo configuration file and to read some configuration files depending on the environment you defined.

To define an environment, put 'dev', 'test', 'production' in your odoo configuration file:

[options]
running_env=dev

Translation Status

Transifex Status


OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.