[fix] [patch] homepage

This commit is contained in:
Anand Doshi 2016-05-18 01:46:23 +05:30
parent a09285122f
commit e13c3ad048

View File

@ -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):