projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a49cd4e
)
[FIX] allow users to not connect
author
Christophe Simonis
<chs@openerp.com>
Fri, 16 Dec 2011 14:26:53 +0000
(15:26 +0100)
committer
Christophe Simonis
<chs@openerp.com>
Fri, 16 Dec 2011 14:26:53 +0000
(15:26 +0100)
bzr revid: chs@openerp.com-
20111216142653
-kjernr0c6sr6h0h2
addons/web/static/src/js/core.js
patch
|
blob
|
history
diff --git
a/addons/web/static/src/js/core.js
b/addons/web/static/src/js/core.js
index
2c3f9d3
..
7f2775c
100644
(file)
--- a/
addons/web/static/src/js/core.js
+++ b/
addons/web/static/src/js/core.js
@@
-385,6
+385,14
@@
openerp.web.Connection = openerp.web.CallbackEnabled.extend( /** @lends openerp.
this.ready = $.Deferred();
return this.session_init();
},
+
+ /**
+ * Called when a rpc call fail due to an invalid session.
+ * By default, it's a noop
+ */
+ on_session_invalid: function(retry_callback) {
+ },
+
/**
* Executes an RPC call, registering the provided callbacks.
*