-
- Downloads
[IMP] server: rename xmlrpc* related parameters
The 'xmlrpc'-based configuration parameters have been a misnomer since the introduction of the generic HTTP service, years ago. Hide these options from the server parameters, and replace them with more appropriate 'http' ones: --xmlrpc-interface -> --http-interface --xmlrpc-port -> --http-port --no-xmlrpc -> --no-http The config entries for these have been adapted as well. The old parameter names are still silently supported in both command-line arguments and config files. However they are stored with the new names in the `tools.config` dict, and when saving config files (with the -s option). Also clarified and cleaned up the descriptions of the HTTP/WEB server parameters. And finally, added a short version `-p`, for the `--http-port` option. Credits to @dreispt for this (via #19518) Closes #19518 Closes #19778
Showing
- addons/hw_screen/controllers/main.py 1 addition, 1 deletionaddons/hw_screen/controllers/main.py
- doc/reference/cmdline.rst 4 additions, 4 deletionsdoc/reference/cmdline.rst
- doc/setup/deploy.rst 2 additions, 2 deletionsdoc/setup/deploy.rst
- odoo/addons/base/ir/ir_config_parameter.py 1 addition, 1 deletionodoo/addons/base/ir/ir_config_parameter.py
- odoo/service/server.py 6 additions, 7 deletionsodoo/service/server.py
- odoo/tests/common.py 1 addition, 1 deletionodoo/tests/common.py
- odoo/tools/config.py 31 additions, 17 deletionsodoo/tools/config.py
Loading
Please register or sign in to comment