In js and in python, it will return the previous url all time, but when I display this in the console, I can look at the current address stored in the class. How do I get the current page address, or is it a security restriction?
Python
http.request.httprequest
JS
window.location.href
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- 会計
- 在庫
- PoS
- Project
- MRP
この質問にフラグが付けられました
1
返信
7177
ビュー
Hello Gleb,
In Js you can get the current url by window.location.
Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari
関連投稿 | 返信 | ビュー | 活動 | |
---|---|---|---|---|
|
1
5月 25
|
756 | ||
|
0
11月 24
|
1416 | ||
|
0
3月 24
|
1395 | ||
|
1
2月 22
|
8468 | ||
|
1
3月 20
|
4683 |