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:
Kenneth Sequeira
2019-04-16 18:00:21 +05:30
committed by GitHub
parent 332b4171c0
commit 82e76b2c0c

View File

@@ -201,7 +201,7 @@ class BOM(WebsiteGenerator):
if not rate:
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)
else:
frappe.msgprint(_("{0} not found for item {1}")