mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-16 16:15:02 +00:00
fix: incorrect stock value in the report
(cherry picked from commit 5824b5effd)
This commit is contained in:
committed by
Mergify
parent
af0399c2d2
commit
d302ca7ea0
@@ -72,6 +72,7 @@ def execute(filters=None):
|
|||||||
batch_balance_dict[sle.batch_no] = [0, 0]
|
batch_balance_dict[sle.batch_no] = [0, 0]
|
||||||
|
|
||||||
batch_balance_dict[sle.batch_no][0] += sle.actual_qty
|
batch_balance_dict[sle.batch_no][0] += sle.actual_qty
|
||||||
|
batch_balance_dict[sle.batch_no][1] += stock_value
|
||||||
|
|
||||||
if filters.get("segregate_serial_batch_bundle"):
|
if filters.get("segregate_serial_batch_bundle"):
|
||||||
actual_qty = batch_balance_dict[sle.batch_no][0]
|
actual_qty = batch_balance_dict[sle.batch_no][0]
|
||||||
|
|||||||
Reference in New Issue
Block a user