From 9d92f4e4478e0695c0fdc36c18d723a4f3290ad4 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 24 May 2019 11:46:29 +0200 Subject: DocumentItem: fix inapropriate heritage --- archaeological_files/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'archaeological_files') diff --git a/archaeological_files/models.py b/archaeological_files/models.py index 7d86bcff8..e8df6cdae 100644 --- a/archaeological_files/models.py +++ b/archaeological_files/models.py @@ -33,7 +33,7 @@ from ishtar_common.models import GeneralType, BaseHistorizedItem, \ HistoricalRecords, OwnPerms, Person, Organization, Department, Town, \ Dashboard, DashboardFormItem, ValueGetter, ShortMenuItem, \ OperationType, get_external_id, post_save_cache, Document, HistoryModel, \ - SearchAltName, SearchVectorConfig + SearchAltName, SearchVectorConfig, DocumentItem from archaeological_operations.models import get_values_town_related, \ ClosedItem @@ -82,7 +82,7 @@ if settings.COUNTRY == 'fr': post_delete.connect(post_save_cache, sender=SaisineType) -class File(ClosedItem, BaseHistorizedItem, OwnPerms, ValueGetter, +class File(ClosedItem, DocumentItem, BaseHistorizedItem, OwnPerms, ValueGetter, ShortMenuItem, DashboardFormItem): SLUG = 'file' SHOW_URL = 'show-file' -- cgit v1.2.3