diff --git a/server_environment/README.rst b/server_environment/README.rst index 11bd090..59b7e93 100644 --- a/server_environment/README.rst +++ b/server_environment/README.rst @@ -7,7 +7,7 @@ server configuration environment files !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:b172836862f16f4a8b93630db75b2b4a8e30383390194ff3f4a944c470e57b9e + !! source digest: sha256:aac6d73fa8de5613878d12ae81e7c3093dbaa261ba87713478c7415a7533ee39 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png @@ -71,6 +71,12 @@ used values are 'dev', 'test', 'production':: [options] running_env=dev +Or set the `RUNNING_ENV` or `ODOO_STAGE` environment variable. If both all are set config file +will take the precedence on environment and `RUNNING_ENV` over `ODOO_STAGE`. + +`ODOO_STAGE` is used for odoo.sh platform where we can't set `RUNNING_ENV`, possible +observed values are `production`, `staging` and `dev` + Values associated to keys containing 'passw' are only displayed in the 'dev' environment. diff --git a/server_environment/static/description/index.html b/server_environment/static/description/index.html index 3f6d0f9..414e71b 100644 --- a/server_environment/static/description/index.html +++ b/server_environment/static/description/index.html @@ -367,7 +367,7 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:b172836862f16f4a8b93630db75b2b4a8e30383390194ff3f4a944c470e57b9e +!! source digest: sha256:aac6d73fa8de5613878d12ae81e7c3093dbaa261ba87713478c7415a7533ee39 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
This module provides a way to define an environment in the main Odoo @@ -424,6 +424,10 @@ used values are ‘dev’, ‘test’, ‘production’:
[options] running_env=dev +Or set the RUNNING_ENV or ODOO_STAGE environment variable. If both all are set config file +will take the precedence on environment and RUNNING_ENV over ODOO_STAGE.
+ODOO_STAGE is used for odoo.sh platform where we can’t set RUNNING_ENV, possible +observed values are production, staging and dev
Values associated to keys containing ‘passw’ are only displayed in the ‘dev’ environment.
If you don’t provide any value, test is used as a safe default.