[FIX]Entry date not parsed by strftime :(

bzr revid: dle@openerp.com-20121206155937-8ngexk7iulkt04va
This commit is contained in:
dle@openerp.com 2012-12-06 16:59:37 +01:00
parent 15b03bb0b6
commit 8f9ff4d19a
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ class account_coda_import(osv.osv_memory):
#Non-structured communication
statementLine['communication_struct'] = False
statementLine['communication'] = rmspaces(line[62:115])
statementLine['entryDate'] = rmspaces(line[115:121])
statementLine['entryDate'] = time.strftime(tools.DEFAULT_SERVER_DATE_FORMAT, time.strptime(rmspaces(line[115:121]), '%d%m%y'))
statementLine['type'] = 'normal'
statementLine['globalisation'] = int(line[124])
if len(statement['globalisation_stack']) > 0 and statementLine['communication'] != '':