mirror of
https://gitlab.crans.org/bde/nk20
synced 2024-12-22 23:42:25 +00:00
Notes are force-updated when a transaction is saved
This commit is contained in:
parent
e974eaa1fe
commit
6217f35f67
@ -238,8 +238,10 @@ class Transaction(PolymorphicModel):
|
||||
|
||||
# Save notes
|
||||
self.source.balance += diff_source
|
||||
self.source._force_save = True
|
||||
self.source.save()
|
||||
self.destination.balance += diff_dest
|
||||
self.destination._force_save = True
|
||||
self.destination.save()
|
||||
|
||||
def delete(self, **kwargs):
|
||||
|
Loading…
Reference in New Issue
Block a user