This is my code:
<form action="/ViewOrder" method="post" data-success_page="/thanks" class="s_website_form form-horizontal container-fluid mt32" >
<input type="hidden" name="custmr" t-att-value="custmr" />
<input type="hidden" name="records" t-att-value="records" />
<button class="btn btn-primary" name="order" t-att-href="'/web#return_label=Website&model=sale.order&id=%s&view_type=form' % (order_id)">View Order</button>
</form>
the order_id , I just returned it's value from the controller.
expected output: it will go to the order form
current output : it just refresh
I would really appreciate your help. Thank you.