[FIX] remove currency code from iban in tag 25

This commit is contained in:
Holger Brunn
2014-09-22 19:00:22 +02:00
parent 3969c20eb4
commit 8e2249d122

View File

@@ -45,6 +45,10 @@ class IngMT940Parser(MT940, parser):
def create_transaction(self, cr):
return transaction()
def handle_tag_25(self, cr, data):
'''ING: For current accounts: IBAN+ ISO 4217 currency code'''
self.current_statement.local_account = data[:-3]
def handle_tag_60F(self, cr, data):
super(IngMT940Parser, self).handle_tag_60F(cr, data)
self.current_statement.id = '%s-%s' % (