[setup] remove sample data commit, fix namespace

This commit is contained in:
Prateeksha Singh 2017-12-25 12:30:35 +05:30
parent 79f8784772
commit b61d091f4c
2 changed files with 1 additions and 3 deletions

View File

@ -701,7 +701,7 @@ def get_children(doctype, parent, company, is_root=False):
return acc
def create_payment_gateway_account(gateway):
from erpnext.setup.setup_wizard.setup_wizard import create_bank_account
from erpnext.setup.setup_wizard.operations.company_setup import create_bank_account
company = frappe.db.get_value("Global Defaults", None, "default_company")
if not company:

View File

@ -31,8 +31,6 @@ def make_sample_data(domains, make_dependent = False):
make_projects(domains)
import_email_alert()
frappe.db.commit()
def make_opportunity(items, customer):
b = frappe.get_doc({
"doctype": "Opportunity",