From 62acc4aeb57a6e1a754fb71d7aa26653788c1be0 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Wed, 17 Dec 2025 14:36:40 +0530 Subject: [PATCH] fix: update button was getting freezed after validation --- .../doctype/bank_clearance/bank_clearance.py | 2 +- .../bank_clearance_detail.json | 13 ++++++++----- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/erpnext/accounts/doctype/bank_clearance/bank_clearance.py b/erpnext/accounts/doctype/bank_clearance/bank_clearance.py index 1d96c979d1d..ede6b113eeb 100644 --- a/erpnext/accounts/doctype/bank_clearance/bank_clearance.py +++ b/erpnext/accounts/doctype/bank_clearance/bank_clearance.py @@ -125,7 +125,7 @@ class BankClearance(Document): ) msg += "" - frappe.throw(_(msg)) + msgprint(_(msg)) return if not entries_to_update: diff --git a/erpnext/accounts/doctype/bank_clearance_detail/bank_clearance_detail.json b/erpnext/accounts/doctype/bank_clearance_detail/bank_clearance_detail.json index 194c16d807f..9e98bfd2443 100644 --- a/erpnext/accounts/doctype/bank_clearance_detail/bank_clearance_detail.json +++ b/erpnext/accounts/doctype/bank_clearance_detail/bank_clearance_detail.json @@ -30,8 +30,7 @@ "label": "Payment Entry", "oldfieldname": "voucher_id", "oldfieldtype": "Link", - "options": "payment_document", - "width": "50" + "options": "payment_document" }, { "columns": 2, @@ -69,7 +68,7 @@ "read_only": 1 }, { - "columns": 2, + "columns": 1, "fieldname": "cheque_number", "fieldtype": "Data", "in_list_view": 1, @@ -79,8 +78,10 @@ "read_only": 1 }, { + "columns": 2, "fieldname": "cheque_date", "fieldtype": "Date", + "in_list_view": 1, "label": "Cheque Date", "oldfieldname": "cheque_date", "oldfieldtype": "Date", @@ -96,17 +97,19 @@ "oldfieldtype": "Date" } ], + "grid_page_length": 50, "idx": 1, "istable": 1, "links": [], - "modified": "2024-03-27 13:06:37.609319", + "modified": "2025-12-17 14:33:45.913311", "modified_by": "Administrator", "module": "Accounts", "name": "Bank Clearance Detail", "owner": "Administrator", "permissions": [], "quick_entry": 1, + "row_format": "Dynamic", "sort_field": "creation", "sort_order": "ASC", "states": [] -} \ No newline at end of file +}