fixes in item
diff --git a/stock/doctype/item/item.py b/stock/doctype/item/item.py
index 55a0ae7..2b2dbfe 100644
--- a/stock/doctype/item/item.py
+++ b/stock/doctype/item/item.py
@@ -239,8 +239,8 @@
vals = webnotes.conn.get_value("Item", self.doc.name,
["has_serial_no", "is_stock_item", "valuation_method"], as_dict=True)
- if vals and (vals.has_serial_no != self.doc.has_serial_no or
- vals.is_stock_item != self.doc.is_stock_item or
+ 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():
webnotes.msgprint(_("As there are existing stock transactions for this \