Compensation index view

* adds filters and table optimizations for compensation index rendering
* fixes recorded_by/checked_by confusion in intervention table
This commit is contained in:
mipel
2021-07-29 10:51:14 +02:00
parent c76a061740
commit 287e0b4068
5 changed files with 161 additions and 27 deletions
+3
View File
@@ -56,6 +56,9 @@ class Intervention(BaseObject):
# Users having access on this object
users = models.ManyToManyField(User)
def __str__(self):
return "{} ({})".format(self.identifier, self.title)
def delete(self, *args, **kwargs):
""" Custom delete functionality