コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
4667 ビュー

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
2162
Login Website 解決済
3
10月 25
149265
1
9月 25
1343
4
9月 25
6073
2
8月 25
1356