fix: Update RCM only for indian countries
diff --git a/erpnext/regional/india/utils.py b/erpnext/regional/india/utils.py
index 24bb137..7d10892 100644
--- a/erpnext/regional/india/utils.py
+++ b/erpnext/regional/india/utils.py
@@ -668,6 +668,11 @@
return gst_accounts
def update_grand_total_for_rcm(doc, method):
+ country = frappe.get_cached_value('Company', doc.company, 'country')
+
+ if country != 'India':
+ return
+
if doc.reverse_charge == 'Y':
gst_accounts = get_gst_accounts(doc.company)
gst_account_list = gst_accounts.get('cgst_account') + gst_accounts.get('sgst_account') \