From 4d17ca961df598909619433550b3a6fda8e6bc4d Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 28 Feb 2024 10:47:21 +0100 Subject: 🐛 Fix treatment sheet bug (refs #5773) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- archaeological_finds/models_treatments.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/archaeological_finds/models_treatments.py b/archaeological_finds/models_treatments.py index 5e355cfcd..9e62bcb29 100644 --- a/archaeological_finds/models_treatments.py +++ b/archaeological_finds/models_treatments.py @@ -26,7 +26,7 @@ from django.db.models import Max, Q from django.db.models.signals import post_save, post_delete, pre_delete, m2m_changed from django.template.defaultfilters import slugify from django.urls import reverse -from ishtar_common.utils import ugettext_lazy as _, pgettext_lazy +from ishtar_common.utils import ugettext_lazy as _, pgettext_lazy, SheetItem from archaeological_finds.models_finds import Find, FindBasket, TreatmentType from archaeological_operations.models import ClosedItem, Operation @@ -95,6 +95,7 @@ class Treatment( ImageModel, OwnPerms, ShortMenuItem, + SheetItem, ): SLUG = "treatment" APP = "archaeological-finds" -- cgit v1.2.3