Merge lp:~openerp-dev/openerp-web/7.0-opw-592257-rgo into lp:openerp-web/7.0

Proposed by Ravi Gohil (OpenERP)
Status: Merged
Merged at revision: 3927
Proposed branch: lp:~openerp-dev/openerp-web/7.0-opw-592257-rgo
Merge into: lp:openerp-web/7.0
Diff against target: 12 lines (+1/-1)
1 file modified
addons/web/controllers/main.py (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openerp-web/7.0-opw-592257-rgo
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+162575@code.launchpad.net

Description of the change

Hi,

Steps to reproduce:
1) Create a db with some capital letters,
2) Login with user "admin", enable "Technical Features" for "admin",
3) Goto Companies/Companies and change the logo of the company,

You will notice that the logo changed in the company profile, but the logo isn't reflected in sidebar menu(top left corner)

This branch fixes this issue, kindly review it. Courtesy: Karel Marissens

Thanks.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'addons/web/controllers/main.py'
2--- addons/web/controllers/main.py 2013-04-23 21:06:44 +0000
3+++ addons/web/controllers/main.py 2013-05-06 09:48:25 +0000
4@@ -1379,7 +1379,7 @@
5 else:
6 try:
7 # create an empty registry
8- registry = openerp.modules.registry.Registry(dbname.lower())
9+ registry = openerp.modules.registry.Registry(dbname)
10 with registry.cursor() as cr:
11 cr.execute("""SELECT c.logo_web
12 FROM res_users u