I was wondering how to add a ‘next’ button at the bottom of the invoices edit view but when I put the button code in edit view it appears at the top.
How would I go about adding the button in but specifically to the invoices module and not every module (i.e. the main views in include).
You add the buttons to custom/modules/AOS_Invoices/metadata/editviewdefs.php Specifically in the buttons array.
There is no way to stop it showing at the top and bottom without editing the tpl files which I suggest you don’t do.
There are lots of threads on the sugarcrm forum on how to add custom buttons.