mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 16:04:46 +00:00
fix(stock): remove filter from query
This commit is contained in:
@@ -549,7 +549,7 @@ class StockController(AccountsController):
|
|||||||
batches = sorted(
|
batches = sorted(
|
||||||
frappe.get_all(
|
frappe.get_all(
|
||||||
"Serial and Batch Entry",
|
"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",
|
pluck="batch_no",
|
||||||
distinct=True,
|
distinct=True,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user