How to get current url in python odoo10?
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..