mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-25 14:11:45 +01:00
fix: remove unclear message related to availability of product bundle
(cherry picked from commit f5e5f7b588)
This commit is contained in:
@@ -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"),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user