From 6f990814acc6eb13656111e11b994bd892a82d7c Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 7 Feb 2022 18:30:32 +0100 Subject: Minor fixes: fix field name on doc dup - more explicit resume on deletion --- ishtar_common/models_common.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ishtar_common/models_common.py') diff --git a/ishtar_common/models_common.py b/ishtar_common/models_common.py index b605d13f2..109174439 100644 --- a/ishtar_common/models_common.py +++ b/ishtar_common/models_common.py @@ -3121,6 +3121,10 @@ class MainItem(ShortMenuItem): QUICK_ACTIONS = [] + @classmethod + def class_verbose_name(cls): + return cls._meta.verbose_name + @classmethod def get_quick_actions(cls, user, session=None, obj=None): """ -- cgit v1.2.3