Help

欢迎!

该社区面向专业人士和我们产品和服务的爱好者。
分享和讨论最好的内容和新的营销理念,建立您的专业形象,一起成为更好的营销人员。


0

How to fix error: /odoo/community/16.0/odoo/tools/config.py:565: DeprecationWarning: The longpolling-port is a deprecated alias to the gevent-port option, please use the latter.

Avatar
odoo
Avatar
Discard
2 Answers
0
Avatar
odoo
Best Answer

Hi!

To fix this issue, you need to set the value 0 or False for the parameter "longpolling_port" in your config file:

longpolling_port = False

This solution is checked and it works.


Yurii Razumovskyi

Company Garazd Creation

Useful Odoo apps for your business: https://garazd.biz/shop

2 Comments
Avatar
Discard
Avatar
odoo
-

Thanks a lot it is workable in my local machine too

Avatar
odoo
-

Thanks, Dasadiya, for your feedback!

0
Avatar
odoo
Best Answer

Hi Haresh Kansara,

This is because of the longpolling_port option used in the default odoorc file or odoo config file. The longpolling-port is a deprecated in odoo16.

Please replace 'longpolling_port' by 'gevent_port' option into your default odoorc file or odoo config file or make it False and the warning will be no more raised.

Please Vote up my answer if it helps you.

Avatar
Discard