mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
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:
@@ -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' % (
|
||||
|
||||
Reference in New Issue
Block a user