Skip to Content
Menú
This question has been flagged
1 Respondre
3273 Vistes

Hello,

i want current page url from Odoo. because, I want't to send that link in Email.

Email Coding is Custom. Not Use Template.


How can i get current url.So, i send  link to Other User. they can login and page directly open.            

Avatar
Descartar
Best Answer

Use Javascript  for this purpose 

window.location.href

And also try using python

from openerp import http
# BASE URL
print http.request.env['ir.config_parameter'].get_param('web.base.url')
print http.request.httprequest

print http.request.httprequest.full_path



Avatar
Descartar
Related Posts Respostes Vistes Activitat
1
de maig 25
1349
0
de nov. 24
1962
0
de març 24
1831
1
de des. 23
7854
1
de febr. 22
9039