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
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
Daftar| Post Terkait | Replies | Tampilan | Aktivitas | |
|---|---|---|---|---|
|
System redirect to a wrong url
Diselesaikan
|
1
Mei 25
|
1684 | ||
|
0
Nov 24
|
2413 | |||
|
0
Mar 24
|
2132 | |||
|
[Solved] How can I get current url, not previous ?
Diselesaikan
|
1
Des 23
|
8178 | ||
|
change URL of default module
Diselesaikan
|
1
Feb 22
|
9365 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.