mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-17 17:26:43 +00:00
fix: reload doc on generation of text file
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user