Skip to content

Commit

Permalink
fix: commented out line_items for taxjar (frappe#1538)
Browse files Browse the repository at this point in the history
  • Loading branch information
vishdha authored Aug 25, 2021
1 parent 647facb commit dd96f06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions erpnext/erpnext_integrations/taxjar_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def get_tax_data(doc):
to_shipping_state = get_iso_3166_2_state_code(to_address)

line_items = get_line_items(doc)

#warning: we are comenting line_items for now. once discount approach stable will enable line_items.
tax_dict = {
'from_country': from_country_code,
'from_zip': from_address.pincode,
Expand All @@ -127,7 +127,7 @@ def get_tax_data(doc):
'to_state': to_shipping_state,
'shipping': shipping,
'amount': doc.net_total,
'line_items': line_items,
#'line_items': line_items,
'plugin': '[bloomstack]'
}

Expand Down

0 comments on commit dd96f06

Please sign in to comment.