[IMP] help debugging xhr calls
bzr revid: chs@openerp.com-20121012130140-qgi8ret2oxoeko6d
This commit is contained in:
parent
e70d879acc
commit
40d2a376ca
|
@ -280,7 +280,8 @@ instance.web.Model = instance.web.Class.extend({
|
||||||
kwargs = args;
|
kwargs = args;
|
||||||
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,
|
model: this.name,
|
||||||
method: method,
|
method: method,
|
||||||
args: args,
|
args: args,
|
||||||
|
|
Loading…
Reference in New Issue