From c4df355edc9cb41cd56201650180cc9b1168e0bd Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Thu, 9 Aug 2012 11:33:56 +0530 Subject: [PATCH] removed msgprint in get_pos_details of sales invoice --- erpnext/accounts/doctype/sales_invoice/sales_invoice.py | 1 - 1 file changed, 1 deletion(-) diff --git a/erpnext/accounts/doctype/sales_invoice/sales_invoice.py b/erpnext/accounts/doctype/sales_invoice/sales_invoice.py index 6a7fb0186e1..ec327c7e1bb 100644 --- a/erpnext/accounts/doctype/sales_invoice/sales_invoice.py +++ b/erpnext/accounts/doctype/sales_invoice/sales_invoice.py @@ -209,7 +209,6 @@ class DocType(TransactionBase): if ret['warehouse']: actual_qty = webnotes.conn.sql("select actual_qty from `tabBin` where item_code = '%s' and warehouse = '%s'" % (args['item_code'], ret['warehouse'])) ret['actual_qty']= actual_qty and flt(actual_qty[0][0]) or 0 - msgprint(ret) return ret def get_barcode_details(self, barcode):