fix: import taxjar globally in the taxjar_integration module
This commit is contained in:
parent
31ac7d982a
commit
38e4635a10
@ -1,5 +1,7 @@
|
|||||||
import traceback
|
import traceback
|
||||||
|
|
||||||
|
import taxjar
|
||||||
|
|
||||||
import frappe
|
import frappe
|
||||||
from erpnext import get_default_company
|
from erpnext import get_default_company
|
||||||
from frappe import _
|
from frappe import _
|
||||||
@ -29,7 +31,6 @@ def get_client():
|
|||||||
|
|
||||||
|
|
||||||
def create_transaction(doc, method):
|
def create_transaction(doc, method):
|
||||||
import taxjar
|
|
||||||
"""Create an order transaction in TaxJar"""
|
"""Create an order transaction in TaxJar"""
|
||||||
|
|
||||||
if not TAXJAR_CREATE_TRANSACTIONS:
|
if not TAXJAR_CREATE_TRANSACTIONS:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user