[MIG] Forward port of lp:banking-addons/6.1, rev. 167,

[FIX] ABN AMRO: Pick up IBAN account number in INTL formatted lines
This commit is contained in:
Stefan Rijnhart
2013-05-01 16:42:23 +02:00
parent 062d17641c
commit ea6329d2cd

View File

@@ -295,7 +295,7 @@ class transaction(models.mem_bank_transaction):
if fields[2].startswith('/'):
self.remote_account = fields[2][1:].strip()
else:
self.message += ' ' + fields[2].strip()
self.remote_account = fields[2].strip()
# fourth column contains remote owner
self.remote_owner = (len(fields) > 3 and fields[3].strip() or
False)