From 32357af1cdf871c3e929b7f4a9db03d73d400840 Mon Sep 17 00:00:00 2001 From: Charles-Henri Decultot Date: Sun, 17 Dec 2023 13:49:12 +0100 Subject: [PATCH 1/2] fix: Inverted field labels --- .../accounts/doctype/bank_transaction/bank_transaction.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/erpnext/accounts/doctype/bank_transaction/bank_transaction.json b/erpnext/accounts/doctype/bank_transaction/bank_transaction.json index 119dab4ceac..164d767de09 100644 --- a/erpnext/accounts/doctype/bank_transaction/bank_transaction.json +++ b/erpnext/accounts/doctype/bank_transaction/bank_transaction.json @@ -107,13 +107,13 @@ "fieldname": "debit", "fieldtype": "Currency", "in_list_view": 1, - "label": "Deposit" + "label": "Withdrawal" }, { "fieldname": "credit", "fieldtype": "Currency", "in_list_view": 1, - "label": "Withdrawal" + "label": "Deposit" }, { "fieldname": "column_break_7", @@ -299,7 +299,7 @@ ], "is_submittable": 1, "links": [], - "modified": "2023-12-11 10:20:42.555879", + "modified": "2023-12-12 10:20:42.555879", "modified_by": "Administrator", "module": "Accounts", "name": "Bank Transaction", -- GitLab From 917fc797bcd3e8e36d1733c913ce2fe1e8c5a745 Mon Sep 17 00:00:00 2001 From: Charles-Henri Decultot Date: Sun, 17 Dec 2023 13:52:33 +0100 Subject: [PATCH 2/2] fix: Add button to bank reconciliation dashboard on list --- .../doctype/bank_transaction/bank_transaction_list.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/erpnext/accounts/doctype/bank_transaction/bank_transaction_list.js b/erpnext/accounts/doctype/bank_transaction/bank_transaction_list.js index 049943124c0..938e4a75c97 100644 --- a/erpnext/accounts/doctype/bank_transaction/bank_transaction_list.js +++ b/erpnext/accounts/doctype/bank_transaction/bank_transaction_list.js @@ -33,6 +33,10 @@ frappe.listview_settings['Bank Transaction'] = { list_view.page.add_menu_item(__("Upload a csv/xlsx statement"), function() { new erpnext.accounts.bankTransactionUpload('csv'); }); + + list_view.page.add_button(__("Bank Reconciliation"), function() { + frappe.set_route("bank-reconciliation"); + }); }); }, on_update: function(list_view) { -- GitLab