mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-13 10:11:20 +00:00
Merge pull request #50342 from rehanrehman389/asset-name
feat: add asset name column
This commit is contained in:
@@ -119,6 +119,7 @@ def get_assets_details(assets):
|
|||||||
|
|
||||||
fields = [
|
fields = [
|
||||||
"name as asset",
|
"name as asset",
|
||||||
|
"asset_name",
|
||||||
"net_purchase_amount",
|
"net_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",
|
||||||
|
|||||||
Reference in New Issue
Block a user