diff options
| author | Christophe Simonis <chs@openerp.com> | 2012-10-12 15:05:37 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@openerp.com> | 2012-10-12 15:05:37 +0200 |
| commit | bc1a3dff21bf7bdb4c67aa1ad5e3bca237d4945c (patch) | |
| tree | 89dbe96205b02868cc22a6bc479aa5efbf3925cc /addons/web/static/src/js/data.js | |
| parent | 907b9700be95419684b356f0d8b2ec551cf2a713 (diff) | |
| parent | 40d2a376ca8e6ea7c66ebf77a13b11f48257977e (diff) | |
merge upstream
bzr revid: chs@openerp.com-20121011152134-5cvm45dzo8sz9pbw
bzr revid: chs@openerp.com-20121012130537-phw0ks03s127a3j9
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 ce85e0ac43f..8338ce8c7c0 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, |
