fix invoice_email_pdf_msgnum template inclusion, #41502, from #21654