install company fixtures while creating company (#10904)

* install company fixtures while creating company

* [fix] remove from setup_complete
This commit is contained in:
Prateeksha Singh
2017-09-27 11:44:39 +05:30
committed by Nabin Hait
parent 9aff73d156
commit 946e182564
3 changed files with 1 additions and 10 deletions

View File

@@ -66,10 +66,6 @@ def setup_complete(args=None):
pass
def setup_success(args=None):
company = frappe.db.sql("select name from tabCompany", as_dict=True)[0]["name"]
install_country_fixtures(company)
def create_fiscal_year_and_company(args):
if (args.get('fy_start_date')):
curr_fiscal_year = get_fy_details(args.get('fy_start_date'), args.get('fy_end_date'))