Skip to Content
Odoo मेन्यू
  • Sign in
  • मुफ़्त में आज़माएं
  • ऐप्लिकेशन
    फ़ाइनेंस
    • अकाउंटिंग
    • इनवॉइसिंग
    • एक्सपेंस
    • स्प्रेडशीट (बीआई)
    • डॉक्यूमेंट्स
    • साइन
    सेल्स
    • सीआरएम
    • सेल्स
    • पीओएस शॉप
    • पीओएस रेस्टोरेंट
    • सब्सक्रिप्शन
    • रेंटल
    वेबसाइट
    • वेबसाइट बिल्डर
    • ई-कॉमर्स
    • ब्लॉग
    • फ़ोरम
    • लाइव चैट
    • ई-लर्निंग
    सप्लाई चेन
    • इन्वेंट्री
    • मैन्युफ़ैक्चरिंग
    • पीएलएम
    • परचेज़
    • मेंटेनेंस
    • क्वालिटी
    मानव संसाधन
    • कर्मचारी
    • रिक्रूटमेंट
    • टाइम ऑफ़
    • अप्रेज़ल
    • रेफ़रल
    • फ़्लीट
    मार्केटिंग
    • सोशल मार्केटिंग
    • ईमेल मार्केटिंग
    • एसएमएस मार्केटिंग
    • इवेंट
    • मार्केटिंग ऑटोमेशन
    • सर्वे
    सेवाएं
    • प्रोजेक्ट
    • टाइमशीट
    • फ़ील्ड सर्विस
    • हेल्पडेस्क
    • प्लानिंग
    • अपॉइंटमेंट
    प्रॉडक्टिविटी
    • डिस्कस
    • अप्रूवल
    • आईओटी
    • वीओआईपी
    • नॉलेज
    • WhatsApp
    तीसरे पक्ष के ऐप्लिकेशन Odoo स्टूडियो Odoo क्लाउड प्लेटफ़ॉर्म
  • इंडस्ट्री
    रीटेल
    • बुक स्टोर
    • क्लोदिंग स्टोर
    • फ़र्नीचर स्टोर
    • ग्रॉसरी स्टोर
    • हार्डवेयर स्टोर
    • टॉय स्टोर
    Food & Hospitality
    • बार और पब
    • रेस्टोरेंट
    • फ़ास्ट फ़ूड
    • Guest House
    • बेवरिज डिस्ट्रीब्यूटर
    • होटल
    रियल एस्टेट
    • Real Estate Agency
    • आर्किटेक्चर फ़र्म
    • कंसट्रक्शन
    • एस्टेट मैनेजमेंट
    • गार्ड्निंग
    • प्रॉपर्टी ओनर असोसिएशन
    कंसल्टिंग
    • अकाउंटिंग फ़र्म
    • Odoo पार्टनर
    • मार्केटिंग एजेंसी
    • लॉ फ़र्म
    • टैलेंट ऐक्विज़िशन
    • ऑडिट & सर्टिफ़िकेशन
    मैन्युफ़ैक्चरिंग
    • टेक्सटाइल
    • Metal
    • फ़र्नीचर
    • फ़ूड
    • Brewery
    • कॉर्पोरेट गिफ़्ट
    हेल्थ & फिटनेस
    • स्पोर्ट्स क्लब
    • आईवियर स्टोर
    • फिटनेस सेंटर
    • वेलनेस प्रैक्टिशनर
    • फॉर्मेसी
    • हेयर सैलून
    Trades
    • Handyman
    • आईटी हॉर्डवेयर और सपोर्ट
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    अन्य
    • Nonprofit Organization
    • एन्वायरमेंटल एजेंसी
    • बिलबोर्ड रेंटल
    • फ़ोटोग्राफी
    • बाइक लीजिंग
    • सॉफ़्टवेयर रीसेलर
    Browse all Industries
  • कम्यूनिटी
    सीखें
    • ट्यूटोरियल्स
    • दस्तावेज़
    • सर्टिफ़िकेशन
    • ट्रेनिंग
    • ब्लॉग
    • पॉडकास्ट
    शिक्षा को बढ़ावा दें
    • एजुकेशन प्रोग्राम
    • स्केल अप! बिजनेस गेम
    • Odoo के ऑफ़िस में आएं
    सॉफ़्टवेयर पाएं
    • डाउनलोड
    • वर्शन की तुलना करें
    • रिलीज़
    साथ मिलकर काम करें
    • Github
    • फ़ोरम
    • इवेंट
    • अनुवाद
    • पार्टनर बनें
    • Services for Partners
    • अपना अकाउंटिंग फ़र्म रजिस्टर करें
    सेवाएं पाएं
    • पार्टनर ढूंढें
    • अकाउंटेंट खोजें
    • सलाहकार की मदद लें
    • इम्प्लिमेंटेशन सेवाएं
    • कस्टमर रेफ़रेंस
    • सहायता
    • अपग्रेड
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    डेमो देखें
  • कीमत
  • सहायता

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • सीआरएम
  • e-Commerce
  • लेखांकन
  • इन्वेंटरी
  • PoS
  • प्रोजेक्ट
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
टैग (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
टैग (View all)
odoo accounting v14 pos v15
About this forum
Help

How to activate chat (im) in v8 (trunk)

Subscribe

Get notified when there's activity on this post

This question has been flagged
chatlivechatim
10 Replies
25744 Views
Avatar
Pablo Manuel Rizzo

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.

6
Avatar
Discard
Avatar
Sudhir Arya (ERP Harbor Consulting Services)
Best Answer

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.

3
Avatar
Discard
Pablo Manuel Rizzo
Author

Adding this parameter, the server listens on port 8072, but not on 8069, so it doesnt work

Avatar
Felipe
Best Answer

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

server helps mentions this about gevent option "Activate the GEvent mode, this also desactivate the cron."

=========================================

UPDATE:

now you have to launch the server with openerp-gevent not openerp-server --gevent

3
Avatar
Discard
gunnar

I start my server with sudo /etc/init.d/openerp-server start or sudo service openerp-server start. So would I need to replace openerp-server with openerp-gevent in this two commands? How would you incorporate the gevent option into that start script (that most of the times will be used) And what module exactly do you install? this one https://www.odoo.com/apps/trunk/im ?

gunnar

here is a version that is meant to be for 7.0. https://bitbucket.org/anybox/web_im Will report whether that work once I have tested it.

Avatar
SOURAV
Best Answer

Does this apply to V8/Trunk right now?

1
Avatar
Discard
Avatar
Suzanne Jean-Sébastien
Best Answer

Hi

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)

1
Avatar
Discard
Juan José Scarafía

Hi Jean! As we would like to use the chat, We have run openerp trunk with gevent option but we find out that cron stops working. Any suggestion? Following your message we should lunch 2 oerp servers and then 'dispach' them whit gevent. Can you give some clues on how to achive this? Also, As you said "If really you want use the gevent server,...". Any problem with running gevent?

A. Person

Jean-Sebastien, could you elaborate on what you mean? In what way is it dangerous to run openerp-gevent?

Avatar
Mario Gielissen
Best Answer

I have tested the latest #odoo v8.0 build (Ubuntu 14.04 with ODOO v8 install script). IM Livechat works out-of-the-box (on port 8069) without separate openerp-gevent service or any modification.

1
Avatar
Discard
Avatar
GrupoCITEC
Best Answer

I was following all the instructions here and in other threads and nothing, but then I discovered that I need to:

1 - Activate the public user

2 - Set its password as 'public'

Then chat started working in the website and external websites :D

0
Avatar
Discard
Avatar
febru wasono
Best Answer

go to openerp/tools/config.py

then set default value of gevent=True

then restart your server

see complete tutorial on febru dot soluvas dot com

0
Avatar
Discard
Komala Kiran Kumar. Parepalli

Hi, I searched for the keyword gevent in config.py file, but i find no sign of it. can you please help with it.

Yashodhan Kulkarni

Ya, even I dont find any gevent = True / False;

Avatar
Alexis de Lattre
Best Answer

By the way, on OpenERP trunk, since October 5 2013, there is a script "openerp-gevent" next to the usual script "openerp-server". When you start "./openerp-gevent", it will run openerp on port 8072 in gevent/longpolling mode.

0
Avatar
Discard
Avatar
Fadel Damen Schreiner
Best Answer

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

0
Avatar
Discard
Felipe

it has changed since I answered the question, now you have to launch the openerp not with openerp-server, but with a file called openerp-gevent, you need to launch the server with that, I will update my answer to add this, BTW: your post is not an answer, it is better suited to put it on a comment to the question or to a relevant answer.

A. Person

What is the latest with this? I've tried the nightlies from 20140122 and 20140124 and there is no file called openerp-gevent.

A. Person

/usr/bin/openerp-gevent is installed if I patch setup.py like this: "scripts = ['openerp-server', 'openerp-gevent'],"

Avatar
Ahmed Hassan
Best Answer

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

0
Avatar
Discard
Yashodhan Kulkarni

@Ahmed Hassan, I have updated above provided commands in proper format as follows:

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

  1. easy_install gevent

  2. easy_install greenlet

  3. apt-get install python-all-dev

7.# apt-get install libevent-dev

  1. easy_install gevent-psycopg2-0.0.3.tar.gz

  2. setup IM module

  3. And run your server by openerp-gevent

./server/openerp-gevent --addons addons/,web/addons &

  1. use port 8072 ```
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
How to activate chat in openerp 8 on windows?
chat livechat im liv
Avatar
0
मार्च 15
4690
How to have a beep with im_chat even if the window already has the focus? Solved
chat livechat im sound beep
Avatar
1
नव॰ 16
7426
Livechat ne fonctionne pas sur un site shopify
chat livechat shopify
Avatar
0
जन॰ 25
1447
LIvechat message is not appearing in the chat when the operator is offline
chat livechat channel
Avatar
0
अग॰ 24
1829
How does Live Chat work with the Helpdesk App?
chat helpdesk livechat
Avatar
Avatar
1
जन॰ 23
2806
कम्यूनिटी
  • ट्यूटोरियल्स
  • दस्तावेज़
  • फ़ोरम
ओपन सोर्स
  • डाउनलोड
  • Github
  • रनबॉट
  • अनुवाद
सेवाएं
  • Odoo.sh Hosting
  • सहायता
  • अपग्रेड
  • कस्टम डेवलपमेंट्स
  • शिक्षा
  • अकाउंटेंट खोजें
  • पार्टनर ढूंढें
  • पार्टनर बनें
हमारे बारे में
  • हमारी कंपनी
  • ब्रांड ऐसेट
  • संपर्क करें
  • नौकरियां
  • इवेंट
  • पॉडकास्ट
  • ब्लॉग
  • ग्राहक
  • लीगल • गोपनीयता
  • सुरक्षा
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo, बिज़नेस से जुड़े ऐप्लिकेशन का एक कलेक्शन है जो ओपन सोर्स पर आधारित है. इसमें आपकी कंपनी की हर ज़रूरत के लिए ऐप्लिकेशन हैं. जैसे, सीआरएम, ई-कॉमर्स, अकाउंटिंग, इन्वेंट्री, पॉइंट ऑफ़ सेल, प्रोजेक्ट मैनेजमेंट वगैरह.

Odoo की सबसे बड़ी खासियत है कि यह इस्तेमाल करने में बहुत आसान है और यह पूरी तरह से इंटिग्रेट किया हुआ है.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now