Skip to Content
Menu
This question has been flagged
1 Odpoveď
1132 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
2
aug 25
481
5
aug 25
9984
2
júl 25
1031
4
jún 25
1178
1
jún 25
1489