Add order count edit, remove, and undo-done

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-07 08:16:16 +03:30
parent ab4416251a
commit a5b863fa6c
10 changed files with 189 additions and 41 deletions

View File

@@ -14,4 +14,4 @@ class OrderAdmin(admin.ModelAdmin):
'box_count', 'status', 'created_at']
list_filter = ['status', 'product']
search_fields = ['batch_number', 'product__code']
readonly_fields = ['canister_count', 'box_count', 'canister_pages', 'box_pages']
readonly_fields = ['canister_pages', 'box_pages']