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>
(cherry picked from commit 3b23fc1eba)
This commit is contained in:
mergify[bot]
2023-04-20 12:50:40 +05:30
committed by Mergify
parent 6faf459f97
commit 1b827e6b67

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)