mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-13 01:34:10 +00:00
fix(stock entry): calculate transferred quantity using transfer_qty
This commit is contained in:
@@ -3238,7 +3238,7 @@ class StockEntry(StockController, SubcontractingInwardController):
|
||||
stock_entries_child_list.append(d.ste_detail)
|
||||
transferred_qty = frappe.get_all(
|
||||
"Stock Entry Detail",
|
||||
fields=[{"SUM": "qty", "as": "qty"}],
|
||||
fields=[{"SUM": "transfer_qty", "as": "qty"}],
|
||||
filters={
|
||||
"against_stock_entry": d.against_stock_entry,
|
||||
"ste_detail": d.ste_detail,
|
||||
|
||||
Reference in New Issue
Block a user