2020-04-06 11:02:33 +00:00
|
|
|
# Copyright (c) 2018, Frappe and Contributors
|
|
|
|
# License: GNU General Public License v3. See license.txt
|
|
|
|
|
2021-09-02 11:14:59 +00:00
|
|
|
|
2020-04-06 11:02:33 +00:00
|
|
|
import frappe
|
|
|
|
|
2021-09-02 11:14:59 +00:00
|
|
|
|
2020-04-06 11:02:33 +00:00
|
|
|
def execute():
|
2020-04-20 06:49:27 +00:00
|
|
|
if frappe.db.table_exists("Bank Reconciliation"):
|
2022-03-28 13:22:46 +00:00
|
|
|
frappe.rename_doc("DocType", "Bank Reconciliation", "Bank Clearance", force=True)
|
|
|
|
frappe.reload_doc("Accounts", "doctype", "Bank Clearance")
|
2020-05-28 13:02:16 +00:00
|
|
|
|
2022-03-28 13:22:46 +00:00
|
|
|
frappe.rename_doc("DocType", "Bank Reconciliation Detail", "Bank Clearance Detail", force=True)
|
|
|
|
frappe.reload_doc("Accounts", "doctype", "Bank Clearance Detail")
|