From 1844fcf760b683c3fa372dca6c12f5ca3fa487d7 Mon Sep 17 00:00:00 2001 From: Smit Vora Date: Wed, 11 Dec 2024 10:33:09 +0530 Subject: [PATCH] fix: correct categorisation of is_export and fetching taxes accordingly --- india_compliance/gst_india/overrides/transaction.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/india_compliance/gst_india/overrides/transaction.py b/india_compliance/gst_india/overrides/transaction.py index 3d0016f1d4..c13663ff51 100644 --- a/india_compliance/gst_india/overrides/transaction.py +++ b/india_compliance/gst_india/overrides/transaction.py @@ -956,7 +956,12 @@ def get_gst_details(party_details, doctype, company, *, update_place_of_supply=F # Taxes Not Applicable if ( (destination_gstin and destination_gstin == source_gstin) # 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 (