fix: filtering via batch no (#34951)
fix: filtering via batch no(#34950) * fix: filtering via batch no (cherry picked from commitea6eeace80) Co-authored-by: Deepesh Garg <deepeshgarg6@gmail.com> (cherry picked from commit3b23fc1eba)
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user