Merge pull request #24027 from resilient-tech/fix-taxjar

fix: import taxjar globally in the taxjar_integration module
This commit is contained in:
Deepesh Garg 2020-11-30 11:23:32 +05:30 committed by GitHub
commit 8db507bfd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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: