fix: add doctypes for modules
This commit is contained in:
@@ -7,6 +7,7 @@ import frappe
|
||||
from frappe import _
|
||||
|
||||
from .operations import install_fixtures as fixtures, company_setup, sample_data
|
||||
from erpnext.setup.setup_wizard.operations.install_fixtures import setup_global_search
|
||||
|
||||
def get_setup_stages(args=None):
|
||||
if frappe.db.sql("select name from tabCompany"):
|
||||
@@ -65,7 +66,12 @@ def get_setup_stages(args=None):
|
||||
'fn': stage_four,
|
||||
'args': args,
|
||||
'fail_msg': _("Failed to create website")
|
||||
}
|
||||
},
|
||||
{
|
||||
'fn': set_active_domains,
|
||||
'args': args,
|
||||
'fail_msg': _("Failed to add Domain")
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -128,3 +134,7 @@ def setup_complete(args=None):
|
||||
setup_defaults(args)
|
||||
stage_four(args)
|
||||
fin(args)
|
||||
|
||||
def set_active_domains(args):
|
||||
domain_settings = frappe.get_single('Domain Settings')
|
||||
domain_settings.set_active_domains(args.get('domains'))
|
||||
Reference in New Issue
Block a user