Skip to Content
Menu
v 18.0 Third Party 25
Download for v 18.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 330
Technical Name odoo_socketio
LicenseAGPL-3
Websitehttps://github.com/cd-feng
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 330
Technical Name odoo_socketio
LicenseAGPL-3
Websitehttps://github.com/cd-feng

Odoo SocketIo

Real-time bidirectional communication for Odoo using Socket.IO technology

Odoo SocketIo Interface

Overview

This module integrates Socket.IO with Odoo to enable real-time, event-based communication between the server and web clients. Perfect for building interactive features like live notifications, chat systems, and real-time updates.

Key Features

Real-time Communication

Instant message delivery between server and clients using WebSocket technology.

User-based Messaging

Target messages to specific users with built-in user connection management.

Room Support

Organize communication channels with room-based messaging.

Easy Integration

Simple JavaScript API for client-side integration with existing Odoo views.

Configuration Settings

Usage Examples

Server-side Python Example

// Send real-time notification to user self.env['odoo.socketio'].push_socketio_event({ 'event': 'user_notification', 'data': {'message': 'Your order has shipped!'}, 'uid': user.id })

Client-side JavaScript Example

// In your Odoo component setup() { this.socketioService = useService('socketio_service'); this.socketioService.on('user_notification', (data) => { this.env.services.notification.add(data.message); }); }
Test Interface

Technical Details

  • Requires: Odoo 18.0+, python-socketio 5.13.0
  • License: AGPL-3
  • WebSocket Support: Yes (with fallback to long-polling)
  • Performance: Runs in main Odoo process (recommend separate process for heavy loads)

Installation

  1. Install via Odoo Apps
  2. Configure port in Odoo config file:
    [options] socketio_port = 3000
  3. Install Python dependency:
    pip install python-socketio==5.13.0

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.