[REVERT] document_ftp: Reverted the changes for lp:700682
bzr revid: uco@tinyerp.com-20110111110357-bf51758r4ihzzbwt
This commit is contained in:
@@ -37,7 +37,7 @@ def get_plain_ftp(timeout=10.0):
|
||||
def get_ftp_login(cr, uid, ormobj):
|
||||
ftp = get_plain_ftp()
|
||||
user = ormobj.pool.get('res.users').read(cr, uid, uid)
|
||||
ftp.login(user.get('login',''), user.get('password',''))
|
||||
ftp.login(user.get('login',''), user.get('login',''))
|
||||
ftp.cwd("/" + cr.dbname)
|
||||
return ftp
|
||||
|
||||
|
||||
Reference in New Issue
Block a user