Ir al contenido
Odoo Menú
  • Identificarse
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • TPV para tiendas
    • TPV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en directo
    • eLearning
    Cadena de suministro
    • Inventario
    • Fabricación
    • PLM
    • Compra
    • Mantenimiento
    • Calidad
    Recursos Humanos
    • Empleados
    • Reclutamiento
    • Ausencias
    • Evaluación
    • Referencias
    • Flota
    Marketing
    • Marketing social
    • Marketing por correo electrónico
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyecto
    • Partes de horas
    • Servicio de campo
    • Servicio de asistencia
    • Planificación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Información
    • WhatsApp
    Aplicaciones de terceros Studio de Odoo Plataforma de Odoo Cloud
  • Industrias
    Comercio al por menor
    • Librería
    • Tienda de ropa
    • Tienda de muebles
    • Tienda de ultramarinos
    • Ferretería
    • Juguetería
    Alimentación y hostelería
    • Bar y taberna
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidor de bebidas
    • Hotel
    Inmueble
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión inmobiliaria
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Empresa contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Fabricación
    • Textil
    • Metal
    • Muebles
    • Alimentos
    • Brewery
    • Regalos de empresas
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Terapeutas
    • Farmacia
    • Peluquería
    Oficios
    • Handyman
    • Hardware y asistencia informática
    • Sistemas de energía solar
    • Zapatero
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin ánimo de lucro
    • Agencia de protección del medio ambiente
    • Alquiler de paneles publicitarios
    • Estudio fotográfico
    • Alquiler de bicicletas
    • Distribuidor de software
    Browse all Industries
  • Comunidad
    Aprender
    • Tutoriales
    • Documentación
    • Certificaciones
    • Formación
    • Blog
    • Podcast
    Potenciar la educación
    • Programa de formación
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtener el software
    • Descargar
    • Comparar ediciones
    • Versiones
    Colaborar
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Convertirse en partner
    • Services for Partners
    • Registrar tu empresa contable
    Obtener servicios
    • Encontrar un partner
    • Encontrar un asesor fiscal
    • Contacta con un experto
    • Servicios de implementación
    • Referencias de clientes
    • Ayuda
    • Actualizaciones
    GitHub YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicitar una demostración
  • Precios
  • Ayuda

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

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyecto
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

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

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
chatlivechatim
10 Respuestas
25752 Vistas
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
Descartar
Avatar
Sudhir Arya (ERP Harbor Consulting Services)
Mejor respuesta

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
Descartar
Pablo Manuel Rizzo
Autor

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

Avatar
Felipe
Mejor respuesta

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
Descartar
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
Mario Gielissen
Mejor respuesta

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
Descartar
Avatar
Suzanne Jean-Sébastien
Mejor respuesta

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
Descartar
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
SOURAV
Mejor respuesta

Does this apply to V8/Trunk right now?

1
Avatar
Descartar
Avatar
Ahmed Hassan
Mejor respuesta

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
Descartar
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 ```
Avatar
Alexis de Lattre
Mejor respuesta

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
Descartar
Avatar
Fadel Damen Schreiner
Mejor respuesta

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
Descartar
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
GrupoCITEC
Mejor respuesta

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
Descartar
Avatar
febru wasono
Mejor respuesta

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
Descartar
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;

¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Inscribirse
Publicaciones relacionadas Respuestas Vistas Actividad
How to activate chat in openerp 8 on windows?
chat livechat im liv
Avatar
0
mar 15
4702
How to have a beep with im_chat even if the window already has the focus? Resuelto
chat livechat im sound beep
Avatar
1
nov 16
7436
Livechat ne fonctionne pas sur un site shopify
chat livechat shopify
Avatar
0
ene 25
1456
LIvechat message is not appearing in the chat when the operator is offline
chat livechat channel
Avatar
0
ago 24
1854
How does Live Chat work with the Helpdesk App?
chat helpdesk livechat
Avatar
Avatar
1
ene 23
2817
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento Odoo.sh
  • Ayuda
  • Actualizar
  • Desarrollos personalizados
  • Educación
  • Encontrar un asesor fiscal
  • Encontrar un partner
  • Convertirse en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contacta con nosotros
  • Puestos de trabajo
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Información legal • Privacidad
  • Seguridad
الْعَرَبيّة 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 es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y totalmente integrado.

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