From b18ac9ad4a8d43ebb23203eab501069408dc689c Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 3 Oct 2022 13:46:12 +0200 Subject: Fix delete wizard with no "class_verbose_name" --- archaeological_finds/models_treatments.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'archaeological_finds') 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 @@ -1181,6 +1181,10 @@ class TreatmentFile( def short_class_name(self): 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 ( -- cgit v1.2.3