From daac7c589b7030f1d61299dd52d4b8fcbc0985af Mon Sep 17 00:00:00 2001 From: Bhavan23 Date: Tue, 15 Jul 2025 13:23:23 +0530 Subject: [PATCH] fix(sales-order): disallow address edits after sales order is submitted --- erpnext/selling/doctype/sales_order/sales_order.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/erpnext/selling/doctype/sales_order/sales_order.json b/erpnext/selling/doctype/sales_order/sales_order.json index 0279a56a41f..a5402c48eaa 100644 --- a/erpnext/selling/doctype/sales_order/sales_order.json +++ b/erpnext/selling/doctype/sales_order/sales_order.json @@ -349,7 +349,6 @@ "options": "fa fa-bullhorn" }, { - "allow_on_submit": 1, "fieldname": "customer_address", "fieldtype": "Link", "hide_days": 1, @@ -430,7 +429,6 @@ "width": "50%" }, { - "allow_on_submit": 1, "fieldname": "shipping_address_name", "fieldtype": "Link", "hide_days": 1, @@ -1767,4 +1765,4 @@ "title_field": "customer_name", "track_changes": 1, "track_seen": 1 -} \ No newline at end of file +}