Skip to content

Commit

Permalink
fix: filtering via batch no(#34950)
Browse files Browse the repository at this point in the history
* fix: filtering via batch no

(cherry picked from commit ea6eeac)
  • Loading branch information
deepeshgarg007 authored and mergify[bot] committed Apr 20, 2023
1 parent c11b98f commit 552aabe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/stock/stock_ledger.py
Original file line number Diff line number Diff line change
Expand Up @@ -1457,7 +1457,7 @@ def get_next_stock_reco(kwargs):
)

if kwargs.get("batch_no"):
query.where(sle.batch_no == kwargs.get("batch_no"))
query = query.where(sle.batch_no == kwargs.get("batch_no"))

return query.run(as_dict=True)

Expand Down

0 comments on commit 552aabe

Please sign in to comment.