k452
1
Hello,
I want to hide the Audit Trail of a custom Doctype.
Track Changes of the Doctype is already disabled.
Audit Trail of the Doctype looks like this:
Is there something like a Client Script to hide the Audit Trail or what do i have to do to hide/delete it?
NCP
2
Hi @k452,
Please apply custom/client scipt for it.
frappe.ui.form.on("DocType", {
refresh: function (frm) {
$('.timeline-items').hide();
}
});
Set your doctype in script.
Then reload (Ctrl + Shift + R) and check it.
Thank You!
1 Like
k452
3
Hi @NCP,
Thank you very much.
I could not find a solution for this by myself, you really helped me
Hello,
I want to enable
Then show timeline. What is the opposite syntax of .hide()?