[IMP] version_info more info
bzr revid: al@openerp.com-20121219154505-lcartslny586t07n
This commit is contained in:
parent
bcd4686ad8
commit
f14a8b9aac
|
@ -679,9 +679,7 @@ class WebClient(openerpweb.Controller):
|
|||
|
||||
@openerpweb.jsonrequest
|
||||
def version_info(self, req):
|
||||
return {
|
||||
"version": openerp.release.version
|
||||
}
|
||||
return openerp.service.web_services.RPC_VERSION_1
|
||||
|
||||
class Proxy(openerpweb.Controller):
|
||||
_cp_path = '/web/proxy'
|
||||
|
|
|
@ -412,7 +412,7 @@
|
|||
<div class="oe_about">
|
||||
<a class="oe_activate_debug_mode oe_right" href="?debug" style="background-color: white; padding:2px 6px; border-radius: 10px;">Activate the developer mode</a>
|
||||
<img class="oe_logo" src="/web/static/src/img/logo2.png"/>
|
||||
<h3>Version <t t-esc="version_info.version"/></h3>
|
||||
<h3>Version <t t-esc="version_info.server_version"/></h3>
|
||||
|
||||
<div class="oe_bottom">
|
||||
<p>Copyright © 2004-TODAY OpenERP SA. All Rights Reserved.<br />
|
||||
|
|
Loading…
Reference in New Issue