I m Trying to get the value returned from python to javascript.
python function -
def test(self,cr,uid,ids):
a=3
b=10
if a<b:
print "data",a,b
return True
else:
return False
Js -
var module=new Model("ir.module.module");
var data=module.call("test",[args]);
alert(data);
can't we directly fetch value or do we need to explicitly pass value to javascript .