brotherton-erpnext/erpnext/patches/v12_0/add_taxjar_integration_field.py

13 lines
264 B
Python
Raw Normal View History

2020-03-24 06:01:41 +00:00
from __future__ import unicode_literals
import frappe
from erpnext.regional.united_states.setup import make_custom_fields
def execute():
company = frappe.get_all('Company', filters={'country': 'United States'})
if not company:
return
make_custom_fields()