Adding custom menu item in menu button

Hii,
We had to add bulk submit option in Sales Invoice.
We did the following:

I cant find documentation for this, but I read this in erpnext code.
Hope it helps.

5 Likes