fix: rename field has not updated value of deposit and withdrawal fields

This commit is contained in:
Rohit Waghchaure 2021-05-01 17:56:40 +05:30
parent 1fd1e2bb60
commit 2fb573781d

View File

@ -22,5 +22,7 @@ def execute():
frappe.delete_doc("Page", "bank-reconciliation", force=1)
frappe.reload_doc('accounts', 'doctype', 'bank_transaction')
rename_field("Bank Transaction", "debit", "deposit")
rename_field("Bank Transaction", "credit", "withdrawal")