Skip to Content
Menu
This question has been flagged
2 Replies
4679 Rodiniai

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?


Portretas
Atmesti
Best Answer

Hi,

If you are inside the controller, you can check like this:

if request.session.uid:

Thanks

Portretas
Atmesti
Autorius Best Answer

Yes That was it.

Thank You <3

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
3
rugs. 25
2170
3
spal. 25
149265
1
rugs. 25
1353
4
rugs. 25
6088
2
rugp. 25
1376