import fix

This commit is contained in:
Zlash65 2018-10-01 10:47:29 +05:30
parent 523f77e82b
commit e895845ae1

View File

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