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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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.
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
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj się| Powiązane posty | Odpowiedzi | Widoki | Czynność | |
|---|---|---|---|---|
|
System redirect to a wrong url
Rozwiązane
|
|
1
maj 25
|
1404 | |
|
|
0
lis 24
|
2043 | ||
|
|
0
mar 24
|
1896 | ||
|
|
1
gru 23
|
7947 | ||
|
change URL of default module
Rozwiązane
|
|
1
lut 22
|
9122 |