Odoo 配置文件中使用的xmlrc_port和参数有什么区别?http_port
没有任何。Odoo 12 仅使用http_port.
http_port在版本 11 中引入,在此之前,参数为xmlrc_port.
所以,你应该使用
http_port对于 Odoo >= 11xmlrc_port对于 Odoo < 11在 Odoo 12 中,保留是为了向后兼容,请参阅源代码中从到 的xmlrc_port映射:https: //github.com/odoo/odoo/blob/13.0/odoo/tools/config.py,第 147 行:xmlrc-porthttp_port
group.add_option("--xmlrpc-port", dest="http_port", type="int", help=hidden)
Run Code Online (Sandbox Code Playgroud)
你可以找到文档
http_port,此处:https ://www.odoo.com/documentation/11.0/reference/cmdline.htmlxmlrc_port在此处使用: https: //www.odoo.com/documentation/10.0/reference/cmdline.html