Hi
i am using Odoo 12 an i need to check if user is logged in or not in website side ( not web side )
is there a way to do this?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi
i am using Odoo 12 an i need to check if user is logged in or not in website side ( not web side )
is there a way to do this?
Hi,
If you are inside the controller, you can check like this:
if request.session.uid:
Thanks
Yes That was it.
Thank You <3
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
RegistrarsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
3
sept 25
|
2131 | ||
Login Website
Resuelto
|
|
3
oct 25
|
149265 | |
|
1
sept 25
|
1288 | ||
Can't delete website
Resuelto
|
|
4
sept 25
|
6001 | |
|
2
ago 25
|
1306 |