2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-09 07:00:56 +00:00

Small refactor, and allow editing of ReportAsset in the admin interface

This commit is contained in:
Oliver Walters
2021-02-03 21:54:11 +11:00
parent 90bef69a59
commit cbadb2a888
2 changed files with 9 additions and 4 deletions

View File

@ -18,7 +18,7 @@ class ReportTemplateAdmin(admin.ModelAdmin):
class ReportAssetAdmin(admin.ModelAdmin):
list_display = ('asset', 'description')
list_display = ('id', 'asset', 'description')
admin.site.register(ReportSnippet, ReportSnippetAdmin)