콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
4666 화면

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

아바타
취소
관련 게시물 답글 화면 활동
3
9월 25
2161
Login Website 해결 완료
3
10월 25
149265
1
9월 25
1341
4
9월 25
6071
2
8월 25
1355