Skip to content

Commit

Permalink
fix: incorrect balance qty in the stock ledger report
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitwaghchaure committed Mar 30, 2023
1 parent 867d898 commit cbdaab9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions erpnext/stock/report/stock_ledger/stock_ledger.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cbdaab9

Please sign in to comment.