diff --git a/erpnext/stock/doctype/pick_list/pick_list.js b/erpnext/stock/doctype/pick_list/pick_list.js index 7de3ef7d51a..d021973a01f 100644 --- a/erpnext/stock/doctype/pick_list/pick_list.js +++ b/erpnext/stock/doctype/pick_list/pick_list.js @@ -123,7 +123,10 @@ frappe.ui.form.on("Pick List", { }); if (has_changes) { - frappe.show_alert(__("Cleared auto-assigned serial numbers and batch numbers for manual picking"), 3); + frappe.show_alert( + __("Cleared auto-assigned serial numbers and batch numbers for manual picking"), + 3 + ); frm.refresh_field("locations"); } } diff --git a/erpnext/stock/doctype/pick_list/pick_list.py b/erpnext/stock/doctype/pick_list/pick_list.py index 24fecce135a..2420c166161 100644 --- a/erpnext/stock/doctype/pick_list/pick_list.py +++ b/erpnext/stock/doctype/pick_list/pick_list.py @@ -575,7 +575,9 @@ class PickList(TransactionBase): # Check if item is stock item or product bundle is_stock_item = cint(frappe.get_cached_value("Item", item.item_code, "is_stock_item")) - is_product_bundle = frappe.db.exists("Product Bundle", {"new_item_code": item.item_code, "disabled": 0}) + is_product_bundle = frappe.db.exists( + "Product Bundle", {"new_item_code": item.item_code, "disabled": 0} + ) # Include non-stock items for delivery purposes, but skip them for warehouse assignment if not is_stock_item and not is_product_bundle: