mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 07:54:46 +00:00
removed msgprint in get_pos_details of sales invoice
This commit is contained in:
@@ -209,7 +209,6 @@ class DocType(TransactionBase):
|
|||||||
if ret['warehouse']:
|
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']))
|
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
|
ret['actual_qty']= actual_qty and flt(actual_qty[0][0]) or 0
|
||||||
msgprint(ret)
|
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
def get_barcode_details(self, barcode):
|
def get_barcode_details(self, barcode):
|
||||||
|
|||||||
Reference in New Issue
Block a user