removed print statement

This commit is contained in:
Nabin Hait 2014-05-28 17:11:22 +05:30
parent 47a8670d37
commit d0605443fb

View File

@ -137,7 +137,6 @@ class Item(WebsiteGenerator):
bom = frappe.db.sql("""select name from `tabBOM` where item = %s bom = frappe.db.sql("""select name from `tabBOM` where item = %s
and is_active = 1""", (self.name,)) and is_active = 1""", (self.name,))
if bom and bom[0][0]: 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""")) frappe.throw(_("""Allow Bill of Materials should be 'Yes'. Because one or many active BOMs present for this item"""))
def fill_customer_code(self): def fill_customer_code(self):