[FIX] Document_ftp : Correction on ftp_browse wizard for URL (Ref : Maintenance case 3889)

bzr revid: jvo@tinyerp.com-20110202145507-vqaoq77rjip164ga
This commit is contained in:
Jay Vora (OpenERP)
2011-02-02 20:25:07 +05:30
parent 59b7e608f0
commit e8a052cbf2
+1 -1
View File
@@ -47,7 +47,7 @@ class document_ftp_browse(osv.osv_memory):
url = url[:-1]
else:
url = '%s:%s' %(ftpserver.HOST, ftpserver.PORT)
res['url'] = 'ftp://%s@%s/%s'%(current_user.login, url, cr.dbname)
res['url'] = 'ftp://%s@%s'%(current_user.login, url)
return res
def browse_ftp(self, cr, uid, ids, context=None):