fix: reload doc on generation of text file
This commit is contained in:
parent
c68ee1fcc6
commit
cd59263736
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user