From 47c1d217598f96e25db3d38baada091d7937055f Mon Sep 17 00:00:00 2001 From: "Jay (Open ERP)" Date: Wed, 12 May 2010 18:37:56 +0530 Subject: [PATCH] [FIX] Document : It should be allowed to browse through FTP,disregard to --no-databse-list option bzr revid: jvo@tinyerp.com-20100512130756-2mtjv7k4kfpdckkg --- bin/service/web_services.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/service/web_services.py b/bin/service/web_services.py index 308a7aa18a9..7719caa063f 100644 --- a/bin/service/web_services.py +++ b/bin/service/web_services.py @@ -283,8 +283,8 @@ class db(netsvc.ExportService): ## Not True: in fact, check if connection to database is possible. The database may exists return bool(sql_db.db_connect(db_name)) - def exp_list(self): - if not tools.config['list_db']: + def exp_list(self, document=False): + if not tools.config['list_db'] and not document: raise Exception('AccessDenied') db = sql_db.db_connect('template1')