Invoice plugins: Call build_invoice_data for cancellations (#5523)

This commit is contained in:
Raphael Michel
2025-10-15 09:06:46 +02:00
committed by GitHub
parent a1d078b48e
commit 40357681df

View File

@@ -377,6 +377,8 @@ def build_cancellation(invoice: Invoice):
line.gross_value *= -1
line.tax_value *= -1
line.save()
build_invoice_data.send(sender=invoice.event, invoice=invoice)
return invoice