mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-15 11:35:41 +00:00
Begin to add views for part models
- List BOM items - Show category listing as linked items - Fix some pathing issues with InvenTreeTree class
This commit is contained in:
@ -5,7 +5,7 @@ from .models import StockLocation, StockItem
|
||||
|
||||
|
||||
class LocationAdmin(admin.ModelAdmin):
|
||||
list_display = ('name', 'path', 'description')
|
||||
list_display = ('name', 'pathstring', 'description')
|
||||
|
||||
|
||||
class StockItemAdmin(SimpleHistoryAdmin):
|
||||
|
@ -48,4 +48,4 @@ class LocationSerializer(serializers.HyperlinkedModelSerializer):
|
||||
'name',
|
||||
'description',
|
||||
'parent',
|
||||
'path')
|
||||
'pathstring')
|
||||
|
Reference in New Issue
Block a user