mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-21 23:58:30 +00:00
style: apply pre-commit formatting fixes
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user