diff --git a/erpnext/patches/v4_0/update_account_root_type.py b/erpnext/patches/v4_0/update_account_root_type.py index 1ec68a7d9b3..c8a2e1f9cba 100644 --- a/erpnext/patches/v4_0/update_account_root_type.py +++ b/erpnext/patches/v4_0/update_account_root_type.py @@ -5,7 +5,7 @@ from __future__ import unicode_literals import frappe def execute(): - frappe.reoad_doc("accounts", "doctype", "account") + frappe.reload_doc("accounts", "doctype", "account") account_table_columns = frappe.db.get_table_columns("Account") if "debit_or_credit" in account_table_columns and "is_pl_account" in account_table_columns: