[FIX] web: calls to openerp methods do not raises xmlrpc Fault anymore
bzr revid: chs@openerp.com-20130611163527-k6yzb604c36n2wha
This commit is contained in:
@@ -768,7 +768,7 @@ class Database(openerpweb.Controller):
|
||||
# TODO change js to avoid calling this method if in monodb mode
|
||||
try:
|
||||
return db_list(req)
|
||||
except xmlrpclib.Fault:
|
||||
except openerp.exceptions.AccessDenied:
|
||||
monodb = db_monodb(req)
|
||||
if monodb:
|
||||
return [monodb]
|
||||
|
||||
Reference in New Issue
Block a user