summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorLucas Perais (lpe) <lpe@odoo.com>2020-09-16 12:36:30 +0000
committerLucas Perais (lpe) <lpe@odoo.com>2020-09-28 13:29:56 +0000
commit4344d50a74b04ffed7a7113e8af2b8ad6800693e (patch)
tree1c29c8f8f8ccca81226803a06b83a3ae45af8407 /addons/web/static/src/js/views/basic/basic_model.js
parente497fa0f6de6ae3c0ab3ffe3c3dec43037944d17 (diff)
[FIX] web: action_manager_tests: concurrency doAction: relax rpc assert
In general, the last actionManager's operation has priority over hanging previous ones. This means that the order of the RPC's done by the actionManager is deterministic. i.e. load_action, load_views However, when testing the concurrency, some RPC of an hanging actionManager operation (in this case a switchView to a form triggers a 'read'), may be fired anyway. Those are superfluous but irrelevant as long as the last displayed item is the one last asked by the user. This commit fixes the test 'execute a new action while switching to another controller' to not be bothered with an irrelevant controller's RPC messing with the orders of RPC. This is admittedly brutal, but justified with the current implementation of actionManager. closes odoo/odoo#57849 Related: odoo/enterprise#13280 Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions