From dd7524f844c93a53d6dc0f34a331c4c320e6e14e Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Sun, 12 Jun 2016 11:16:23 +0530 Subject: [PATCH] [minor] msgprint as alert --- erpnext/buying/doctype/purchase_common/purchase_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/buying/doctype/purchase_common/purchase_common.py b/erpnext/buying/doctype/purchase_common/purchase_common.py index 5485f0c7fff..8435f3b970c 100644 --- a/erpnext/buying/doctype/purchase_common/purchase_common.py +++ b/erpnext/buying/doctype/purchase_common/purchase_common.py @@ -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):