* adds log detail support for compensation state and action
This commit is contained in:
2022-02-04 16:56:08 +01:00
parent 80b78d3e0d
commit 34d167a3eb
11 changed files with 84 additions and 37 deletions

View File

@@ -242,7 +242,9 @@ class Intervention(BaseObject, ShareableObjectMixin, RecordableObjectMixin, Chec
Returns:
"""
action = super().mark_as_edited(performing_user, request, edit_comment, reset_recorded)
action = super().mark_as_edited(performing_user, edit_comment)
if reset_recorded:
self.unrecord(performing_user, request)
if self.checked:
self.set_unchecked()
return action