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
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj się| Powiązane posty | Odpowiedzi | Widoki | Czynność | |
|---|---|---|---|---|
|
3
wrz 25
|
2480 | |||
|
Login Website
Rozwiązane
|
3
paź 25
|
149265 | ||
|
1
wrz 25
|
1815 | |||
|
Can't delete website
Rozwiązane
|
4
wrz 25
|
6633 | ||
|
2
sie 25
|
1869 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.