fix: filtering via batch no (#34951)

fix: filtering via batch no(#34950)

* fix: filtering via batch no

(cherry picked from commit ea6eeace80)

Co-authored-by: Deepesh Garg <deepeshgarg6@gmail.com>
This commit is contained in:
mergify[bot]
2023-04-20 12:50:40 +05:30
committed by GitHub
parent c11b98fa9f
commit 3b23fc1eba

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)