2 Star 0 Fork 0

oca-github/server-tools

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
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.

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/oca-github/server-tools.git
git@gitee.com:oca-github/server-tools.git
oca-github
server-tools
server-tools
10.0

搜索帮助