fix: reload doc on generation of text file
diff --git a/erpnext/accounts/doctype/payment_order/regional/india.js b/erpnext/accounts/doctype/payment_order/regional/india.js
index 87d9cdc..8300f74 100644
--- a/erpnext/accounts/doctype/payment_order/regional/india.js
+++ b/erpnext/accounts/doctype/payment_order/regional/india.js
@@ -15,7 +15,7 @@
 			freeze: true,
 			callback: function(r) {
 				{
-					frm.refresh();
+					frm.reload_doc();
 					const a = document.createElement('a');
 					let file_obj = r.message;
 					a.href = file_obj.file_url;