Merge pull request #12157 from pratu16x7/setup-fixes

[setup] remove sample data commit, fix namespace
This commit is contained in:
Prateeksha Singh 2017-12-25 12:31:23 +05:30 committed by GitHub
commit 293c700c08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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",