fixes in item
diff --git a/stock/doctype/item/item.py b/stock/doctype/item/item.py
index 2b2dbfe..c0f0a07 100644
--- a/stock/doctype/item/item.py
+++ b/stock/doctype/item/item.py
@@ -242,7 +242,7 @@
if vals and ((self.doc.is_stock_item == "No" and vals.is_stock_item == "Yes") or
vals.has_serial_no != self.doc.has_serial_no or
vals.valuation_method != self.doc.valuation_method):
- if self.check_if_sle_exists():
+ if self.check_if_sle_exists() == "exists":
webnotes.msgprint(_("As there are existing stock transactions for this \
item, you can not change the values of 'Has Serial No', \
'Is Stock Item' and 'Valuation Method'"), raise_exception=1)