#35 Sanity command

* refactors "toggling" of recorded/checked state
* introduces mark_as_edited() for RecordableObjectMixin
This commit is contained in:
mpeltriaux committed 2021-11-17 12:09:49 +01:00
1 parent f62dd76d94
commit 4583a9f826
11 files changed
+80 -59

No files matched your search

+2
View File
@@ -284,6 +284,8 @@ class EditCompensationForm(NewCompensationForm):
self.instance.save()
self.instance.log.add(action)
intervention.mark_as_edited(user)
return self.instance