Fix cancellation of invoices manually flagged as paid
authorMagnus Hagander <magnus@hagander.net>
Tue, 3 Sep 2024 14:01:21 +0000 (16:01 +0200)
committerMagnus Hagander <magnus@hagander.net>
Tue, 3 Sep 2024 14:01:21 +0000 (16:01 +0200)
commit8f622aad9199dbc18ac6594b5a05cfac27f2805d
treecd95f3b4a8b25591c263fb8f423ddda7ae7f613a
parentda313a354b62997b8bb5989f9d79510f0fe4b0b8
Fix cancellation of invoices manually flagged as paid

This is not a normal situation and has to be dealt with manually
regardless, but we shouldn't crash on it prior to telling the user they
have to do that...
postgresqleu/invoices/util.py