mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[FIX] account_banking_nl_clieop: generators are not subscriptable
This commit is contained in:
@@ -268,9 +268,12 @@ class Transaction(object):
|
||||
# Allow long message lines to redistribute over multiple message
|
||||
# records
|
||||
for msg in chunk(''.join(messages),
|
||||
self.description.length('description')
|
||||
)[:4]:
|
||||
self.description.description = msg
|
||||
self.description.length('description')
|
||||
):
|
||||
try:
|
||||
self.description.description = msg
|
||||
except ValueError:
|
||||
break
|
||||
self.name.name = name
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user