mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[FIX] Layout change in the Triodos CSV format (account numbers)
This commit is contained in:
@@ -68,6 +68,9 @@ class transaction_message(object):
|
||||
# Set statement_id based on week number
|
||||
self.statement_id = self.effective_date.strftime('%Yw%W')
|
||||
self.id = str(subno).zfill(4)
|
||||
# Normalize basic account numbers
|
||||
self.remote_account = self.remote_account.replace('.', '').zfill(10)
|
||||
self.local_account = self.local_account.replace('.', '').zfill(10)
|
||||
|
||||
class transaction(models.mem_bank_transaction):
|
||||
'''
|
||||
|
||||
Reference in New Issue
Block a user