From 4bdc6a00215b2c751a621c0c936502a557ed69bc Mon Sep 17 00:00:00 2001 From: Khushi Rawat <142375893+khushi8112@users.noreply.github.com> Date: Wed, 20 Nov 2024 11:56:34 +0530 Subject: [PATCH] style: move depreciation details to a new tab --- erpnext/assets/doctype/asset/asset.json | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/erpnext/assets/doctype/asset/asset.json b/erpnext/assets/doctype/asset/asset.json index 859a9e7a0947..ad0ae85d4475 100644 --- a/erpnext/assets/doctype/asset/asset.json +++ b/erpnext/assets/doctype/asset/asset.json @@ -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", @@ -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", @@ -545,6 +538,11 @@ "fieldtype": "Tab Break", "label": "Connections", "show_dashboard": 1 + }, + { + "fieldname": "depreciation_tab", + "fieldtype": "Tab Break", + "label": "Depreciation Details" } ], "idx": 72, @@ -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",