Reputation: 85
What is the difference between xmlrc_port
and http_port
parameter which are used in Odoo configuration file.
Upvotes: 4
Views: 1088
Reputation: 3620
None. Odoo 12 only uses http_port
.
http_port
was introduced in the version 11, prior to that, the parameter was xmlrc_port
.
So, you should use
http_port
for Odoo >= 11xmlrc_port
for Odoo < 11In Odoo 12, xmlrc_port
is kept for backward compatibility, see the mapping from xmlrc-port
to http_port
in the source code: https://github.com/odoo/odoo/blob/13.0/odoo/tools/config.py, line 147:
group.add_option("--xmlrpc-port", dest="http_port", type="int", help=hidden)
You can find the documentation
http_port
, here: https://www.odoo.com/documentation/11.0/reference/cmdline.htmlxmlrc_port
here: https://www.odoo.com/documentation/10.0/reference/cmdline.htmlUpvotes: 6