Skip to content

Latest commit

 

History

History
85 lines (59 loc) · 2.58 KB

File metadata and controls

85 lines (59 loc) · 2.58 KB
License: AGPL-3

Server Environment Ir Config Parameter

Override System Parameters from server environment file. Before using this module, you must be familiar with the server_environment module.

Installation

There is no specific installation instruction for this module.

Configuration

To configure this module, you need to add a section [ir.config_parameter] to you server_environment_files configurations, where the keys are the same as would normally be set in the Systems Parameter Odoo menu.

When first using a value, the system will read it from the configuration file and override any value that would be present in the database, so the configuration file has precedence.

When creating or modifying values that are in the configuration file, the module replace changes, enforcing the configuration value.

For example you can use this module in combination with web_environment_ribbon:

[ir.config_parameter]
ribbon.name=DEV
Try me on Runbot

Known issues / Roadmap

  • When the user modifies System Parameters that are defined in the config file, the changes are ignored. It would be nice to display which system parameters come from the config file and possibly make their key and value readonly in the user interface.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.

Credits

Images

  • Odoo Community Association: Icon.

Contributors

Maintainer

Odoo Community Association

This module is maintained by the OCA.

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.

To contribute to this module, please visit https://odoo-community.org.