mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 08:54:45 +00:00
Improve Validation Message in BOM
Update following validation message:
"Price not found for item {0} and price list {1}" to "Price not found for item {0} in price list {1}"
This commit is contained in:
@@ -201,7 +201,7 @@ class BOM(WebsiteGenerator):
|
|||||||
|
|
||||||
if not rate:
|
if not rate:
|
||||||
if self.rm_cost_as_per == "Price List":
|
if self.rm_cost_as_per == "Price List":
|
||||||
frappe.msgprint(_("Price not found for item {0} and price list {1}")
|
frappe.msgprint(_("Price not found for item {0} in price list {1}")
|
||||||
.format(arg["item_code"], self.buying_price_list), alert=True)
|
.format(arg["item_code"], self.buying_price_list), alert=True)
|
||||||
else:
|
else:
|
||||||
frappe.msgprint(_("{0} not found for item {1}")
|
frappe.msgprint(_("{0} not found for item {1}")
|
||||||
|
|||||||
Reference in New Issue
Block a user