diff options
| author | vta vta@openerp.com <> | 2012-10-15 09:16:05 +0200 |
|---|---|---|
| committer | vta vta@openerp.com <> | 2012-10-15 09:16:05 +0200 |
| commit | c6dfd8afc114278345cf38ea8b96404f56d5958a (patch) | |
| tree | b2af9a32c7c6870436136b781742bf8471da0ccd /addons/web/static/src/js/data.js | |
| parent | 4112f2b3a76f2ad924fa35a2ddfc9c654d7ac8cd (diff) | |
| parent | e273ccce6394f0cc092aff81f9e33310b9bc6310 (diff) | |
[MERGE] Latest trunk.
bzr revid: vta@openerp.com-20121015071605-jgupguux9p1aavdm
Diffstat (limited to 'addons/web/static/src/js/data.js')
| -rw-r--r-- | addons/web/static/src/js/data.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/web/static/src/js/data.js b/addons/web/static/src/js/data.js index 1731f1effaa..48210007dcd 100644 --- a/addons/web/static/src/js/data.js +++ b/addons/web/static/src/js/data.js @@ -280,7 +280,8 @@ instance.web.Model = instance.web.Class.extend({ kwargs = args; args = []; } - return instance.session.rpc('/web/dataset/call_kw', { + var debug = instance.session.debug ? '/'+this.name+':'+method : ''; + return instance.session.rpc('/web/dataset/call_kw' + debug, { model: this.name, method: method, args: args, |
