banking-addons-team team mailing list archive
-
banking-addons-team team
-
Mailing list archive
-
Message #01081
[Merge] lp:~therp-nl/banking-addons/ba70-fix_triodos_iban_bic_split into lp:banking-addons
Stefan Rijnhart (Therp) has proposed merging lp:~therp-nl/banking-addons/ba70-fix_triodos_iban_bic_split into lp:banking-addons.
Requested reviews:
Banking Addons Core Editors (banking-addons-team)
For more details, see:
https://code.launchpad.net/~therp-nl/banking-addons/ba70-fix_triodos_iban_bic_split/+merge/195516
Forward port of
https://code.launchpad.net/~therp-nl/banking-addons/ba61-fix_triodos_iban_bic_split/+merge/164644
--
https://code.launchpad.net/~therp-nl/banking-addons/ba70-fix_triodos_iban_bic_split/+merge/195516
Your team Banking Addons Core Editors is requested to review the proposed merge of lp:~therp-nl/banking-addons/ba70-fix_triodos_iban_bic_split into lp:banking-addons.
=== modified file 'account_banking_nl_triodos/triodos.py'
--- account_banking_nl_triodos/triodos.py 2013-04-15 13:59:50 +0000
+++ account_banking_nl_triodos/triodos.py 2013-11-17 19:17:57 +0000
@@ -151,8 +151,14 @@
def parse_message(self):
'''
Parse structured message parts into appropriate attributes.
- No processing done here for Triodos, maybe later.
'''
+ # IBAN accounts are prefixed by BIC
+ if self.remote_account:
+ parts = self.remote_account.split(' ')
+ if len(parts) == 2:
+ self.remote_bank_bic = parts[0]
+ self.remote_account = parts[1]
+
class statement(models.mem_bank_statement):
'''
Follow ups