From e895845ae11160369ca1a1c3b257b311fdc00584 Mon Sep 17 00:00:00 2001 From: Zlash65 Date: Mon, 1 Oct 2018 10:47:29 +0530 Subject: [PATCH] import fix --- erpnext/demo/demo.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/erpnext/demo/demo.py b/erpnext/demo/demo.py index f765469499..8cafd402f7 100644 --- a/erpnext/demo/demo.py +++ b/erpnext/demo/demo.py @@ -3,7 +3,8 @@ from __future__ import unicode_literals import frappe, sys import erpnext import frappe.utils -from erpnext.demo.user import hr, sales, purchase, manufacturing, stock, accounts, projects, fixed_asset, education +from erpnext.demo.user import hr, sales, purchase, manufacturing, stock, accounts, projects, fixed_asset +from erpnext.demo.user import education as edu from erpnext.demo.setup import education, manufacture, setup_data, healthcare """ Make a demo @@ -83,7 +84,7 @@ def simulate(domain='Manufacturing', days=100): sales.work() manufacturing.work() elif domain=='Education': - education.work() + edu.work() except: frappe.db.set_global('demo_last_date', current_date)