Saturday 26 September 2015

Switching database in login screen gives Internal server error on server in odoo | OpenERP

Hello,
for this change in below file : 
addons/web/controllers/main.py on line num : 142.
     # always switch the session to the computed db
     if db != request.session.db:
         request.session.logout()
+        request.session.db = db
         abort_and_redirect(request.httprequest.url)
 
-    request.session.db = db
 
 def module_installed():
     # Candidates module the current heuristic is the /static dir

No comments:

Post a Comment