orders: add order type

This commit is contained in:
behruz-dev
2025-10-31 16:15:36 +05:00
parent 01fac3110e
commit 5c845917df
6 changed files with 504 additions and 3415 deletions

View File

@@ -6,6 +6,7 @@ from core.apps.orders.models import Order
@admin.register(Order)
class OrderAdmin(admin.ModelAdmin):
list_display = ['id', 'product', 'wherehouse', 'currency', 'counterparty']
list_filter = ['counterparty']
# # Statuslar: {'ORDERED', 'PARTIALLY_RECIEVED', 'pending', "open", "buying", "rejected", "recieved", "passive"}
# open -> yangi == NEW