I wrote a module that adds a mass action for creating invoices and shipments from the invoice. This gets done by calling the URL ./sales_order/finishorder (calls the finish_order function.
After finishing creating the invoices and shipments I wanted to redirect to pdfinvoices to directly print the PDFs for the orders. I tried this using
$this->_redirect('*/*/pdfinvoices');
or
$this->_redirect('*/*/*/pdfinvoices');
but neither will work: The first one just leads back to the order grid, the second one displays a blank page.
I think the second one is correct but the required POST parameters are missing. Is there a way to redirect them to sales_order/pdfinvoices?