OpenERP 8 has an instant messaging feature and there is some guidance on setting it up here: http://help.openerp.com/question/22521/how-to-activate-chat-im-in-v8-trunk/ dev-python/gevent and dev-python/psycopg are in portage and here is an ebuild for dev-python/gevent-psycopg2 which should cover the dependencies: https://bugs.gentoo.org/show_bug.cgi?id=499090 I haven't gotten instant messaging to work yet though. I'll post here again when I do. It will require a tweak to /etc/init.d/openerp. Reproducible: Always
I got it working and it's very cool. There is another dependency: https://bugs.gentoo.org/show_bug.cgi?id=499466 setup.py needs to be patched and /etc/init.d/openerp needs to change the /usr/bin/openerp-server reference to /usr/bin/openerp-gevent. Would a "gevent" USE flag be appropriate for this? After these changes, the openerp server listens on port 6072 instead of 6069. Someone in the above-referenced openerp.com thread mentioned: "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." I can't follow that. Does anyone understand what he means?
Created attachment 368894 [details, diff] patch to install /usr/bin/openerp-gevent