How to auto click a button once when the doc is new?


How to triggered the button Generate Payables once if the document is created in new frm.doc.__islocal == 1 ?

1 Like

@SinChan4896 Assuming you want to create some backend entry using this button, why you are not using after_insert or onload to do the same.