[REV] unneeded api change

bzr revid: al@openerp.com-20121216024027-1wjhic1hhjeh6v8p
This commit is contained in:
Antony Lesuisse 2012-12-16 03:40:27 +01:00
parent 8b4f341c94
commit 0ad1f09831
1 changed files with 3 additions and 1 deletions

View File

@ -693,7 +693,9 @@ class WebClient(openerpweb.Controller):
@openerpweb.jsonrequest
def version_info(self, req):
return req.session.proxy('common').version()['openerp']
return {
"version": openerp.release.version
}
class Proxy(openerpweb.Controller):
_cp_path = '/web/proxy'