Merge pull request #50377 from frappe/mergify/bp/version-15-hotfix/pr-50342

feat: add asset name column (backport #50342)
This commit is contained in:
Khushi Rawat
2025-11-06 01:29:57 +05:30
committed by GitHub

View File

@@ -119,6 +119,7 @@ def get_assets_details(assets):
fields = [ fields = [
"name as asset", "name as asset",
"asset_name",
"gross_purchase_amount", "gross_purchase_amount",
"opening_accumulated_depreciation", "opening_accumulated_depreciation",
"asset_category", "asset_category",
@@ -143,6 +144,12 @@ def get_columns():
"options": "Asset", "options": "Asset",
"width": 120, "width": 120,
}, },
{
"label": _("Asset Name"),
"fieldname": "asset_name",
"fieldtype": "Data",
"width": 140,
},
{ {
"label": _("Depreciation Date"), "label": _("Depreciation Date"),
"fieldname": "depreciation_date", "fieldname": "depreciation_date",