I need to get current URL on button click in website. From this URL, i want to retrieve an id, so i used this code to get the URL.
"request.httprequest.url", using this code i get an id only on "Get" method, but for a "POST" method i didn't get id.
can anyone help me to resolve this..
by using get httprequest you can do this: https://learnopenerp.blogspot.com/2020/07/get-web-httprequest-in-odoo.html