Skip to content

Commit

Permalink
fix: pick_list - picked qty getting set to 1
Browse files Browse the repository at this point in the history
(cherry picked from commit 3256e2b)
  • Loading branch information
ahmadpak authored and mergify[bot] committed Sep 12, 2022
1 parent 60b914b commit 3c3ab89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/stock/doctype/pick_list/pick_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def aggregate_item_qty(self):
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, reference)
key = (item_code, item.uom, item.warehouse, reference)

item.idx = None
item.name = None
Expand Down

0 comments on commit 3c3ab89

Please sign in to comment.