Fixed validation to prevent duplication of Item Variants in case of Numeric Attributes
diff --git a/erpnext/stock/doctype/item/item.py b/erpnext/stock/doctype/item/item.py
index 08350af..d445582 100644
--- a/erpnext/stock/doctype/item/item.py
+++ b/erpnext/stock/doctype/item/item.py
@@ -572,7 +572,7 @@
for attribute, value in args.items():
for row in variant.attributes:
- if row.attribute==attribute and row.attribute_value==value:
+ if row.attribute==attribute and row.attribute_value== cstr(value):
# this row matches
match_count += 1
break