changeset 4d9ddfa86775 in modules/account_payment_sepa:6.2
details:
https://hg.tryton.org/modules/account_payment_sepa?cmd=changeset&node=4d9ddfa86775
description:
Convert filter to list to call lock
issue11537
(grafted from 6e6dabfb679d498c4163b3e2e29ee134ce428d06)
diffstat:
payment.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 8814ed56f0bb -r 4d9ddfa86775 payment.py
--- a/payment.py Mon Jun 20 23:43:27 2022 +0200
+++ b/payment.py Tue Jun 21 08:31:41 2022 +0200
@@ -214,7 +214,7 @@
if self.kind == 'receivable':
payments = list(self.payments)
mandates = Payment.get_sepa_mandates(payments)
- Mandate.lock(filter(None, mandates))
+ Mandate.lock(list(filter(None, mandates)))
sequence_types = {}
for payment, mandate in zip(payments, mandates):
if not mandate: