Community mailing list archives

community@mail.odoo.com

Re: How to send to user request to reload page or redirect to another action

by
Maxim Litnitskiy
- 09/27/2014 10:48:44

2014-09-26 9:26 GMT+04:00 Jean-Sébastien Suzanne <jssuzanne@anybox.fr>:
You must use long polling with bus module. https://bitbucket.org/anybox/web_action_request 

LOL! This what I was googling for hours!
I remember that some time ago a was surfing and found a solution how to send an action to exact user.
Now I remember, I was comparing implementation of long polling of bus by Odoo and socket.io by Anybox.
self.sudo(self.user.id).env['action.request'].notify(action)
By the way may be it should be implemented on Odoo's bus the same as in socket.io.
Not?
And this is mad feature.