feat: set default view as tree-view (#45365)

feat: set default view as treeview
This commit is contained in:
Ejaaz Khan
2025-01-22 16:18:31 +05:30
committed by GitHub
parent 84d379914c
commit 5207917993
8 changed files with 16 additions and 8 deletions

View File

@@ -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",
@@ -194,7 +195,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",

View File

@@ -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",

View File

@@ -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,7 @@
],
"is_tree": 1,
"links": [],
"modified": "2024-03-27 13:10:02.572355",
"modified": "2025-01-22 10:47:32.581537",
"modified_by": "Administrator",
"module": "Assets",
"name": "Location",

View File

@@ -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,7 @@
"idx": 1,
"is_tree": 1,
"links": [],
"modified": "2024-08-16 19:21:41.880111",
"modified": "2025-01-22 10:48:10.186637",
"modified_by": "Administrator",
"module": "Setup",
"name": "Customer Group",

View File

@@ -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,7 @@
"is_tree": 1,
"links": [],
"max_attachments": 3,
"modified": "2024-08-16 19:20:36.401913",
"modified": "2025-01-22 10:46:09.450137",
"modified_by": "Administrator",
"module": "Setup",
"name": "Item Group",

View File

@@ -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,7 @@
"idx": 1,
"is_tree": 1,
"links": [],
"modified": "2024-08-16 19:22:02.022181",
"modified": "2025-01-22 10:49:27.066443",
"modified_by": "Administrator",
"module": "Setup",
"name": "Supplier Group",

View File

@@ -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
}
}

View File

@@ -32,6 +32,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