[fix] [patch] homepage
This commit is contained in:
parent
a09285122f
commit
e13c3ad048
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user