[fix][tests] Fetching serial nos via get item details

This commit is contained in:
Nabin Hait 2016-12-08 13:20:43 +05:30
parent 1b9caf90dd
commit ded059b253

View File

@ -43,7 +43,7 @@ def get_item_details(args):
get_party_item_code(args, item_doc, out)
if out.get("warehouse"):
out.update(get_bin_details_and_serial_nos(args.item_code, out.warehouse, args.qty, args.serial_no))
out.update(get_bin_details(args.item_code, out.warehouse))
if frappe.db.exists("Product Bundle", args.item_code):
valuation_rate = 0.0