* fix: do not consider rejected warehouses in pick list (backport #39539) (#39804)
* fix: do not consider rejected warehouses in pick list (#39539)
* fix: do not picked rejected materials
* test: test case for pick list without rejected materials
(cherry picked from commit f6725e43425043eaba7dcdd3cf3768a857a39ee6)
# Conflicts:
# erpnext/selling/doctype/sales_order/test_sales_order.py
# erpnext/stock/doctype/pick_list/pick_list.json
# erpnext/stock/doctype/pick_list/pick_list.py
* chore: fix conflicts
* chore: fix conflicts
* chore: fix conflicts
* chore: fixed test case
---------
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
(cherry picked from commit 2c8e4c1ab3bde6a9ab37a41d2801c447d76903ef)
# Conflicts:
# erpnext/selling/doctype/sales_order/test_sales_order.py
* chore: fix conflicts
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>