There are some invoices whose payable object no longer exists, but do need_synchronization. We need to figure out what to do with that. It shouldn't normally happen (and doesn't happen frequently) but it would be nice if we can either handle it somehow or make it impossible.
Describe the bug
There are some invoices whose payable object no longer exists, but do
need_synchronization
. We need to figure out what to do with that. It shouldn't normally happen (and doesn't happen frequently) but it would be nice if we can either handle it somehow or make it impossible.How to reproduce
Expected behaviour
???
Additional context
This caused https://thalia.sentry.io/issues/4937025315/. There is currently one case: invoice 3719, which was for a minimized renewal.