svthalia / concrexit

Thalia Website built on Django.
https://thalia.nu
Other
23 stars 11 forks source link

Moneybird invoice with no-longer-existing payable #3587

Open DeD1rk opened 6 months ago

DeD1rk commented 6 months ago

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

  1. ???

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.

ColonelPhantom commented 6 months ago

So I guess this can be reproduced by minimizing an outstanding renewal, or something like that?