From ad95efd7e4fe3dc8f7e2fc256113aed2acb76e22 Mon Sep 17 00:00:00 2001
From: "Pieter J. Kersten"
Date: Thu, 21 Apr 2011 21:03:58 +0200
Subject: [PATCH] [FIX] account_banking_nl_girotel: interest is transferred as
reversed VZ
---
account_banking/__terp__.py | 2 +-
account_banking_fi_patu/__terp__.py | 2 +-
account_banking_nl_clieop/__terp__.py | 2 +-
account_banking_nl_girotel/__terp__.py | 2 +-
account_banking_nl_girotel/girotel.py | 5 +++++
account_banking_nl_multibank/__terp__.py | 2 +-
6 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/account_banking/__terp__.py b/account_banking/__terp__.py
index 61440dbe6..67bb4efe3 100644
--- a/account_banking/__terp__.py
+++ b/account_banking/__terp__.py
@@ -25,7 +25,7 @@
##############################################################################
{
'name': 'Account Banking',
- 'version': '0.1.56',
+ 'version': '0.1.57',
'license': 'GPL-3',
'author': 'EduSense BV',
'website': 'http://www.edusense.nl',
diff --git a/account_banking_fi_patu/__terp__.py b/account_banking_fi_patu/__terp__.py
index 17b5ba8f3..449a8cf58 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.56',
+ 'version': '0.57',
'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 c0eb130cb..6b5e58ce0 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.56',
+ 'version': '0.57',
'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 dab037057..f52471b8b 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.56',
+ 'version': '0.57',
'license': 'GPL-3',
'author': 'EduSense BV',
'website': 'http://www.edusense.nl',
diff --git a/account_banking_nl_girotel/girotel.py b/account_banking_nl_girotel/girotel.py
index 2de54d3f9..024eb82e0 100644
--- a/account_banking_nl_girotel/girotel.py
+++ b/account_banking_nl_girotel/girotel.py
@@ -192,6 +192,11 @@ class transaction(models.mem_bank_transaction):
Parse the message as sent by the bank. Most messages are composed
of chunks of 32 characters, but there are exceptions.
'''
+ if self.transfer_type == 'VZ':
+ # Credit bank costs (interest) gets a special treatment.
+ if self.remote_owner.starswith('RC AFREK. REK. '):
+ self.transfer_type = 'DV'
+
if self.transfer_type == 'DV':
# Bank costs.
# Title of action is in remote_owner, message contains additional
diff --git a/account_banking_nl_multibank/__terp__.py b/account_banking_nl_multibank/__terp__.py
index d0f231570..342545d90 100644
--- a/account_banking_nl_multibank/__terp__.py
+++ b/account_banking_nl_multibank/__terp__.py
@@ -25,7 +25,7 @@
##############################################################################
{
'name': 'Account Banking',
- 'version': '0.56',
+ 'version': '0.57',
'license': 'GPL-3',
'author': 'EduSense BV',
'website': 'http://www.edusense.nl',