brotherton-erpnext/erpnext/patches/4_0/remove_module_home_pages.py
2014-03-03 15:06:34 +05:30

10 lines
395 B
Python

# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
import frappe
def execute():
for page in ("accounts-home", "website-home", "support-home", "stock-home", "selling-home", "projects-home",
"manufacturing-home", "hr-home", "buying-home"):
frappe.delete_doc("Page", page)