Skip to content
Snippets Groups Projects
Commit c211d0b6 authored by Cédric Krier's avatar Cédric Krier :atom:
Browse files

Create payment only for the first matching party reception of direct debit

Closes #13086
parent 15c24c47
No related branches found
No related tags found
No related merge requests found
......@@ -232,6 +232,7 @@
for reception in line.party.reception_direct_debits:
if reception.match(pattern):
payments.extend(reception.get_payments(line))
break
Payment.save(payments)
return payments
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment