[minor] msgprint as alert

This commit is contained in:
Rushabh Mehta 2016-06-12 11:16:23 +05:30
parent 538607e6b6
commit dd7524f844

View File

@ -72,7 +72,7 @@ class PurchaseCommon(BuyingController):
if items and len(items) != len(set(items)) and \
not cint(frappe.db.get_single_value("Buying Settings", "allow_multiple_items") or 0):
frappe.msgprint(_("Warning: Same item has been entered multiple times."), small=True)
frappe.msgprint(_("Warning: Same item has been entered multiple times."), alert=True)
def check_for_closed_status(self, doctype, docname):