datasektionen / cashflow

Django project to manage receipts and reimbursements at Datasektionen
https://cashflow.datasektionen.se
4 stars 12 forks source link

Use transactions when creating expenses #189

Open foodelevator opened 1 month ago

foodelevator commented 1 month ago

If an expense is created but then creating one of the files or expense parts fails we get an expense without any of the files or parts. This makes failing expenses not be stored in the database at all.

Testen in production image