Commit 8f750781 authored by jr-garnier's avatar jr-garnier Committed by Supelec Rezo Rennes

Fix cheque cotisations being saved twice

parent 706b309a
Pipeline #2376 passed with stage
in 3 minutes and 26 seconds
......@@ -47,7 +47,7 @@ def cheque(request, invoice_pk):
form = InvoiceForm(request.POST or None, instance=invoice)
if form.is_valid():
form.instance.valid = True
# For is saved in call to end_payment
return form.instance.paiement.end_payment(
form.instance, request, use_payment_method=False
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment