mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-01 04:28:27 +00:00
fix: incorrect actual cost in Procurement Tracker report (#43109)
This commit is contained in:
@@ -175,7 +175,7 @@ def get_data(filters):
|
||||
"purchase_order": po.parent,
|
||||
"supplier": po.supplier,
|
||||
"estimated_cost": flt(mr_record.get("amount")),
|
||||
"actual_cost": flt(pi_records.get(po.name)),
|
||||
"actual_cost": flt(pi_records.get(po.name)) or flt(po.amount),
|
||||
"purchase_order_amt": flt(po.amount),
|
||||
"purchase_order_amt_in_company_currency": flt(po.base_amount),
|
||||
"expected_delivery_date": po.schedule_date,
|
||||
|
||||
Reference in New Issue
Block a user