[FIX]Entry date not parsed by strftime :(
bzr revid: dle@openerp.com-20121206155937-8ngexk7iulkt04va
This commit is contained in:
parent
15b03bb0b6
commit
8f9ff4d19a
|
@ -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'] != '':
|
||||
|
|
Loading…
Reference in New Issue