Fix v8 to v10 migration issue (#12177)

This commit is contained in:
Fahim Ali Zain TP 2017-12-27 14:44:54 +03:00 committed by Nabin Hait
parent ff2fb653be
commit 5f7cedb206

View File

@ -7,6 +7,8 @@ from erpnext.setup.doctype.company.company import install_country_fixtures
def execute():
frappe.reload_doc("accounts", "doctype", "account")
frappe.reload_doc("hub_node", "doctype", "hub_category")
frappe.reload_doc("accounts", "doctype", "payment_schedule")
for d in frappe.get_all('Company',
filters={'country': ('in', ['Saudi Arabia', 'United Arab Emirates'])}):
install_country_fixtures(d.name)