fix: reload doc on generation of text file

This commit is contained in:
Mangesh-Khairnar 2019-05-14 18:34:14 +05:30
parent c68ee1fcc6
commit cd59263736

View File

@ -15,7 +15,7 @@ frappe.ui.form.on('Payment Order', {
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;