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
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
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
Rekisteröidy| Aiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
|---|---|---|---|---|
|
1
kesäk. 26
|
151 | |||
|
3
kesäk. 26
|
837 | |||
|
4
huhtik. 26
|
2413 | |||
|
0
huhtik. 26
|
1906 | |||
|
0
helmik. 26
|
2319 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.