From dec02340e89d1b01f9734359f1673aa190d21b91 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Tue, 20 May 2014 16:58:16 +0530 Subject: [PATCH] reload account doc in root type patch --- erpnext/patches/v4_0/update_account_root_type.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: