From 1a0e86f11ddac5ff4842e87cfc6796670866ca0f Mon Sep 17 00:00:00 2001 From: Neil Trini Lasrado Date: Mon, 6 Jul 2015 14:46:06 +0530 Subject: [PATCH] Update item_attribute.py Error Description Changed --- erpnext/stock/doctype/item_attribute/item_attribute.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/stock/doctype/item_attribute/item_attribute.py b/erpnext/stock/doctype/item_attribute/item_attribute.py index 73fefe42283..171e1186f66 100644 --- a/erpnext/stock/doctype/item_attribute/item_attribute.py +++ b/erpnext/stock/doctype/item_attribute/item_attribute.py @@ -33,4 +33,4 @@ class ItemAttribute(Document): if variant_attributes: for d in variant_attributes: if d[0] not in attribute_values: - frappe.throw(_("Attribute Value {0} cannot be removed from {1} as it has Variants.").format(d[0], self.name)) \ No newline at end of file + frappe.throw(_("Attribute Value {0} cannot be removed from {1} as Item Variants exist with this Attribute.").format(d[0], self.name))