diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-02-28 10:47:21 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-04-16 16:42:33 +0200 |
commit | 4d17ca961df598909619433550b3a6fda8e6bc4d (patch) | |
tree | b09d0054ee59bc5f46430ddc0549dbc08e9b7dbb | |
parent | 4d933cc00fdde782a5f2de7539caf451fb74f4cd (diff) | |
download | Ishtar-4d17ca961df598909619433550b3a6fda8e6bc4d.tar.bz2 Ishtar-4d17ca961df598909619433550b3a6fda8e6bc4d.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" |