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:
7a87053
)
[IMP] version_info read info from server
author
Christophe Simonis
<chs@openerp.com>
Mon, 1 Oct 2012 16:44:58 +0000
(18:44 +0200)
committer
Christophe Simonis
<chs@openerp.com>
Mon, 1 Oct 2012 16:44:58 +0000
(18:44 +0200)
bzr revid: chs@openerp.com-
20121001164458
-6bkchfr2qoll0qq9
addons/web/controllers/main.py
patch
|
blob
|
history
diff --git
a/addons/web/controllers/main.py
b/addons/web/controllers/main.py
index
e2e7ebb
..
e27a07c
100644
(file)
--- a/
addons/web/controllers/main.py
+++ b/
addons/web/controllers/main.py
@@
-696,9
+696,7
@@
class WebClient(openerpweb.Controller):
@openerpweb.jsonrequest
def version_info(self, req):
- return {
- "version": common.release.version
- }
+ return req.proxy('common').version()['openerp']
class Proxy(openerpweb.Controller):
_cp_path = '/web/proxy'