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:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
1
回复
7173
查看
Hello Gleb,
In Js you can get the current url by window.location.
Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
1
5月 25
|
754 | ||
|
0
11月 24
|
1413 | ||
|
0
3月 24
|
1393 | ||
|
1
2月 22
|
8465 | ||
|
1
3月 20
|
4679 |