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
Create an account today to enjoy exclusive features and engage with our awesome community!
Přihlásit seRelated Posts | Odpovědi | Zobrazení | Aktivita | |
---|---|---|---|---|
|
1
zář 25
|
246 | ||
Can't delete website
Vyřešeno
|
|
5
srp 25
|
4837 | |
|
2
srp 25
|
1511 | ||
|
2
srp 25
|
738 | ||
|
5
srp 25
|
10206 |