Update item_attribute.py

Error Description Changed
This commit is contained in:
Neil Trini Lasrado 2015-07-06 14:46:06 +05:30
parent 1faaf71dfc
commit 1a0e86f11d

View File

@ -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))
frappe.throw(_("Attribute Value {0} cannot be removed from {1} as Item Variants exist with this Attribute.").format(d[0], self.name))