Odoo
Cyllo

Web Notify

This module extends Cyllo functionality, allowing to send instant notification messages to the user in live. This technical module allows you to send instant notification messages from the server to the user in live. Two kinds of notification are supported.

This technical module allows you to send instant notification messages from the server to the user in live. Two kinds of notification are supported:

  • Success:Displayed in a success theme color flying popup div.
  • Danger:Displayed in a danger theme color flying popup div.
  • Warning:Displayed in a warning theme color flying popup div.
  • Information:Displayed in a info theme color flying popup div.
  • Default:Displayed in a default theme color flying popup div.

Installation:

This module is based on the Instant Messaging Bus. To work properly, the server must be launched in gevent mode.

Usage:

To send a notification to the user you just need to call one of the new methods defined on res.users:

self.env.user.notify_success(message='My success message')

or

self.env.user.notify_danger(message='My danger message')

or

self.env.user.notify_warning(message='My warning message')

or

self.env.user.notify_info(message='My information message')

or

self.env.user.notify_default(message='My default message')

Key Features

  • Easy to send notification to the user using the methods defined.
  • Send instant notification messages to the user in live.
Instant notification messages to the user

To send instant notification messages from the server to the user in live using the methods.

Disabled tab content

Installation

This module is based on the Instant Messaging Bus. To work properly, the server must be launched in gevent mode.