[fix][tests] Fetching serial nos via get item details
This commit is contained in:
parent
1b9caf90dd
commit
ded059b253
@ -43,7 +43,7 @@ def get_item_details(args):
|
|||||||
get_party_item_code(args, item_doc, out)
|
get_party_item_code(args, item_doc, out)
|
||||||
|
|
||||||
if out.get("warehouse"):
|
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):
|
if frappe.db.exists("Product Bundle", args.item_code):
|
||||||
valuation_rate = 0.0
|
valuation_rate = 0.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user