diff --git a/account_banking/__terp__.py b/account_banking/__terp__.py index 67bb4efe3..c5844274f 100644 --- a/account_banking/__terp__.py +++ b/account_banking/__terp__.py @@ -25,7 +25,7 @@ ############################################################################## { 'name': 'Account Banking', - 'version': '0.1.57', + 'version': '0.1.58', 'license': 'GPL-3', 'author': 'EduSense BV', 'website': 'http://www.edusense.nl', diff --git a/account_banking/wizard/bank_import.py b/account_banking/wizard/bank_import.py index fa78a6bc6..b173ff449 100644 --- a/account_banking/wizard/bank_import.py +++ b/account_banking/wizard/bank_import.py @@ -148,7 +148,7 @@ class banking_import(wizard.interface): partial_ids = [] move_line.reconcile_id = reconcile_obj.create( cursor, uid, { - 'line_ids': [ + 'line_id': [ (4, x, False) for x in [move_line.id] + partial_ids ], 'line_partial_ids': [ diff --git a/account_banking_fi_patu/__terp__.py b/account_banking_fi_patu/__terp__.py index 449a8cf58..73a7565a1 100644 --- a/account_banking_fi_patu/__terp__.py +++ b/account_banking_fi_patu/__terp__.py @@ -26,7 +26,7 @@ ############################################################################## { 'name': 'Account Banking PATU module', - 'version': '0.57', + 'version': '0.58', 'license': 'GPL-3', 'author': 'Sami Haahtinen', 'website': 'http://ressukka.net', diff --git a/account_banking_nl_clieop/__terp__.py b/account_banking_nl_clieop/__terp__.py index 6b5e58ce0..49310c0b7 100644 --- a/account_banking_nl_clieop/__terp__.py +++ b/account_banking_nl_clieop/__terp__.py @@ -25,7 +25,7 @@ ############################################################################## { 'name': 'Account Banking NL ClieOp', - 'version': '0.57', + 'version': '0.58', 'license': 'GPL-3', 'author': 'EduSense BV', 'website': 'http://www.edusense.nl', diff --git a/account_banking_nl_girotel/__terp__.py b/account_banking_nl_girotel/__terp__.py index f52471b8b..d8e4c44c2 100644 --- a/account_banking_nl_girotel/__terp__.py +++ b/account_banking_nl_girotel/__terp__.py @@ -25,7 +25,7 @@ ############################################################################## { 'name': 'Account Banking - Girotel', - 'version': '0.57', + 'version': '0.58', 'license': 'GPL-3', 'author': 'EduSense BV', 'website': 'http://www.edusense.nl', diff --git a/account_banking_nl_multibank/__terp__.py b/account_banking_nl_multibank/__terp__.py index 342545d90..8298f4fa9 100644 --- a/account_banking_nl_multibank/__terp__.py +++ b/account_banking_nl_multibank/__terp__.py @@ -25,7 +25,7 @@ ############################################################################## { 'name': 'Account Banking', - 'version': '0.57', + 'version': '0.58', 'license': 'GPL-3', 'author': 'EduSense BV', 'website': 'http://www.edusense.nl', diff --git a/account_banking_nl_multibank/multibank.py b/account_banking_nl_multibank/multibank.py index d36c5e3a8..3c7040919 100644 --- a/account_banking_nl_multibank/multibank.py +++ b/account_banking_nl_multibank/multibank.py @@ -136,7 +136,7 @@ class transaction(models.mem_bank_transaction): 2. Invoices from the bank itself are communicated through statements. These too have no remote_account and no remote_owner. They have a - transfer_type set to 'KST' or 'KNT'. + transfer_type set to 'KST', 'KNT' or 'DIV'. 3. Transfers sent through the 'International Transfers' system get their feedback rerouted through a statement, which is not designed to @@ -155,7 +155,7 @@ class transaction(models.mem_bank_transaction): self.effective_date) and ( self.remote_account or self.transfer_type in [ - 'KST', 'PRV', 'BTL', 'BEA', 'OPN', 'KNT', + 'KST', 'PRV', 'BTL', 'BEA', 'OPN', 'KNT', 'DIV', ] and not self.error_message ) @@ -306,6 +306,7 @@ to Bank Statements. # Probe first record to find out which format we are parsing. if lines and lines[0].count(',') > lines[0].count(';'): dialect.delimiter = ',' + if lines and lines[0].count("'") > lines[0].count('"'): dialect.quotechar = "'" # Transaction lines are not numbered, so keep a tracer subno = 0