banking-addons-team team mailing list archive
-
banking-addons-team team
-
Mailing list archive
-
Message #00594
[Merge] lp:~therp-nl/banking-addons/ba61-fix_triodos_iban_bic_split into lp:banking-addons
Stefan Rijnhart (Therp) has proposed merging lp:~therp-nl/banking-addons/ba61-fix_triodos_iban_bic_split into lp:banking-addons.
Requested reviews:
Banking Addons Team (banking-addons-team)
For more details, see:
https://code.launchpad.net/~therp-nl/banking-addons/ba61-fix_triodos_iban_bic_split/+merge/164644
--
https://code.launchpad.net/~therp-nl/banking-addons/ba61-fix_triodos_iban_bic_split/+merge/164644
Your team Banking Addons Team is requested to review the proposed merge of lp:~therp-nl/banking-addons/ba61-fix_triodos_iban_bic_split into lp:banking-addons.
=== modified file 'account_banking_nl_triodos/__openerp__.py'
--- account_banking_nl_triodos/__openerp__.py 2011-12-27 12:00:52 +0000
+++ account_banking_nl_triodos/__openerp__.py 2013-05-19 20:33:27 +0000
@@ -27,7 +27,7 @@
##############################################################################
{
'name': 'Triodos (NL) Bank Statements Import',
- 'version': '0.92',
+ 'version': '0.168',
'license': 'GPL-3',
'author': 'Therp BV / EduSense BV',
'website': 'https://launchpad.net/account-banking',
=== modified file 'account_banking_nl_triodos/triodos.py'
--- account_banking_nl_triodos/triodos.py 2012-01-17 08:48:10 +0000
+++ account_banking_nl_triodos/triodos.py 2013-05-19 20:33:27 +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