
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.

You can test the behaviour of the notifications by installing this module in a demo database. Access the users form through Settings -> Users & Companies. You'll see a tab called "Test web notify", here you'll find two buttons that'll allow you test the module.

Installation
GNU Affero General Public License v3.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you comply with the terms of the GNU Affero General Public License, version 3.0, available at https://www.gnu.org/licenses/agpl-3.0.html. You may develop software that uses the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those software under the terms of the GNU Affero General Public License, version 3.0. It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software without including the complete text of the GNU Affero General Public License, version 3.0, along with any applicable additional permissions. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- web
- bus
- base