fix: patch

This commit is contained in:
Deepesh Garg 2020-06-28 18:53:55 +05:30
parent a4b9fc74aa
commit eca2c1cd93

View File

@ -5,6 +5,7 @@ from erpnext.regional.united_states.setup import make_custom_fields
def execute():
frappe.reload_doc('accounts', 'doctype', 'allowed_to_transact_with', force=True)
frappe.reload_doc('accounts', 'doctype', 'pricing_rule_detail', force=True)
company = frappe.get_all('Company', filters = {'country': 'United States'})
if not company: