fix(stock): remove filter from query (#50104)

This commit is contained in:
Mihir Kandoi
2025-10-14 23:55:43 +05:30
committed by GitHub

View File

@@ -549,7 +549,7 @@ class StockController(AccountsController):
batches = sorted(
frappe.get_all(
"Serial and Batch Entry",
filters={"parent": row.serial_and_batch_bundle, "batch_no": ("is", "set")},
filters={"parent": row.serial_and_batch_bundle},
pluck="batch_no",
distinct=True,
)