commit | 02f76dc0f940be6fe0e509508053d347a33deb0d | [log] [tgz] |
---|---|---|
author | Rushabh Mehta <rmehta@gmail.com> | Mon May 16 11:46:29 2016 +0530 |
committer | Rushabh Mehta <rmehta@gmail.com> | Mon May 16 11:46:29 2016 +0530 |
tree | 12f5bef7c773d6d44dd422a47670b89e75b59f4e | |
parent | f1bdae449656b69a5e772a31831fb68e3f0e5de8 [diff] |
[patch] [fix]
diff --git a/erpnext/patches/v7_0/update_home_page.py b/erpnext/patches/v7_0/update_home_page.py index f526ce6..2cb6b40 100644 --- a/erpnext/patches/v7_0/update_home_page.py +++ b/erpnext/patches/v7_0/update_home_page.py
@@ -2,7 +2,7 @@ import erpnext def execute(): - frappe.db.reload_doctype('Homepage') + frappe.reload_doctype('Homepage') website_settings = frappe.get_doc('Website Settings', 'Website Settings') if frappe.db.exists('Web Page', website_settings.home_page):