Merge pull request #51165 from nabinhait/bank-clearance-ux

fix: update button was getting frozen after validation
This commit is contained in:
ruthra kumar
2025-12-30 10:09:01 +05:30
committed by GitHub
2 changed files with 9 additions and 6 deletions

View File

@@ -125,7 +125,7 @@ class BankClearance(Document):
) )
msg += "</ul>" msg += "</ul>"
frappe.throw(_(msg)) msgprint(_(msg))
return return
if not entries_to_update: if not entries_to_update:

View File

@@ -30,8 +30,7 @@
"label": "Payment Entry", "label": "Payment Entry",
"oldfieldname": "voucher_id", "oldfieldname": "voucher_id",
"oldfieldtype": "Link", "oldfieldtype": "Link",
"options": "payment_document", "options": "payment_document"
"width": "50"
}, },
{ {
"columns": 2, "columns": 2,
@@ -69,7 +68,7 @@
"read_only": 1 "read_only": 1
}, },
{ {
"columns": 2, "columns": 1,
"fieldname": "cheque_number", "fieldname": "cheque_number",
"fieldtype": "Data", "fieldtype": "Data",
"in_list_view": 1, "in_list_view": 1,
@@ -79,8 +78,10 @@
"read_only": 1 "read_only": 1
}, },
{ {
"columns": 2,
"fieldname": "cheque_date", "fieldname": "cheque_date",
"fieldtype": "Date", "fieldtype": "Date",
"in_list_view": 1,
"label": "Cheque Date", "label": "Cheque Date",
"oldfieldname": "cheque_date", "oldfieldname": "cheque_date",
"oldfieldtype": "Date", "oldfieldtype": "Date",
@@ -96,16 +97,18 @@
"oldfieldtype": "Date" "oldfieldtype": "Date"
} }
], ],
"grid_page_length": 50,
"idx": 1, "idx": 1,
"istable": 1, "istable": 1,
"links": [], "links": [],
"modified": "2024-03-27 13:06:37.609319", "modified": "2025-12-17 14:33:45.913311",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Bank Clearance Detail", "name": "Bank Clearance Detail",
"owner": "Administrator", "owner": "Administrator",
"permissions": [], "permissions": [],
"quick_entry": 1, "quick_entry": 1,
"row_format": "Dynamic",
"sort_field": "creation", "sort_field": "creation",
"sort_order": "ASC", "sort_order": "ASC",
"states": [] "states": []