Jun 15, 2019

odoo chat without refresh

its just reminder about the chat on odoo use 8072

first please check port services by netstat, if still none, just do as this reference

Longpolling

 Longpolling is a way to deliver instant notification to web client (e.g. in chats).

 To activate longpolling:

 install dependencies

 odoo 11.0

 python -c "import gevent" || sudo pip3 install gevent

odoo 10.0

 python -c "import gevent" || sudo pip install gevent
 python -c "import psycogreen" || sudo pip install psycogreen
 set non-zero value for workers parameter
 configure nginx

 location /longpolling {
     proxy_pass http://127.0.0.1:8072;
 }
 location / {
     proxy_pass http://127.0.0.1:8069;
 }



refs : https://odoo-development.readthedocs.io/en/latest/admin/longpolling.html


.
its just reminder about the chat on odoo use 8072

first please check port services by netstat, if still none, just do as this reference

Longpolling

 Longpolling is a way to deliver instant notification to web client (e.g. in chats).

 To activate longpolling:

 install dependencies

 odoo 11.0

 python -c "import gevent" || sudo pip3 install gevent

odoo 10.0

 python -c "import gevent" || sudo pip install gevent
 python -c "import psycogreen" || sudo pip install psycogreen
 set non-zero value for workers parameter
 configure nginx

 location /longpolling {
     proxy_pass http://127.0.0.1:8072;
 }
 location / {
     proxy_pass http://127.0.0.1:8069;
 }



refs : https://odoo-development.readthedocs.io/en/latest/admin/longpolling.html

No comments:

Post a Comment