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
Создайте аккаунт сегодня, чтобы получить доступ к эксклюзивным функциям и стать частью нашего замечательного сообщества!
Регистрация| Похожие посты | Ответы | Просмотры | Активность | |
|---|---|---|---|---|
|
1
июн. 26
|
72 | |||
|
3
июн. 26
|
769 | |||
|
4
апр. 26
|
2386 | |||
|
0
апр. 26
|
1880 | |||
|
0
февр. 26
|
2301 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.