mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[FIX] account_banking_nl_girotel: interest is transferred as reversed VZ
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
##############################################################################
|
||||
{
|
||||
'name': 'Account Banking',
|
||||
'version': '0.56',
|
||||
'version': '0.57',
|
||||
'license': 'GPL-3',
|
||||
'author': 'EduSense BV',
|
||||
'website': 'http://www.edusense.nl',
|
||||
|
||||
Reference in New Issue
Block a user