add new app
This commit is contained in:
9
core/apps/wherehouse/admin/inventory.py
Normal file
9
core/apps/wherehouse/admin/inventory.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from django.contrib import admin
|
||||
|
||||
from core.apps.wherehouse.models.inventory import Inventory
|
||||
|
||||
|
||||
@admin.register(Inventory)
|
||||
class InventoryAdmin(admin.ModelAdmin):
|
||||
list_display = ['quantity', 'wherehouse', 'product']
|
||||
|
||||
Reference in New Issue
Block a user