Skip to Content
Menu
This question has been flagged
1 Odpoveď
1356 Zobrazenia

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

Avatar
Zrušiť
Best Answer

In odoo v16:

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


Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
3
sep 25
2074
3
sep 25
148875
1
sep 25
1160
4
sep 25
5883
2
aug 25
1249