Hide Audit Trail


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?

Hi @k452,

Please apply custom/client scipt for it.

frappe.ui.form.on("DocType", {
  refresh: function (frm) {

Set your doctype in script.
Then reload (Ctrl + Shift + R) and check it.

Thank You!

1 Like

Hi @NCP,

Thank you very much.
I could not find a solution for this by myself, you really helped me


I want to enable image
Then show timeline. What is the opposite syntax of .hide()?