fix: import taxjar globally in the taxjar_integration module

This commit is contained in:
Sagar Vora 2020-11-29 20:26:26 +05:30
parent 31ac7d982a
commit 38e4635a10

View File

@ -1,5 +1,7 @@
import traceback
import taxjar
import frappe
from erpnext import get_default_company
from frappe import _
@ -29,7 +31,6 @@ def get_client():
def create_transaction(doc, method):
import taxjar
"""Create an order transaction in TaxJar"""
if not TAXJAR_CREATE_TRANSACTIONS: