How to hide the comment and activity in every module, I don’t want to show these two in every module
How to do this, plz guide me…
Thanks in advance…
Thanks in advance…
If you are comfortable with Client Script, then add this to the doctype to which you want to hide the comment and timeline. I am not sure if there is a site wide setting to disable it for all the doctypes. Below code hides comment box as well as timeline for Customer Doctype.
frappe.ui.form.on('Customer', {
refresh(frm) {
if (frm.timeline && frm.timeline.wrapper) {
frm.timeline.wrapper.hide();
frm.comment_box.comment_wrapper.hide()
}
}
})
How to do for all Modules to hide the Comments and Activity