[FIX] incorrect company logo on databases with uppercase letters

bzr revid: xmo@openerp.com-20130516132200-t4h6gtoplkqzuh1w
This commit is contained in:
Xavier Morel 2013-05-16 15:22:00 +02:00
commit ae1ea1ac58
1 changed files with 1 additions and 1 deletions

View File

@ -1380,7 +1380,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