You should visit >Settings>Layout and turn on "Show button View invoice " .
You need PHP code to change url. This code depends on plugin which you use to generate invoices
//code for WooCommerce PDF Invoices & Packing Slips add_filter('wpo_view_invoice_url', function ($invoice_url, $order_id) { return wp_nonce_url( admin_url( "admin-ajax.php? action=generate_wpo_wcpdf&document_type=invoice&order_ids=" . $order_id ), 'generate_wpo_wcpdf' ); }, 10, 2);
// code for plugin "Booster Plus" add_filter('wpo_view_invoice_url', function ($invoice_url, $order_id) { return add_query_arg( array('order_id' => $order_id, 'invoice_type_id' => 'invoice', 'get_invoice' => '1'), get_home_url() ); }, 10, 2);