summaryrefslogtreecommitdiff
path: root/archaeological_finds/models_treatments.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_finds/models_treatments.py')
-rw-r--r--archaeological_finds/models_treatments.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/archaeological_finds/models_treatments.py b/archaeological_finds/models_treatments.py
index 28e6618d6..5d4597b19 100644
--- a/archaeological_finds/models_treatments.py
+++ b/archaeological_finds/models_treatments.py
@@ -1182,6 +1182,10 @@ class TreatmentFile(
return _("Treatment request")
@classmethod
+ def class_verbose_name(cls): # TODO: should be unecessary if MainItem
+ return cls._meta.verbose_name
+
+ @classmethod
def get_query_owns(cls, ishtaruser):
return (
Q(history_creator=ishtaruser.user_ptr) | Q(in_charge__ishtaruser=ishtaruser)