Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
1148 Vistas

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
Mejor respuesta

In odoo v16:

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


Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
ago 25
572
5
ago 25
10066
2
jul 25
1087
4
jun 25
1241
1
jun 25
1568