summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/testing.js
diff options
context:
space:
mode:
authorChristophe Simonis <chs@openerp.com>2013-11-25 17:05:06 +0100
committerChristophe Simonis <chs@openerp.com>2013-11-25 17:05:06 +0100
commit9f52ab382bff5a9b99b8eddf2c5a129eca671ee2 (patch)
treeb6627d1d4fb36bd0bb140c6a2c2e10f1cd7f3e52 /addons/web/static/src/js/testing.js
parentd26e253edd1944ccdba911df7e108f7ac1cde15d (diff)
parent162dd9ad178f7ea3d2ecf06a9cf7acbc3d6198c5 (diff)
[MERGE] forward port of branch saas-2 up to revid 3887 chs@openerp.com-20131122172422-tsd8wzqkbqknrw1w
bzr revid: chs@openerp.com-20131125160506-30uia4pdwzpp54gj
Diffstat (limited to 'addons/web/static/src/js/testing.js')
-rw-r--r--addons/web/static/src/js/testing.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/addons/web/static/src/js/testing.js b/addons/web/static/src/js/testing.js
index a7768f0ca24..f607b278437 100644
--- a/addons/web/static/src/js/testing.js
+++ b/addons/web/static/src/js/testing.js
@@ -58,8 +58,7 @@ openerp.testing = {};
}
var fn, params;
var needle = rparams.model + ':' + rparams.method;
- if (url.url === '/web/dataset/call_kw'
- && needle in this.responses) {
+ if (url.url.substr(0, 20) === '/web/dataset/call_kw' && needle in this.responses) {
fn = this.responses[needle];
params = [
rparams.args || [],