From e13c3ad048c48f69587d96e5c34019ffd26b183e Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Wed, 18 May 2016 01:46:23 +0530 Subject: [PATCH] [fix] [patch] homepage --- erpnext/patches/v7_0/update_home_page.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/patches/v7_0/update_home_page.py b/erpnext/patches/v7_0/update_home_page.py index 04521639bb..25f814b1af 100644 --- a/erpnext/patches/v7_0/update_home_page.py +++ b/erpnext/patches/v7_0/update_home_page.py @@ -2,7 +2,7 @@ import frappe import erpnext def execute(): - frappe.reload_doctype('Homepage') + frappe.reload_doc('portal', 'doctype', 'homepage') website_settings = frappe.get_doc('Website Settings', 'Website Settings') if frappe.db.exists('Web Page', website_settings.home_page):