mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-04 17:35:21 +00:00
Add "revision" number to report model
- Auto-increments whenever the model is saved
This commit is contained in:
1 parent
af7a627230
commit
33d66182df
5 files changed
+54
-1
No files matched your search
@@ -8,7 +8,7 @@ from .models import ReportSnippet, TestReport, ReportAsset
|
||||
|
||||
class ReportTemplateAdmin(admin.ModelAdmin):
|
||||
|
||||
list_display = ('name', 'description', 'template', 'filters', 'enabled')
|
||||
list_display = ('name', 'description', 'template', 'filters', 'enabled', 'revision')
|
||||
|
||||
|
||||
class ReportSnippetAdmin(admin.ModelAdmin):
|
||||
|
||||
Reference in new issue
Block a user