diff --git a/erpnext/accounts/doctype/account/account.json b/erpnext/accounts/doctype/account/account.json index 5f906b54aaa..df9733249a2 100644 --- a/erpnext/accounts/doctype/account/account.json +++ b/erpnext/accounts/doctype/account/account.json @@ -3,6 +3,7 @@ "allow_copy": 1, "allow_import": 1, "creation": "2013-01-30 12:49:46", + "default_view": "Tree", "description": "Heads (or groups) against which Accounting Entries are made and balances are maintained.", "doctype": "DocType", "document_type": "Setup", @@ -191,7 +192,7 @@ "idx": 1, "is_tree": 1, "links": [], - "modified": "2024-08-19 15:19:11.095045", + "modified": "2025-01-22 10:40:35.766017", "modified_by": "Administrator", "module": "Accounts", "name": "Account", diff --git a/erpnext/accounts/doctype/cost_center/cost_center.json b/erpnext/accounts/doctype/cost_center/cost_center.json index 55d4085c823..2cb587cfcac 100644 --- a/erpnext/accounts/doctype/cost_center/cost_center.json +++ b/erpnext/accounts/doctype/cost_center/cost_center.json @@ -3,6 +3,7 @@ "allow_copy": 1, "allow_import": 1, "creation": "2013-01-23 19:57:17", + "default_view": "Tree", "description": "Track separate Income and Expense for product verticals or divisions.", "doctype": "DocType", "document_type": "Setup", @@ -125,7 +126,7 @@ "idx": 1, "is_tree": 1, "links": [], - "modified": "2024-04-24 10:55:54.083042", + "modified": "2025-01-22 10:46:42.904001", "modified_by": "Administrator", "module": "Accounts", "name": "Cost Center", diff --git a/erpnext/assets/doctype/location/location.json b/erpnext/assets/doctype/location/location.json index 9202fb9d95f..cb899d99b17 100644 --- a/erpnext/assets/doctype/location/location.json +++ b/erpnext/assets/doctype/location/location.json @@ -4,6 +4,7 @@ "allow_rename": 1, "autoname": "field:location_name", "creation": "2018-05-07 12:49:22.595974", + "default_view": "Tree", "doctype": "DocType", "editable_grid": 1, "engine": "InnoDB", @@ -142,7 +143,11 @@ ], "is_tree": 1, "links": [], +<<<<<<< HEAD "modified": "2023-08-29 12:49:33.290527", +======= + "modified": "2025-01-22 10:47:32.581537", +>>>>>>> 5207917993 (feat: set default view as tree-view (#45365)) "modified_by": "Administrator", "module": "Assets", "name": "Location", diff --git a/erpnext/setup/doctype/customer_group/customer_group.json b/erpnext/setup/doctype/customer_group/customer_group.json index 4c36bc77abe..0d350e672e6 100644 --- a/erpnext/setup/doctype/customer_group/customer_group.json +++ b/erpnext/setup/doctype/customer_group/customer_group.json @@ -4,6 +4,7 @@ "allow_rename": 1, "autoname": "field:customer_group_name", "creation": "2013-01-10 16:34:23", + "default_view": "Tree", "doctype": "DocType", "document_type": "Setup", "engine": "InnoDB", @@ -139,7 +140,11 @@ "idx": 1, "is_tree": 1, "links": [], +<<<<<<< HEAD "modified": "2023-06-02 13:40:34.435822", +======= + "modified": "2025-01-22 10:48:10.186637", +>>>>>>> 5207917993 (feat: set default view as tree-view (#45365)) "modified_by": "Administrator", "module": "Setup", "name": "Customer Group", diff --git a/erpnext/setup/doctype/item_group/item_group.json b/erpnext/setup/doctype/item_group/item_group.json index 7c9233fa1f3..bec44a723c1 100644 --- a/erpnext/setup/doctype/item_group/item_group.json +++ b/erpnext/setup/doctype/item_group/item_group.json @@ -4,6 +4,7 @@ "allow_rename": 1, "autoname": "field:item_group_name", "creation": "2013-03-28 10:35:29", + "default_view": "Tree", "description": "An Item Group is a way to classify items based on types.", "doctype": "DocType", "document_type": "Setup", @@ -135,7 +136,11 @@ "is_tree": 1, "links": [], "max_attachments": 3, +<<<<<<< HEAD "modified": "2024-01-30 14:08:38.485616", +======= + "modified": "2025-01-22 10:46:09.450137", +>>>>>>> 5207917993 (feat: set default view as tree-view (#45365)) "modified_by": "Administrator", "module": "Setup", "name": "Item Group", diff --git a/erpnext/setup/doctype/supplier_group/supplier_group.json b/erpnext/setup/doctype/supplier_group/supplier_group.json index b3ed608cd03..9337761aafd 100644 --- a/erpnext/setup/doctype/supplier_group/supplier_group.json +++ b/erpnext/setup/doctype/supplier_group/supplier_group.json @@ -4,6 +4,7 @@ "allow_rename": 1, "autoname": "field:supplier_group_name", "creation": "2013-01-10 16:34:24", + "default_view": "Tree", "doctype": "DocType", "document_type": "Setup", "engine": "InnoDB", @@ -107,7 +108,11 @@ "idx": 1, "is_tree": 1, "links": [], +<<<<<<< HEAD "modified": "2022-12-24 11:16:12.486719", +======= + "modified": "2025-01-22 10:49:27.066443", +>>>>>>> 5207917993 (feat: set default view as tree-view (#45365)) "modified_by": "Administrator", "module": "Setup", "name": "Supplier Group", diff --git a/erpnext/stock/doctype/warehouse/warehouse.json b/erpnext/stock/doctype/warehouse/warehouse.json index f2d157b0ae4..996e30277aa 100644 --- a/erpnext/stock/doctype/warehouse/warehouse.json +++ b/erpnext/stock/doctype/warehouse/warehouse.json @@ -2,6 +2,7 @@ "actions": [], "allow_import": 1, "creation": "2023-05-29 13:02:17.121296", + "default_view": "Tree", "description": "A logical Warehouse against which stock entries are made.", "doctype": "DocType", "document_type": "Setup", @@ -263,7 +264,7 @@ "idx": 1, "is_tree": 1, "links": [], - "modified": "2024-08-14 16:08:15.733597", + "modified": "2025-01-22 10:47:00.674163", "modified_by": "Administrator", "module": "Stock", "name": "Warehouse", @@ -321,4 +322,4 @@ "sort_order": "DESC", "states": [], "track_changes": 1 -} +} \ No newline at end of file diff --git a/erpnext/stock/doctype/warehouse/warehouse.py b/erpnext/stock/doctype/warehouse/warehouse.py index aa9dfd2048e..722af256377 100644 --- a/erpnext/stock/doctype/warehouse/warehouse.py +++ b/erpnext/stock/doctype/warehouse/warehouse.py @@ -29,6 +29,7 @@ class Warehouse(NestedSet): disabled: DF.Check email_id: DF.Data | None is_group: DF.Check + is_rejected_warehouse: DF.Check lft: DF.Int mobile_no: DF.Data | None old_parent: DF.Link | None