Merge pull request #41 from hbrunn/7.0-ing-nl-tag25

[FIX] account_banking_nl_ing_mt940: remove currency code from iban in tag 25
This commit is contained in:
Pedro M. Baeza
2014-10-06 01:23:15 +02:00

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' % (