Skip to content

Commit

Permalink
Update erpnext/erpnext_integrations/taxjar_integration.py
Browse files Browse the repository at this point in the history
Co-authored-by: Deepesh Garg <42651287+deepeshgarg007@users.noreply.github.com>
  • Loading branch information
nemesis189 and deepeshgarg007 authored Sep 16, 2021
1 parent 3bb60a4 commit 0e52731
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/erpnext_integrations/taxjar_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def get_tax_data(doc):

shipping = sum([tax.tax_amount for tax in doc.taxes if tax.account_head == SHIP_ACCOUNT_HEAD])

line_items = [get_line_item_dict(item,doc.docstatus) for item in doc.items]
line_items = [get_line_item_dict(item, doc.docstatus) for item in doc.items]

if from_shipping_state not in SUPPORTED_STATE_CODES:
from_shipping_state = get_state_code(from_address, 'Company')
Expand Down

0 comments on commit 0e52731

Please sign in to comment.