style: apply pre-commit formatting fixes

This commit is contained in:
Imesha Sudasingha
2025-08-07 05:15:42 +05:30
parent eebeb36b6c
commit dab6bb8e05
2 changed files with 7 additions and 2 deletions

View File

@@ -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");
}
}

View File

@@ -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: