Commit 2374a2b4 authored by chirac's avatar chirac

Merge branch 'cheque-payments-applied-twice' into 'master'

Fix cheque cotisations being saved twice

Closes #236

See merge request !487
parents 706b309a 8f750781
Pipeline #2377 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