mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-09 07:00:56 +00:00
Add "revision" number to report model
- Auto-increments whenever the model is saved
This commit is contained in:
@ -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