Reloaded account doctype in UAE Vat patch

This commit is contained in:
Nabin Hait 2017-12-25 15:02:37 +05:30
parent 92615901a7
commit c65279b584

View File

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