Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
1398 มุมมอง

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()


อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
3
ก.ย. 25
2142
Login Website แก้ไขแล้ว
3
ต.ค. 25
149265
1
ก.ย. 25
1296
Can't delete website แก้ไขแล้ว
4
ก.ย. 25
6028
2
ส.ค. 25
1317