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

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 ตอบกลับ มุมมอง กิจกรรม
1
ก.ย. 25
229
Can't delete website แก้ไขแล้ว
5
ส.ค. 25
4807
2
ส.ค. 25
1489
2
ส.ค. 25
719
5
ส.ค. 25
10184