mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-02 04:58:29 +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)
|
stock_entries_child_list.append(d.ste_detail)
|
||||||
transferred_qty = frappe.get_all(
|
transferred_qty = frappe.get_all(
|
||||||
"Stock Entry Detail",
|
"Stock Entry Detail",
|
||||||
fields=[{"SUM": "qty", "as": "qty"}],
|
fields=[{"SUM": "transfer_qty", "as": "qty"}],
|
||||||
filters={
|
filters={
|
||||||
"against_stock_entry": d.against_stock_entry,
|
"against_stock_entry": d.against_stock_entry,
|
||||||
"ste_detail": d.ste_detail,
|
"ste_detail": d.ste_detail,
|
||||||
|
|||||||
Reference in New Issue
Block a user