summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2018-05-08 09:50:00 +0200
committerAaron Bohy <aab@odoo.com>2018-05-28 07:30:12 +0200
commit10161f9d61fd4107ac48abdd6e243b3c9c7405cb (patch)
treed18cde3c1a3ac9dc6a81307686c5387454caed85 /addons/web/static/src/js/views/basic/basic_model.js
parent5aa0e0bc2431882d36604338b23566c0e9f8c6e7 (diff)
[FIX] bus: co-existing instances of bus.bus
Before this rev., it was not possible to have co-existing instances of bus.bus, each one polling its own server, for several reasons. First, the Bus class couldn't be overridden or parameterized to specify which server and route to call to perform the longpolling. Second, when several instances of bus.bus coexisted, their use of the localStorage (for the CrosstabBus) conflicted, and as a result, only one of them actually polled. This rev. makes it possible, and it was necessary for the new addon 'im_support'. Task 26762
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions