From 40ce33dff18cb4d63a4211c68c87cb12ebcad3d6 Mon Sep 17 00:00:00 2001 From: Ankush Menat Date: Mon, 29 May 2023 13:00:44 +0530 Subject: [PATCH] fix: warehouse form cleanup - organize fields - group transit fields and move them lower - enable/disable should be button - hide pointless fields from listview --- .../stock/doctype/warehouse/warehouse.json | 22 ++++++++++++++----- 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/erpnext/stock/doctype/warehouse/warehouse.json b/erpnext/stock/doctype/warehouse/warehouse.json index c695d541bf..8505cf663f 100644 --- a/erpnext/stock/doctype/warehouse/warehouse.json +++ b/erpnext/stock/doctype/warehouse/warehouse.json @@ -8,16 +8,14 @@ "engine": "InnoDB", "field_order": [ "warehouse_detail", + "disabled", "warehouse_name", "column_break_3", - "warehouse_type", - "parent_warehouse", - "default_in_transit_warehouse", "is_group", + "parent_warehouse", "column_break_4", "account", "company", - "disabled", "address_and_contact", "address_html", "column_break_10", @@ -32,6 +30,10 @@ "city", "state", "pin", + "transit_section", + "warehouse_type", + "column_break_qajx", + "default_in_transit_warehouse", "tree_details", "lft", "rgt", @@ -238,13 +240,22 @@ "fieldtype": "Link", "label": "Default In-Transit Warehouse", "options": "Warehouse" + }, + { + "fieldname": "transit_section", + "fieldtype": "Section Break", + "label": "Transit" + }, + { + "fieldname": "column_break_qajx", + "fieldtype": "Column Break" } ], "icon": "fa fa-building", "idx": 1, "is_tree": 1, "links": [], - "modified": "2022-03-01 02:37:48.034944", + "modified": "2023-05-29 12:59:48.371803", "modified_by": "Administrator", "module": "Stock", "name": "Warehouse", @@ -261,7 +272,6 @@ "read": 1, "report": 1, "role": "Item Manager", - "set_user_permissions": 1, "share": 1, "write": 1 },