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
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
RekisteröidyAiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
---|---|---|---|---|
|
5
elok. 25
|
9772 | ||
Carrusel en sitios web
Ratkaistu
|
|
2
heinäk. 25
|
940 | |
How to launch my website
Ratkaistu
|
|
4
kesäk. 25
|
1056 | |
|
1
kesäk. 25
|
1354 | ||
|
1
toukok. 25
|
1305 |