我想知道odoo配置文件中使用的 xmlrc_port 和 http_port 参数之间的区别。
答案 0 :(得分:2)
没有。 Odoo 12仅使用http_port。文档的区别在于Odoo版本号。 Odoo 11和更高版本使用http_port,旧版本使用xmlrc_port。 Odoo 12仅出于配置兼容性而支持此功能,请参见源https://github.com/odoo/odoo/blob/13.0/odoo/tools/config.py行147中从xmlrc-port到http_port的映射:
group.add_option("--xmlrpc-port", dest="http_port", type="int", help=hidden)
您可以在以下网址找到带有http_port的Odoo 11的文档:https://www.odoo.com/documentation/11.0/reference/cmdline.html,在这里:https://www.odoo.com/documentation/10.0/reference/cmdline.html可以找到带有xmlrc_port的Odoo 10的文档。