[setup] remove sample data commit, fix namespace
This commit is contained in:
parent
79f8784772
commit
b61d091f4c
@ -701,7 +701,7 @@ def get_children(doctype, parent, company, is_root=False):
|
|||||||
return acc
|
return acc
|
||||||
|
|
||||||
def create_payment_gateway_account(gateway):
|
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")
|
company = frappe.db.get_value("Global Defaults", None, "default_company")
|
||||||
if not company:
|
if not company:
|
||||||
|
@ -31,8 +31,6 @@ def make_sample_data(domains, make_dependent = False):
|
|||||||
make_projects(domains)
|
make_projects(domains)
|
||||||
import_email_alert()
|
import_email_alert()
|
||||||
|
|
||||||
frappe.db.commit()
|
|
||||||
|
|
||||||
def make_opportunity(items, customer):
|
def make_opportunity(items, customer):
|
||||||
b = frappe.get_doc({
|
b = frappe.get_doc({
|
||||||
"doctype": "Opportunity",
|
"doctype": "Opportunity",
|
||||||
|
Loading…
Reference in New Issue
Block a user