中菁- odoo  ERP 实施 杭州

示例图片三
首页 > Odoo资讯 > odoo知识库

ODOO/OpenERP 8激活及时通讯功能

2017-02-24 08:44:40 中菁- odoo ERP 实施 杭州 阅读


FAQ:How to activate chat (im) in v8 (trunk)
 
I know its already answered that chat (im) is only available from v8, but I have trunk running and the im and im_livechat modules installed, I can create channels, and insert the code in my website, but the chat icon keeps saying "Instant Messaging is not activated on this server."
 
How do you activate IM?
 
Thanks.常见问题:我们知道 从 V8 开始可以用及时通讯功能,我装了相关模块,我可以创建通道,可以把相关代码嵌入到网站,但是聊天图标一直提示“服务器即时通讯没有激活”?
 
ANSER:First you need to install gevent
 
apt-get install python-gevent
 
Then install gevent_psycopg2 I installed this one
 
https://pypi.python.org/pypi/gevent-psycopg2
 
Then you need to start the server with --gevent
 
openerp-server --gevent
 

the server will be launched in port :8072答案:1:首先你要安装 gevent apt-gst install python-gevent           

2.安装 gevent_psycopg2 包          

3。启动 openerp server 的时候带上 --gevent 参数。注意:为了防止 debug openerp 的时候跑进 gevent 模式,你可以 hard code gevent = False。



Powered by MetInfo 5.3.15 ©2008-2018 www.metinfo.cn