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
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
1
Responder
7900
Vistas
Hello Gleb,
In Js you can get the current url by window.location.
Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
Registrarse| Publicaciones relacionadas | Respuestas | Vistas | Actividad | |
|---|---|---|---|---|
|
System redirect to a wrong url
Resuelto
|
|
1
may 25
|
1384 | |
|
|
0
nov 24
|
1997 | ||
|
|
0
mar 24
|
1864 | ||
|
change URL of default module
Resuelto
|
|
1
feb 22
|
9081 | |
|
|
1
mar 20
|
5221 |