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
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อ| Related Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
|---|---|---|---|---|
|
3
มิ.ย. 26
|
693 | |||
|
4
เม.ย. 26
|
2366 | |||
|
0
เม.ย. 26
|
1851 | |||
|
0
ก.พ. 26
|
2286 | |||
|
0
ก.พ. 26
|
4 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.