Merge pull request #34952 from frappe/mergify/bp/version-14/pr-34951

fix: filtering via batch no (backport #34951)
This commit is contained in:
Deepesh Garg
2023-04-20 12:53:14 +05:30
committed by GitHub

View File

@@ -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)