For sent invoices it should be possible to display the sent invoice pdf (exactly as stored in uploads/archives) rather than regenerating it everytime you wan to look at it …
This avoids problems when templates are changed like when you upgrade to 1.5.2. It allows for invoiceplane to be the system of record for the sent invoices rather than a separate directory outside the application.