1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-21 09:58:23 +02:00

Translate rights

This commit is contained in:
Yohann D'ANELLO
2020-07-31 22:29:23 +02:00
parent dca655949e
commit d7b834d908
7 changed files with 358 additions and 370 deletions

View File

@ -208,7 +208,9 @@ class Transaction(PolymorphicModel):
super().save(*args, **kwargs)
# Save notes
self.source._force_save = True
self.source.save()
self.destination._force_save = True
self.destination.save()
def delete(self, **kwargs):