Skip to content

Commit

Permalink
fix: correct categorisation of is_export and fetching taxes accordingly
Browse files Browse the repository at this point in the history
  • Loading branch information
vorasmit committed Dec 12, 2024
1 parent 6265581 commit 5f1850c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion india_compliance/gst_india/overrides/transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -1031,7 +1031,12 @@ def get_gst_details(party_details, doctype, company, *, update_place_of_supply=F
== party_details.get(party_gstin_field)
) # Internal transfer
)
or (is_sales_transaction and is_export_without_payment_of_gst(party_details))
or (
is_sales_transaction
and is_export_without_payment_of_gst(
frappe._dict({**party_details, "doctype": doctype})
)
)
or (
not is_sales_transaction
and (
Expand Down

0 comments on commit 5f1850c

Please sign in to comment.