Skip to content

Commit

Permalink
fix: search not working for so in the Production Plan (#36459)
Browse files Browse the repository at this point in the history
fix: search not working for so
  • Loading branch information
rohitwaghchaure authored Aug 2, 2023
1 parent 8501a11 commit 8c57d56
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1731,7 +1731,7 @@ def sales_order_query(
query = query.where(so_table.name.isin(filters.get("sales_orders")))

if txt:
query = query.where(table.item_code.like(f"{txt}%"))
query = query.where(table.parent.like(f"%{txt}%"))

if page_len:
query = query.limit(page_len)
Expand Down

0 comments on commit 8c57d56

Please sign in to comment.