commit | cd59263736ba97107b2ace55a369553ab378b25b | [log] [tgz] |
---|---|---|
author | Mangesh-Khairnar <mkhairnar10@gmail.com> | Tue May 14 18:34:14 2019 +0530 |
committer | Mangesh-Khairnar <mkhairnar10@gmail.com> | Tue May 14 18:34:14 2019 +0530 |
tree | df11f0d72307cba72db9f51a8f81ef08fc58c193 | |
parent | c68ee1fcc63c1111cb7de4ba431f537065b4422a [diff] |
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;