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

I see that in the website module each visitor has their own IDs. Can we obtain that id from the request using things like  request.env['website.visitor']?
Thanks in advanced

アバター
破棄
最善の回答

In odoo v16:

request.env['website.visitor']._get_visitor_from_request()


アバター
破棄
関連投稿 返信 ビュー 活動
2
8月 25
583
5
8月 25
10066
2
7月 25
1087
4
6月 25
1242
1
6月 25
1570