Did you find where to change this? I've been searching through templates and can't seem to find the right location. I did find that skin1/mail/html/order_data.tpl is the place to change the link on the printable invoice and the one that is sent via email. However, it doesn't change the invoice that shows up in the orders history area.