From d0605443fb6cbf4b888417804aa745b64434d2ac Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Wed, 28 May 2014 17:11:22 +0530 Subject: [PATCH] removed print statement --- erpnext/stock/doctype/item/item.py | 1 - 1 file changed, 1 deletion(-) diff --git a/erpnext/stock/doctype/item/item.py b/erpnext/stock/doctype/item/item.py index 104f9053831..6d6db94f309 100644 --- a/erpnext/stock/doctype/item/item.py +++ b/erpnext/stock/doctype/item/item.py @@ -137,7 +137,6 @@ class Item(WebsiteGenerator): bom = frappe.db.sql("""select name from `tabBOM` where item = %s and is_active = 1""", (self.name,)) if bom and bom[0][0]: - print self.name frappe.throw(_("""Allow Bill of Materials should be 'Yes'. Because one or many active BOMs present for this item""")) def fill_customer_code(self):