fix(rename_bank_reconcilliation): do not delete doc after renaming (#22014)
This commit is contained in:
parent
354baf0c5e
commit
a0f061abd9
@ -8,9 +8,6 @@ def execute():
|
||||
if frappe.db.table_exists("Bank Reconciliation"):
|
||||
frappe.rename_doc('DocType', 'Bank Reconciliation', 'Bank Clearance', force=True)
|
||||
frappe.reload_doc('Accounts', 'doctype', 'Bank Clearance')
|
||||
|
||||
|
||||
frappe.rename_doc('DocType', 'Bank Reconciliation Detail', 'Bank Clearance Detail', force=True)
|
||||
frappe.reload_doc('Accounts', 'doctype', 'Bank Clearance Detail')
|
||||
|
||||
frappe.delete_doc("DocType", "Bank Reconciliation")
|
||||
frappe.delete_doc("DocType", "Bank Reconciliation Detail")
|
||||
|
Loading…
Reference in New Issue
Block a user