diff options
| author | Christophe Simonis <chs@openerp.com> | 2013-11-25 17:05:06 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@openerp.com> | 2013-11-25 17:05:06 +0100 |
| commit | 9f52ab382bff5a9b99b8eddf2c5a129eca671ee2 (patch) | |
| tree | b6627d1d4fb36bd0bb140c6a2c2e10f1cd7f3e52 /addons/web/static/src/js/testing.js | |
| parent | d26e253edd1944ccdba911df7e108f7ac1cde15d (diff) | |
| parent | 162dd9ad178f7ea3d2ecf06a9cf7acbc3d6198c5 (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.js | 3 |
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 || [], |
