[FIX] Company Logo not shown if database name contains capitals(Courtesy: Karel Marissens). (Maintenance Case: 592257)

lp bug: https://launchpad.net/bugs/1172679 fixed

bzr revid: rgo@tinyerp.com-20130506092751-9zutbjsc5e5mnnvh
This commit is contained in:
Ravi Gohil (OpenERP) 2013-05-06 14:57:51 +05:30
parent a7a4f33d0f
commit 408f17a884
1 changed files with 1 additions and 1 deletions

View File

@ -1379,7 +1379,7 @@ class Binary(openerpweb.Controller):
else:
try:
# create an empty registry
registry = openerp.modules.registry.Registry(dbname.lower())
registry = openerp.modules.registry.Registry(dbname)
with registry.cursor() as cr:
cr.execute("""SELECT c.logo_web
FROM res_users u