diff --git a/InvenTree/stock/admin.py b/InvenTree/stock/admin.py index a9cbcc9de7..86099cdbac 100644 --- a/InvenTree/stock/admin.py +++ b/InvenTree/stock/admin.py @@ -113,7 +113,6 @@ class StockAttachmentAdmin(admin.ModelAdmin): list_display = ('stock_item', 'attachment', 'comment') - class StockTrackingAdmin(ImportExportModelAdmin): list_display = ('item', 'date', 'title') diff --git a/InvenTree/stock/models.py b/InvenTree/stock/models.py index ca5ae115a1..ecfbf751c9 100644 --- a/InvenTree/stock/models.py +++ b/InvenTree/stock/models.py @@ -949,7 +949,7 @@ class StockItemAttachment(InvenTreeAttachment): StockItem, on_delete=models.CASCADE, related_name='attachments' - ) + ) class StockItemTracking(models.Model):