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
Відповісти
7143
Переглядів
Hello Gleb,
In Js you can get the current url by window.location.
Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
РеєстраціяRelated Posts | Відповіді | Переглядів | Дія | |
---|---|---|---|---|
System redirect to a wrong url
Вирішено
|
|
1
трав. 25
|
739 | |
|
0
лист. 24
|
1388 | ||
|
0
бер. 24
|
1385 | ||
change URL of default module
Вирішено
|
|
1
лют. 22
|
8436 | |
|
1
бер. 20
|
4662 |