add: add new invalid product model and create, list api added

This commit is contained in:
behruz-dev
2025-08-27 10:06:14 +05:00
parent 7a8efa74ff
commit 06f3b96e2b
13 changed files with 247 additions and 6 deletions

View File

@@ -5,5 +5,5 @@ from core.apps.wherehouse.models.inventory import Inventory
@admin.register(Inventory)
class InventoryAdmin(admin.ModelAdmin):
list_display = ['quantity', 'wherehouse', 'product']
list_display = ['id', 'wherehouse', 'is_invalid']
list_filter = ['wherehouse', 'is_invalid']