summaryrefslogtreecommitdiff
path: root/addons/web_rpc/static/src
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web_rpc/static/src')
-rw-r--r--addons/web_rpc/static/src/example.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_rpc/static/src/example.html b/addons/web_rpc/static/src/example.html
index 724de9d2885..fb5d12f73e3 100644
--- a/addons/web_rpc/static/src/example.html
+++ b/addons/web_rpc/static/src/example.html
@@ -29,7 +29,7 @@
c._modules_loaded = true; // Hack to prevent loading of additional modules
var s = new c.base.Session(); // setup a Session
- s.session_login("web-trunk", "admin", "admin", function() {
+ s.login("web-trunk", "admin", "admin", function() {
var ds = new c.base.DataSetSearch(s, "ir.model"); // DataSetSearch used to search, read
ds.read_slice(['name','model'], {}, function(users){