From 5a5804ca87cf14fb271798295df4eb6fc955656e Mon Sep 17 00:00:00 2001 From: Lewis Mojica Date: Mon, 11 Aug 2025 16:06:08 -0400 Subject: [PATCH] chore: remove unused variable --- erpnext/accounts/doctype/pos_invoice/pos_invoice.py | 1 - 1 file changed, 1 deletion(-) diff --git a/erpnext/accounts/doctype/pos_invoice/pos_invoice.py b/erpnext/accounts/doctype/pos_invoice/pos_invoice.py index c775c437dae..5e6500dabae 100644 --- a/erpnext/accounts/doctype/pos_invoice/pos_invoice.py +++ b/erpnext/accounts/doctype/pos_invoice/pos_invoice.py @@ -867,7 +867,6 @@ def get_bundle_availability(bundle_item_code, warehouse): bundle_bin_qty = 1000000 for item in product_bundle.items: item_bin_qty = get_bin_qty(item.item_code, warehouse) - item_pos_reserved_qty = get_pos_reserved_qty(item.item_code, warehouse) max_available_bundles = item_bin_qty / item.qty if bundle_bin_qty > max_available_bundles and frappe.get_value(