How to get the code of posting the invoice from "VendEditInvoice" form?

Hi guys! I need get the code of posting the invoice from “VendEditInvoice” form. Method “click” of posting button have nothing almost. Help me please!

The MenuItemProperty of the button is set to VendEditInvoicePostDropDialog (it’s then called by super() in clicked() method). The menu item points to VendEditInvoicePostDropDialog form which, at the end, calls postInvoice() method of the VendEditInvoice form.

More thanks!

Please mark the answer as verified solution if it is. The whole thread is then displayed as answered (therefore people trying to help can skip it) and the answer is highlighted (therefore people looking for answers can easily find it).

(Moderators can do that too, if it’s obvious that a reply solved the problem, but they can’t do everything.)