[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:
parent
a7a4f33d0f
commit
408f17a884
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue