mirror of
https://gitlab.crans.org/bde/nk20
synced 2024-11-26 18:37:12 +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
|
# Save notes
|
||||||
self.source.balance += diff_source
|
self.source.balance += diff_source
|
||||||
|
self.source._force_save = True
|
||||||
self.source.save()
|
self.source.save()
|
||||||
self.destination.balance += diff_dest
|
self.destination.balance += diff_dest
|
||||||
|
self.destination._force_save = True
|
||||||
self.destination.save()
|
self.destination.save()
|
||||||
|
|
||||||
def delete(self, **kwargs):
|
def delete(self, **kwargs):
|
||||||
|
Loading…
Reference in New Issue
Block a user