Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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?
First you need to install gevent
apt-get install python-gevent
Then install gevent_psycopg2 I installed this one
Then you need to start the server with --gevent
the server will be launched in port :8072
server helps mentions this about gevent option "Activate the GEvent mode, this also desactivate the cron."
now you have to launch the server with
I think you need to pass command line argument when you start OpenERP server from terminal. I don't remember what is the option you have to pass.
But I am sure chat will be activated when you pass the command line argument (option).
Try this but I am not sure this option is right or not. So just try it.
python openerp-server --addons ../addons/,../web/addons --gevent
Hope this will work.
The --gevent option, run your OpenERP server with gevent. Gevent is based on eventlet. Evenlet use the coroutine not thread. So you open only one thread for all the connection, and the block loop, block all the coroutine, it 's dangerous.
If really you want use the gevent server, you must launch 2 OpenERP server: * the first with the OpenERP server on the 8069 port * A second with gevent server, on the 8072 port
Use a Apache or Nginx to dispatch between OpenERP server or gevent server (path /longpolling)
I am install python-gevent and install gevent_psycopg2
my openerp is version:
./openerp-server --version OpenERP Server 8.0dev-20140114-091614
but not start with --gevent parameter ?
show: ./openerp-server --gevent Usage: openerp-server [options]
openerp-server: error: no such option: --gevent
Pre Request for IM module: 1. # sudo apt-get install python-gevent 2.# apt-get install psycogreen 3.# pip install psycogreen-1.0.tar.gz 2. # easy_install gevent 3. # easy_install greenlet 4. # apt-get install python-all-dev 7.# apt-get install libevent-dev 5. # easy_install gevent-psycopg2-0.0.3.tar.gz 6. setup IM module 7. And run your server by openerp-gevent # ./server/openerp-gevent --addons addons/,web/addons & 8. use port 8072