my controller is pretty simple,
code:
@http.route('/booking_success',type='http', auth='public',website=True)
def handler_booking_success(self,**kwargs):
values={}
print(kwargs)
_logger.info(str(kwargs))
return request.render("dym_customer_booking.booking_success", values)
form action :
<form role="form" action="/booking_success" method="POST" class="s_website_form container-fluid mt32" enctype="multipart/form-data">
but after submit button the route in log become
POST /booking_successundefined HTTP/1.0" 404
Hope this will heps:
1- https://learnopenerp.blogspot.com/2018/08/odoo-web-controller.html
2- https://learnopenerp.blogspot.com/2018/06/odoo-get-web-form-template-value-in-controller.html
Hi please did you solve your problem. I am facing the same issue
Is this resolved?