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
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
5
août 25
|
9744 | ||
Carrusel en sitios web
Résolu
|
|
2
juil. 25
|
907 | |
How to launch my website
Résolu
|
|
4
juin 25
|
1023 | |
|
1
juin 25
|
1336 | ||
|
1
mai 25
|
1286 |