How to hide this start Timer and Resume timer in timesheet Doc

Screenshot from 2024-03-05 18-01-42
Screenshot from 2024-03-05 18-03-30

Hi @neha,

Please apply the client script for the timesheet.

frappe.ui.form.on('Timesheet', {
    refresh(frm) {
        setTimeout(() => {
            frm.remove_custom_button('Start Timer');
            frm.remove_custom_button('Resume Timer');
        }, 10);
    }
});

Then reload and check it.

Thank You!

1 Like