This is done instead of querying the password and using it because when
base_crypt is installed, the password will be hashed.
bzr revid: vmt@openerp.com-
20101229161322-at8c3zh3mnzchj94
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
ftp.retrbinary('RETR %s' % fname, partial(ffp,data))
return ''.join(data)
-#eof
\ No newline at end of file
+#eof