fix: pick list picked-qty for batch item

This commit is contained in:
Sagar Sharma 2022-10-03 14:12:42 +05:30
parent 69efd2ee24
commit ba02209f1d

View File

@ -183,7 +183,7 @@ class PickList(Document):
frappe.throw("Row #{0}: Item Code is Mandatory".format(item.idx))
item_code = item.item_code
reference = item.sales_order_item or item.material_request_item
key = (item_code, item.uom, item.warehouse, reference)
key = (item_code, item.uom, item.warehouse, item.batch_no, reference)
item.idx = None
item.name = None