diff options
| author | Christophe Simonis <chs@openerp.com> | 2013-11-13 19:40:00 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@openerp.com> | 2013-11-13 19:40:00 +0100 |
| commit | e9c633cb7e8053d63a31d1d1f375dc10347a0389 (patch) | |
| tree | 6bea719a37724eebf6e9cacfea48e4eca261dd82 /addons/web/static/src/js/openerpframework.js | |
| parent | 27e7248d4a443d5531910f57bc46e84bc44208e2 (diff) | |
[IMP] web: call call_kw with full route to help debugging
bzr revid: chs@openerp.com-20131113184000-3k3dnwl5ftllq2rv
Diffstat (limited to 'addons/web/static/src/js/openerpframework.js')
| -rw-r--r-- | addons/web/static/src/js/openerpframework.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/web/static/src/js/openerpframework.js b/addons/web/static/src/js/openerpframework.js index 1704856886b..99d11b58ca9 100644 --- a/addons/web/static/src/js/openerpframework.js +++ b/addons/web/static/src/js/openerpframework.js @@ -1128,7 +1128,8 @@ openerp.Model = openerp.Class.extend({ kwargs = args; args = []; } - return this.session().rpc('/web/dataset/call_kw', { + var call_kw = _.str.sprintf('/web/dataset/call_kw/%s/%s', this.name, method); + return this.session().rpc(call_kw, { model: this.name, method: method, args: args, |
