Hi everyone I’m with a issue. There’s a custom button of erpnext and I want edit him.
That’s the button

if I use cur_frm.custom_button but I cannot find him because there’s a space in the name. I want edit his class.
Thanks for advance.
Hi everyone I’m with a issue. There’s a custom button of erpnext and I want edit him.
That’s the button

if I use cur_frm.custom_button but I cannot find him because there’s a space in the name. I want edit his class.
Thanks for advance.
What is the use case?
Hi @saurabh6790, is just change the size of the button and his class.
@Thiago_Henry
cur_frm.custom_buttons[“Make Timesheet”]
Thank you @ashish-greycube but doens’t work.
It’s I’ve already tried and work but just in the event onload_post _render but no problem @ashish-greycube, I guess that you can close. Thank you for help.