Community mailing list archives
Re: How to send to user request to reload page or redirect to another actionby
2014-09-27 17:06 GMT+02:00 Maxim Litnitskiy <email@example.com>:
2014-09-26 9:26 GMT+04:00 Jean-Sébastien Suzanne <firstname.lastname@example.org>:You must use long polling with bus module. https://bitbucket.org/anybox/web_action_requestLOL! 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.That's it - https://bitbucket.org/anybox/web_action_request/src/a26e975c1a10cedc49c1d2875708becca324ddfb/web_action_request/setting.py?at=defaultself.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?
Yes because anybox implement the both modules "web_action_request" with socket.io in V7 with odoo bus in V8
And this is mad feature.