Skip to content

Commit

Permalink
style: move depreciation details to a new tab
Browse files Browse the repository at this point in the history
  • Loading branch information
khushi8112 committed Nov 20, 2024
1 parent 87065d0 commit 4bdc6a0
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions erpnext/assets/doctype/asset/asset.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"asset_quantity",
"additional_asset_cost",
"total_asset_cost",
"section_break_23",
"depreciation_tab",
"calculate_depreciation",
"column_break_33",
"opening_accumulated_depreciation",
Expand Down Expand Up @@ -256,13 +256,6 @@
"label": "Opening Accumulated Depreciation",
"options": "Company:company:default_currency"
},
{
"collapsible": 1,
"collapsible_depends_on": "eval:doc.calculate_depreciation || doc.is_existing_asset",
"fieldname": "section_break_23",
"fieldtype": "Section Break",
"label": "Depreciation"
},
{
"columns": 10,
"fieldname": "finance_books",
Expand Down Expand Up @@ -545,6 +538,11 @@
"fieldtype": "Tab Break",
"label": "Connections",
"show_dashboard": 1
},
{
"fieldname": "depreciation_tab",
"fieldtype": "Tab Break",
"label": "Depreciation Details"
}
],
"idx": 72,
Expand Down Expand Up @@ -588,7 +586,7 @@
"link_fieldname": "target_asset"
}
],
"modified": "2024-11-18 12:51:49.862757",
"modified": "2024-11-20 11:52:06.332683",
"modified_by": "Administrator",
"module": "Assets",
"name": "Asset",
Expand Down

0 comments on commit 4bdc6a0

Please sign in to comment.