diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-02-28 10:47:21 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-02-28 14:43:16 +0100 |
commit | cdd762228e6e9b86f810644fc5f6fec4b9ef4c71 (patch) | |
tree | e159c7fbef79330f5187eb7f8729f3905c9b5d79 | |
parent | 97f775265610d974e981e3c34d4ff01497649bfb (diff) | |
download | Ishtar-cdd762228e6e9b86f810644fc5f6fec4b9ef4c71.tar.bz2 Ishtar-cdd762228e6e9b86f810644fc5f6fec4b9ef4c71.zip |
🐛 Fix treatment sheet bug (refs #5773)
-rw-r--r-- | archaeological_finds/models_treatments.py | 3 |
1 files changed, 2 insertions, 1 deletions
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" |