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
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
1
Trả lời
6376
Lượt xem
Hello Gleb,
In Js you can get the current url by window.location.
Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
0
thg 11 24
|
599 | ||
|
0
thg 3 24
|
771 | ||
change URL of default module
Đã xử lý
|
|
1
thg 2 22
|
7622 | |
|
1
thg 3 20
|
3968 | ||
|
0
thg 3 15
|
3939 |