fix: remove unclear message related to availability of product bundle

(cherry picked from commit f5e5f7b588)
This commit is contained in:
Lewis
2025-08-12 18:53:09 -04:00
committed by Mergify
parent 1f3d8e8d64
commit 383744b8e4

View File

@@ -368,9 +368,9 @@ class POSInvoice(SalesInvoice):
) )
elif is_stock_item and flt(available_stock) < flt(d.stock_qty): elif is_stock_item and flt(available_stock) < flt(d.stock_qty):
frappe.throw( frappe.throw(
_( _("Row #{}: Stock quantity not enough for Item Code: {} under warehouse {}.").format(
"Row #{}: Stock quantity not enough for Item Code: {} under warehouse {}. Available quantity {}." d.idx, item_code, warehouse
).format(d.idx, item_code, warehouse, available_stock), ),
title=_("Item Unavailable"), title=_("Item Unavailable"),
) )