mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-19 09:35:03 +00:00
fix: incorrect in and out qty in the Batch-Wise Balance History (#42866)
(cherry picked from commit ce7f6ee71c)
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
This commit is contained in:
@@ -168,7 +168,7 @@ def get_stock_ledger_entries_for_batch_bundle(filters):
|
||||
& (sle.has_batch_no == 1)
|
||||
& (sle.posting_date <= filters["to_date"])
|
||||
)
|
||||
.groupby(batch_package.batch_no, batch_package.warehouse)
|
||||
.groupby(sle.voucher_no, batch_package.batch_no, batch_package.warehouse)
|
||||
.orderby(sle.item_code, sle.warehouse)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user