Comment 8 for bug 1317021

Revision history for this message
Kees van den Broek (kvdb-kvdb) wrote :

The updated regex in that branch fixed _that_ problem. Thanks.

Now, the parser got stuck a bit further ahead:

  File "/var/lib/openerp/ENV/openerp/local/lib/python2.7/site-packages/openerp-7.0_20140419_231145-py2.7.egg/openerp/addons/account_banking_nl_ing_mt940/account_banking_nl_ing_mt940.py", line 79, in handle_tag_86
    subfields[current_codeword].append(word)
KeyError: None

Here are some more lines from my .940 file.
Perhaps it contains a clue.
(only changed some irrelevant bits to protect privacy of customers)

:61:140101D0,01NDV NONREF
:86: RC AFREK. REK. 15.31.365 EUR
COR.PERIODE 01.10 T/M 31.12.2013 CREDITRENTE

:61:140327C90,75NOV EREF
:86:NL39RABO01234567891 RABONL2U ABC DEF 1403260010001001 200100 8
9482

:61:140310D181,50NDV MARF
:86:AC01 NL37ABNA0123456780 ABNANL2A tableaux E3048B1111A04E2 E2E-ID-
c88c4841111111a181111a050 ABC DEF