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
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيل| المنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
|---|---|---|---|---|
|
3
سبتمبر 25
|
2486 | |||
|
Login Website
تم الحل
|
3
أكتوبر 25
|
149265 | ||
|
1
سبتمبر 25
|
1819 | |||
|
Can't delete website
تم الحل
|
4
سبتمبر 25
|
6635 | ||
|
2
أغسطس 25
|
1877 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.