fix: incorrect balance qty in the stock ledger report

(cherry picked from commit cbdaab940d)
This commit is contained in:
Rohit Waghchaure
2023-03-30 16:20:42 +05:30
committed by Mergify
parent 8510c398a4
commit 3494c9ccb6

View File

@@ -34,6 +34,9 @@ def execute(filters=None):
conversion_factors.append(0)
actual_qty = stock_value = 0
if opening_row:
actual_qty = opening_row.get("qty_after_transaction")
stock_value = opening_row.get("stock_value")
available_serial_nos = {}
inventory_dimension_filters_applied = check_inventory_dimension_filters_applied(filters)