call post company fixture after setting up company
diff --git a/erpnext/setup/setup_wizard/setup_wizard.py b/erpnext/setup/setup_wizard/setup_wizard.py
index d6491a8..101b6aa 100644
--- a/erpnext/setup/setup_wizard/setup_wizard.py
+++ b/erpnext/setup/setup_wizard/setup_wizard.py
@@ -56,6 +56,11 @@
'fail_msg': 'Failed to set defaults',
'tasks': [
{
+ 'fn': setup_post_company_fixtures,
+ 'args': args,
+ 'fail_msg': _("Failed to setup post company fixtures")
+ },
+ {
'fn': stage_three,
'args': args,
'fail_msg': _("Failed to set defaults")
@@ -92,6 +97,7 @@
stage_fixtures(args)
setup_company(args)
setup_taxes(args)
+ setup_post_company_fixtures(args)
stage_three(args)
stage_four(args)
fin(args)
@@ -108,6 +114,9 @@
def setup_taxes(args):
taxes_setup.create_sales_tax(args)
+def setup_post_company_fixtures(args):
+ install_fixtures.install_post_company_fixtures(args.get("company_name"))
+
def stage_three(args):
defaults_setup.create_employee_for_self(args)
defaults_setup.set_default_settings(args)