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
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อRelated Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
---|---|---|---|---|
|
5
ส.ค. 25
|
9826 | ||
Carrusel en sitios web
แก้ไขแล้ว
|
|
2
ก.ค. 25
|
956 | |
How to launch my website
แก้ไขแล้ว
|
|
4
มิ.ย. 25
|
1084 | |
|
1
มิ.ย. 25
|
1412 | ||
|
1
พ.ค. 25
|
1336 |