feat: add refdoc button to error log
This commit is contained in:
parent
9a809f1f29
commit
6e2e6e7d0b
1 changed files with 3 additions and 0 deletions
|
|
@ -12,6 +12,9 @@ frappe.ui.form.on("Error Log", {
|
|||
reference_name: frm.doc.reference_name,
|
||||
});
|
||||
});
|
||||
frm.add_custom_button(__(frm.doc.reference_name), function () {
|
||||
frappe.set_route("Form", frm.doc.reference_doctype, frm.doc.reference_name);
|
||||
});
|
||||
}
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue