changeset 1b3f8ba3b79f in modules/account_payment_sepa:6.4
details:
https://hg.tryton.org/modules/account_payment_sepa?cmd=changeset&node=1b3f8ba3b79f
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 87cea3ad3077 -r 1b3f8ba3b79f payment.py
--- a/payment.py Mon Jun 20 23:43:27 2022 +0200
+++ b/payment.py Tue Jun 21 08:31:41 2022 +0200
@@ -211,7 +211,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: