fix: missing asset id in the Fixed Asset Register (#24429)

This commit is contained in:
Anuja Pawar
2021-01-21 15:14:24 +05:30
committed by GitHub
parent 6f64ec3574
commit 39a5e5abd1

View File

@@ -141,7 +141,7 @@ def get_data(filters):
assets_record = frappe.db.get_all("Asset",
filters=conditions,
fields=["name", "asset_name", "department", "cost_center", "purchase_receipt",
fields=["name as asset_id", "asset_name", "department", "cost_center", "purchase_receipt",
"asset_category", "purchase_date", "gross_purchase_amount", "location",
"available_for_use_date", "status", "purchase_invoice", "opening_accumulated_depreciation"])