2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-29 03:56:43 +00:00
Oliver Walters 70c5b27d22 Add ReportAsset model
- Files which can be embedded into a report
2020-05-21 14:05:25 +10:00

21 lines
441 B
Python

# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.contrib import admin
from .models import ReportTemplate, ReportAsset
class ReportTemplateAdmin(admin.ModelAdmin):
list_display = ('template', 'description')
class ReportAssetAdmin(admin.ModelAdmin):
list_display = ('asset', 'description')
admin.site.register(ReportTemplate, ReportTemplateAdmin)
admin.site.register(ReportAsset, ReportAssetAdmin)