From 0bd04e33c495c894a01298824482157837419cfe Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 25 Feb 2019 18:07:15 +0100 Subject: Manage generation of QR codes --- archaeological_finds/models_finds.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'archaeological_finds/models_finds.py') diff --git a/archaeological_finds/models_finds.py b/archaeological_finds/models_finds.py index 01f4b719f..084e2b8d7 100644 --- a/archaeological_finds/models_finds.py +++ b/archaeological_finds/models_finds.py @@ -41,7 +41,7 @@ from ishtar_common.models import Document, GeneralType, \ ValueGetter, get_current_profile, IshtarSiteProfile, PRIVATE_FIELDS, \ GeoItem, BulkUpdatedItem, ExternalIdManager, QuickAction, \ MainItem, document_attached_changed, HistoryModel, DynamicRequest, \ - SearchAltName + SearchAltName, QRCodeItem from archaeological_operations.models import AdministrativeAct, Operation @@ -700,8 +700,8 @@ def query_loan(is_true=True): container_ref=F('container')), None, None -class Find(BulkUpdatedItem, ValueGetter, BaseHistorizedItem, OwnPerms, - MainItem): +class Find(BulkUpdatedItem, ValueGetter, BaseHistorizedItem, QRCodeItem, + OwnPerms, MainItem): EXTERNAL_ID_KEY = 'find_external_id' SHOW_URL = 'show-find' SLUG = 'find' -- cgit v1.2.3