💩 Don't reset a transaction before saving it...
This commit is contained in:
parent
d8c7018b9a
commit
eb3d426947
1 changed files with 0 additions and 2 deletions
|
|
@ -202,8 +202,6 @@ class Transaction(PolymorphicModel):
|
|||
When saving, also transfer money between two notes
|
||||
"""
|
||||
with transaction.atomic():
|
||||
if self.pk:
|
||||
self.refresh_from_db()
|
||||
self.source.refresh_from_db()
|
||||
self.destination.refresh_from_db()
|
||||
self.validate(False)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue