Skip to Content
Menú
This question has been flagged
1 Respondre
1197 Vistes

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
Descartar
Best Answer

In odoo v16:

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


Avatar
Descartar
Related Posts Respostes Vistes Activitat
1
de set. 25
262
5
d’ag. 25
4854
2
d’ag. 25
1530
2
d’ag. 25
754
5
d’ag. 25
10216