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
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký| Bài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
|---|---|---|---|---|
|
3
thg 9 25
|
2505 | |||
|
Login Website
Đã xử lý
|
3
thg 10 25
|
149265 | ||
|
1
thg 9 25
|
1840 | |||
|
Can't delete website
Đã xử lý
|
4
thg 9 25
|
6653 | ||
|
2
thg 8 25
|
1913 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.